Run grub-install using --no-floppy, as requested by gebi
authorMichael Prokop <devnull@localhost>
Thu, 28 Aug 2008 17:36:08 +0000 (19:36 +0200)
committerMichael Prokop <devnull@localhost>
Thu, 28 Aug 2008 17:36:08 +0000 (19:36 +0200)
debian/changelog
grml-debootstrap

index 2d4be92..29eff40 100644 (file)
@@ -27,8 +27,9 @@ grml-debootstrap (0.18) unstable; urgency=low
   * Allow use of comments in file /etc/debootstrap/packages.
   * Replace initrd-tools with initramfs-tools.
   * Run aptitude with --without-recommends option.
   * Allow use of comments in file /etc/debootstrap/packages.
   * Replace initrd-tools with initramfs-tools.
   * Run aptitude with --without-recommends option.
+  * Run grub-install using --no-floppy, as requested by gebi.
 
 
- -- Michael Prokop <mika@grml.org>  Thu, 28 Aug 2008 17:11:55 +0200
+ -- Michael Prokop <mika@grml.org>  Thu, 28 Aug 2008 19:35:48 +0200
 
 grml-debootstrap (0.17) unstable; urgency=low
 
 
 grml-debootstrap (0.17) unstable; urgency=low
 
index e6bfe74..5f2744d 100755 (executable)
@@ -739,13 +739,13 @@ grub_install() {
      for device in $SELECTED_PARTITIONS ; do
         GRUB=$(grubdevice $device)
         einfo "Installing grub on ${GRUB}:"
      for device in $SELECTED_PARTITIONS ; do
         GRUB=$(grubdevice $device)
         einfo "Installing grub on ${GRUB}:"
-        [ -x /usr/sbin/grub-install ] && GRUBINSTALL=/usr/sbin/grub-install || GRUBINSTALL=/sbin/grub-install
+        [ -x /usr/sbin/grub-install ] && GRUBINSTALL=/usr/sbin/grub-install --no-floppy || GRUBINSTALL=/sbin/grub-install
         $GRUBINSTALL --root-directory="$MNTPOINT" "(${GRUB})"
         eend $?
      done
   else
      einfo "Installing grub on ${GRUB}:"
         $GRUBINSTALL --root-directory="$MNTPOINT" "(${GRUB})"
         eend $?
      done
   else
      einfo "Installing grub on ${GRUB}:"
-     [ -x /usr/sbin/grub-install ] && GRUBINSTALL=/usr/sbin/grub-install || GRUBINSTALL=/sbin/grub-install
+     [ -x /usr/sbin/grub-install ] && GRUBINSTALL=/usr/sbin/grub-install --no-floppy || GRUBINSTALL=/sbin/grub-install
      $GRUBINSTALL --root-directory="$MNTPOINT" "(${GRUB})"
      eend $?
   fi
      $GRUBINSTALL --root-directory="$MNTPOINT" "(${GRUB})"
      eend $?
   fi