Fix creation and installation of grub1's configuration file
authorMichael Prokop <mika@grml.org>
Tue, 25 Aug 2009 21:29:19 +0000 (23:29 +0200)
committerMichael Prokop <mika@grml.org>
Tue, 25 Aug 2009 21:29:54 +0000 (23:29 +0200)
debian/changelog
grml2usb

index 7848ebc..8cdecfd 100644 (file)
@@ -21,8 +21,10 @@ grml2usb (0.9.9) UNRELEASED; urgency=low
     as default).
   * Improve descriptions of grml's grub2 entries.
   * Bump Standards-Version to 3.8.3 (no further changes).
     as default).
   * Improve descriptions of grml's grub2 entries.
   * Bump Standards-Version to 3.8.3 (no further changes).
+  * Fix creation and installation of grub1's configuration file (menu.lst).
+    Thanks to Mario 'BitKoenig' Holbe.
 
 
- -- Michael Prokop <mika@grml.org>  Tue, 18 Aug 2009 12:26:58 +0200
+ -- Michael Prokop <mika@grml.org>  Tue, 25 Aug 2009 23:28:11 +0200
 
 grml2usb (0.9.8) unstable; urgency=low
 
 
 grml2usb (0.9.8) unstable; urgency=low
 
index e9bfe3d..2a60d47 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -1377,8 +1377,7 @@ def handle_grub_config(grml_flavour, device, target):
         bootopt = options.bootoptions
 
     # write menu.lst
         bootopt = options.bootoptions
 
     # write menu.lst
-    if install_grub1_partition:
-        handle_grub1_config(grml_flavour, install_grub1_partition, grub_target, bootopt)
+    handle_grub1_config(grml_flavour, install_grub1_partition, grub_target, bootopt)
     # write grub.cfg
     handle_grub2_config(grml_flavour, grub_target, bootopt)
 
     # write grub.cfg
     handle_grub2_config(grml_flavour, grub_target, bootopt)