mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
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}.
This commit is contained in:
1 parent
20b976586e
commit
c48f23ef4b
2 files changed
+7
-2
No files matched your search
@@ -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>
|
2007-05-05 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
* conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/gpt.c.
|
* conf/i386-pc.rmk (grub_setup_SOURCES): Add partmap/gpt.c.
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ for linux in /boot/vmlinu[xz]-* /vmlinu[xz]-* ; do
|
|||||||
basedir=`echo $linux | sed -e "s,/[^/]*$,,g"`
|
basedir=`echo $linux | sed -e "s,/[^/]*$,,g"`
|
||||||
cat << EOF
|
cat << EOF
|
||||||
menuentry "${OS}, linux ${version}" {
|
menuentry "${OS}, linux ${version}" {
|
||||||
linux ${linux} root=${GRUB_DEVICE} ro
|
linux ${linux} root=${GRUB_DEVICE} ro ${GRUB_CMDLINE_LINUX}
|
||||||
EOF
|
EOF
|
||||||
if test -e ${basedir}/initrd.img-${version} ; then
|
if test -e ${basedir}/initrd.img-${version} ; then
|
||||||
echo "Found initrd image: ${basedir}/initrd.img-${version}" >&2
|
echo "Found initrd image: ${basedir}/initrd.img-${version}" >&2
|
||||||
@@ -46,7 +46,7 @@ EOF
|
|||||||
EOF
|
EOF
|
||||||
cat << EOF
|
cat << EOF
|
||||||
menuentry "${OS}, linux ${version} (single-user mode)" {
|
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
|
EOF
|
||||||
if test -e ${basedir}/initrd.img-${version} ; then
|
if test -e ${basedir}/initrd.img-${version} ; then
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|||||||
Reference in new issue
Block a user