Replace hint to '--grub' with 'grub'
authorMichael Prokop <mika@grml.org>
Mon, 7 Sep 2009 14:32:56 +0000 (16:32 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 7 Sep 2009 14:32:56 +0000 (16:32 +0200)
debian/changelog
grml2usb

index 5f0a5de..c37561b 100644 (file)
@@ -11,8 +11,9 @@ grml2usb (0.9.10) UNRELEASED; urgency=low
   * Mention the --syslinux option if grub-install fails.
   * Fix usage of --force in combination with --fat16. Thanks to
     Johannes Endres and Reiko Kaps for the bugreport.
   * Mention the --syslinux option if grub-install fails.
   * Fix usage of --force in combination with --fat16. Thanks to
     Johannes Endres and Reiko Kaps for the bugreport.
+  * Replace hint to '--grub' with 'grub'.
 
 
- -- Michael Prokop <mika@grml.org>  Mon, 07 Sep 2009 16:16:16 +0200
+ -- Michael Prokop <mika@grml.org>  Mon, 07 Sep 2009 16:32:33 +0200
 
 grml2usb (0.9.9) unstable; urgency=low
 
 
 grml2usb (0.9.9) unstable; urgency=low
 
index 33d574c..dc1a323 100755 (executable)
--- a/grml2usb
+++ b/grml2usb
@@ -225,7 +225,6 @@ def mkfs_fat16(device):
 
     @device: partition that should be formated"""
 
 
     @device: partition that should be formated"""
 
-    # syslinux -d boot/isolinux /dev/sdb1
     if options.dryrun:
         logging.info("Would execute mkfs.vfat -F 16 %s now.", device)
         return 0
     if options.dryrun:
         logging.info("Would execute mkfs.vfat -F 16 %s now.", device)
         return 0
@@ -666,7 +665,7 @@ def install_syslinux(device):
     proc = subprocess.Popen(["syslinux", "-d", "boot/syslinux", device])
     proc.wait()
     if proc.returncode != 0:
     proc = subprocess.Popen(["syslinux", "-d", "boot/syslinux", device])
     proc.wait()
     if proc.returncode != 0:
-        raise CriticalException("Error executing syslinux (either try --fat16 or --grub?)")
+        raise CriticalException("Error executing syslinux (either try --fat16 or use grub?)")
 
 
 def install_bootloader(device):
 
 
 def install_bootloader(device):