]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2007-05-05 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sat, 5 May 2007 10:34:05 +0000 (10:34 +0000)
committerrobertmh <robertmh@localhost>
Sat, 5 May 2007 10:34:05 +0000 (10:34 +0000)
* util/grub.d/10_linux.in: Allow the administrator to insert Linux
command-line arguments via ${GRUB_CMDLINE_LINUX}.

ChangeLog
util/grub.d/10_linux.in

index 4301f741046fafd689cc65e3555ef637bdc8eceb..ee4e743ac53d5f44555eb789f49769c2d0050012 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-05  Robert Millan  <rmh@aybabtu.com>
+
+       * util/grub.d/10_linux.in: Allow the administrator to insert Linux
+       command-line arguments via ${GRUB_CMDLINE_LINUX}.
+
 2007-05-05  Robert Millan  <rmh@aybabtu.com>
 
        * conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/gpt.c.
index 97c70d1d00af9701f34dc3fa11649b7c984e4fb5..1d7d4157552573a3b683a6a1217e081cf45e0d1d 100644 (file)
@@ -33,7 +33,7 @@ for linux in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
   basedir=`echo $linux | sed -e "s,/[^/]*$,,g"`
   cat << EOF
 menuentry "${OS}, linux ${version}" {
-       linux   ${linux} root=${GRUB_DEVICE} ro
+       linux   ${linux} root=${GRUB_DEVICE} ro ${GRUB_CMDLINE_LINUX}
 EOF
   if test -e ${basedir}/initrd.img-${version} ; then
     echo "Found initrd image: ${basedir}/initrd.img-${version}" >&2
@@ -46,7 +46,7 @@ EOF
 EOF
   cat << EOF
 menuentry "${OS}, linux ${version} (single-user mode)" {
-       linux   ${linux} root=${GRUB_DEVICE} ro single
+       linux   ${linux} root=${GRUB_DEVICE} ro single ${GRUB_CMDLINE_LINUX}
 EOF
   if test -e ${basedir}/initrd.img-${version} ; then
     cat << EOF