[Lunar-commits] <moonbase> grub: changes in the plugin so CMDLINE does not get passed in the iso
Samuel Verstraete
elangelo at lunar-linux.org
Wed Sep 10 10:41:14 CEST 2008
commit c9dddae92d85cf9324b5b1d5eb44f62a0c7a7977
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date: Wed Sep 10 10:41:14 2008 +0200
grub: changes in the plugin so CMDLINE does not get passed in the iso
---
utils/grub/plugin.d/bootloader-grub.plugin | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/utils/grub/plugin.d/bootloader-grub.plugin b/utils/grub/plugin.d/bootloader-grub.plugin
index e49d7e8..94e7c51 100644
--- a/utils/grub/plugin.d/bootloader-grub.plugin
+++ b/utils/grub/plugin.d/bootloader-grub.plugin
@@ -78,13 +78,14 @@ plugin_kernel_updatebootloader_grub()
GRUB_BOOT="/boot"
fi
GRUB_ROOT="($(map_device_to_grub $ROOTPART))"
+ CMDLINE=$(cat /proc/cmdline)
debug_msg "grub: Using GRUB_BOOT=\"$GRUB_BOOT\""
debug_msg "grub: Using GRUB_ROOT=\"$GRUB_ROOT\""
+ debug_msg "grub: Using CMDLINE=\"$CMDLINE\""
fi
print_grub_image()
{
- CMDLINE=$(cat /proc/cmdline)
debug_msg "title $2"
debug_msg "kernel $GRUB_BOOT/$1 $CMDLINE"
echo "title $2"
More information about the Lunar-commits
mailing list