2008-04-30 Robert Millan <rmh@aybabtu.com>
Based on patch from Fabian Greffrath <greffrath@leat.rub.de> * util/grub.d/10_linux.in: Add ${GRUB_CMDLINE_LINUX_DEFAULT} to the first boot option. * util/update-grub.in: Export GRUB_CMDLINE_LINUX_DEFAULT.
This commit is contained in:
parent
094c01d09c
commit
8124cdb77e
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-04-30 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
Based on patch from Fabian Greffrath <greffrath@leat.rub.de>
|
||||||
|
* util/grub.d/10_linux.in: Add ${GRUB_CMDLINE_LINUX_DEFAULT} to the
|
||||||
|
first boot option.
|
||||||
|
* util/update-grub.in: Export GRUB_CMDLINE_LINUX_DEFAULT.
|
||||||
|
|
||||||
2008-04-29 Robert Millan <rmh@aybabtu.com>
|
2008-04-29 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* docs/grub.cfg: New file (example GRUB configuration).
|
* docs/grub.cfg: New file (example GRUB configuration).
|
||||||
|
|
|
@ -105,7 +105,7 @@ while [ "x$list" != "x" ] ; do
|
||||||
|
|
||||||
cat << EOF
|
cat << EOF
|
||||||
menuentry "${OS}, linux ${version}" {
|
menuentry "${OS}, linux ${version}" {
|
||||||
linux ${grub_dirname}/${basename} root=${GRUB_DEVICE} ro ${GRUB_CMDLINE_LINUX}
|
linux ${grub_dirname}/${basename} root=${GRUB_DEVICE} ro ${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}
|
||||||
EOF
|
EOF
|
||||||
if test -n "${initrd}" ; then
|
if test -n "${initrd}" ; then
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
|
@ -158,7 +158,7 @@ esac
|
||||||
export GRUB_DEVICE GRUB_FS GRUB_DRIVE GRUB_DRIVE_BOOT GRUB_DRIVE_BOOT_GRUB GRUB_FONT_PATH GRUB_PRELOAD_MODULES
|
export GRUB_DEVICE GRUB_FS GRUB_DRIVE GRUB_DRIVE_BOOT GRUB_DRIVE_BOOT_GRUB GRUB_FONT_PATH GRUB_PRELOAD_MODULES
|
||||||
|
|
||||||
# These are optional, user-defined variables.
|
# These are optional, user-defined variables.
|
||||||
export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_TERMINAL GRUB_SERIAL_COMMAND
|
export GRUB_DEFAULT GRUB_TIMEOUT GRUB_DISTRIBUTOR GRUB_CMDLINE_LINUX GRUB_CMDLINE_LINUX_DEFAULT GRUB_TERMINAL GRUB_SERIAL_COMMAND
|
||||||
|
|
||||||
exec > ${grub_cfg}.new
|
exec > ${grub_cfg}.new
|
||||||
chmod 444 ${grub_cfg}.new
|
chmod 444 ${grub_cfg}.new
|
||||||
|
|
Loading…
Reference in a new issue