[1.6.0 ISO][patch] charmap not defined when loading console font (update)

Auke Kok sofar at foo-projects.org
Tue May 2 04:02:43 UTC 2006


Zbigniew Luszpinski wrote:
> --- bootmisc	2006-03-27 05:24:42.000000000 +0200
> +++ bootmisc	2006-04-14 20:00:25.000000000 +0200
> @@ -10,7 +10,16 @@
>      touch /var/run/utmp /var/run/wtmp
>      [ ! -f /etc/LOCALE ] || . /etc/LOCALE
>      [ ! -f /etc/keymap ] || loadkeys $(cat /etc/keymap)
> -    [ ! -f /etc/consolefont ] || consolechars -f $(cat /etc/consolefont)
> +    [ ! -f /etc/consolefont ] && [ ! -f /etc/charmap ] || consolechars -f $(cat /etc/consolefont) -m $(cat /etc/charmap)
>      ;;

it appears that you can run consolechars twice without altering the console's 
other settings, so the patch I will commit will be something like this:

      [ ! -f /etc/consolefont ] || consolechars -f $(cat /etc/consolefont)
+    [ ! -f /etc/charmap ] || consolechars -m $(cat /etc/charmap)
      ;;

I will also have to add an entire menu to the ISO installer, but I may 
actually skip that too for now.

Auke


More information about the Lunar mailing list