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.
This commit is contained in:
parent
42c71976c6
commit
0f23eb7460
3 changed files with 9 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue