[Lunar-commits] r25643 - moonbase/trunk/utils/grub/plugin.d
Samuel Verstraete
elangelo at lunar-linux.org
Tue Aug 28 19:33:24 CEST 2007
Author: elangelo
Date: 2007-08-28 19:33:24 +0200 (Tue, 28 Aug 2007)
New Revision: 25643
Modified:
moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin
Log:
adding patch to include /proc/cmdline in grub for new kernels
gr,S.
Modified: moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin
===================================================================
--- moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin 2007-08-28 16:19:42 UTC (rev 25642)
+++ moonbase/trunk/utils/grub/plugin.d/bootloader-grub.plugin 2007-08-28 17:33:24 UTC (rev 25643)
@@ -85,14 +85,11 @@
print_grub_image()
{
+ CMDLINE=$(cat /proc/cmdline)
debug_msg "title $2"
- debug_msg "kernel $GRUB_BOOT/$1 root=$(map_grub_to_device "$GRUB_ROOT") ro"
+ debug_msg "kernel $GRUB_BOOT/$1 $CMDLINE"
echo "title $2"
- if echo $1 | grep -q '2.4' ; then
- echo "kernel $GRUB_BOOT/$1 root=$(map_grub_to_device "$GRUB_ROOT") ro devfs=nomount"
- else
- echo "kernel $GRUB_BOOT/$1 root=$(map_grub_to_device "$GRUB_ROOT") ro"
- fi
+ echo "kernel $GRUB_BOOT/$1 $CMDLINE"
echo ""
}
More information about the Lunar-commits
mailing list