[Lunar-commits] <moonbase> grub let's have the debug messages when we install from the iso as well

Samuel Verstraete elangelo at lunar-linux.org
Sat Sep 13 16:31:35 CEST 2008


commit cbda30c8ccfbdc12d127d5ec686ccb4e8a1cd61b
Author: Samuel Verstraete <elangelo at lunar-linux.org>
Date:   Sat Sep 13 16:31:35 2008 +0200

    grub let's have the debug messages when we install from the iso as well
---
 utils/grub/plugin.d/bootloader-grub.plugin |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/utils/grub/plugin.d/bootloader-grub.plugin b/utils/grub/plugin.d/bootloader-grub.plugin
index 6f30235..b11f68a 100644
--- a/utils/grub/plugin.d/bootloader-grub.plugin
+++ b/utils/grub/plugin.d/bootloader-grub.plugin
@@ -79,14 +79,14 @@ plugin_kernel_updatebootloader_grub()
     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\""
   else
     # when called from the iso we can't use /proc/cmdline so we should 
     # make our own
     CMDLINE="root=$(map_grub_to_device $GRUB_ROOT) ro"
   fi
+  debug_msg "grub: Using GRUB_BOOT=\"$GRUB_BOOT\""
+  debug_msg "grub: Using GRUB_ROOT=\"$GRUB_ROOT\""
+  debug_msg "grub: Using CMDLINE=\"$CMDLINE\""
 
   print_grub_image()
   {


More information about the Lunar-commits mailing list