summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-boot/grub/files/grub-1.98-genkernel-initramfs-single.patch')
-rw-r--r--sys-boot/grub/files/grub-1.98-genkernel-initramfs-single.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-boot/grub/files/grub-1.98-genkernel-initramfs-single.patch b/sys-boot/grub/files/grub-1.98-genkernel-initramfs-single.patch
new file mode 100644
index 0000000..a79a3af
--- /dev/null
+++ b/sys-boot/grub/files/grub-1.98-genkernel-initramfs-single.patch
@@ -0,0 +1,11 @@
+--- grub-1.98.orig/util/grub.d/10_linux.in
++++ grub-1.98/util/grub.d/10_linux.in
+@@ -139,7 +139,7 @@ while [ "x$list" != "x" ] ; do
+ "${GRUB_CMDLINE_LINUX} ${GRUB_CMDLINE_LINUX_DEFAULT}"
+ if [ "x${GRUB_DISABLE_LINUX_RECOVERY}" != "xtrue" ]; then
+ linux_entry "${OS}" "${version}" true \
+- "single ${GRUB_CMDLINE_LINUX}"
++ "single init_opts=single ${GRUB_CMDLINE_LINUX}"
+ fi
+
+ list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`