]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2007-06-01 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Fri, 1 Jun 2007 15:21:20 +0000 (15:21 +0000)
committerrobertmh <robertmh@localhost>
Fri, 1 Jun 2007 15:21:20 +0000 (15:21 +0000)
* util/update-grub.in: Export GRUB_CMDLINE_LINUX.

* util/grub.d/00_header.in: Only enable gfxterm when
convert_system_path_to_grub_path() succeeds.

ChangeLog
util/grub.d/00_header.in
util/update-grub.in

index 8c6064cf8ced64563106054629ccc028bf9adaad..7c45c3f6e3a842728193d9919bac3bc24454abcf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-06-01  Robert Millan  <rmh@aybabtu.com>
+
+       * util/update-grub.in: Export GRUB_CMDLINE_LINUX.
+
+       * util/grub.d/00_header.in: Only enable gfxterm when
+       convert_system_path_to_grub_path() succeeds.
+
 2007-05-20  Robert Millan  <rmh@aybabtu.com>
 
        * util/update-grub_lib.in: New file.
index d4bc6d8eac979a96317dc9bae2ee93b6b71e2f17..ea551d8fb32856de422e04cd9fcf088aec29208a 100644 (file)
@@ -36,8 +36,7 @@ EOF
 # Prefer system path for space reasons (/boot/grub might be a very small
 # partition in case of OpenFirmware, etc).
 for i in /usr/share/grub/unifont.pff /boot/grub/unifont.pff ; do
-  if test -e $i ; then
-    grub_path=`convert_system_path_to_grub_path $i`
+  if test -e $i && grub_path=`convert_system_path_to_grub_path $i` ; then
     cat << EOF
 
 font ${grub_path}
index 31e12b983a334b1e89143ec0e2b240203dd1812c..81d677d83b4676a1cb3e7446fcf01a4afa7ea0da 100644 (file)
@@ -94,7 +94,7 @@ fi
 export GRUB_DEVICE GRUB_FS GRUB_DRIVE GRUB_DRIVE_BOOT GRUB_DRIVE_BOOT_GRUB
 
 # These are optional, user-defined variables.
-export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR
+export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX
 
 exec > ${grub_cfg}.new
 chmod 444 ${grub_cfg}.new