[Fai-commit] r6344 - trunk/examples/simple/files/boot/grub/menu.lst

Michael Goetze mgoetze-guest at alioth.debian.org
Thu Apr 14 17:42:11 UTC 2011


Author: mgoetze-guest
Date: 2011-04-14 17:42:06 +0000 (Thu, 14 Apr 2011)
New Revision: 6344

Modified:
   trunk/examples/simple/files/boot/grub/menu.lst/postinst
Log:
Use $ROOTCMD grub-install for grub1

Modified: trunk/examples/simple/files/boot/grub/menu.lst/postinst
===================================================================
--- trunk/examples/simple/files/boot/grub/menu.lst/postinst	2011-04-14 15:55:24 UTC (rev 6343)
+++ trunk/examples/simple/files/boot/grub/menu.lst/postinst	2011-04-14 17:42:06 UTC (rev 6344)
@@ -17,7 +17,7 @@
 [ -z "$BOOT_DEVICE" ]    && exit 701
 [ -z "$BOOT_PARTITION" ] && exit 702
 
-grub-install --no-floppy --root-directory=$target $BOOT_DEVICE
+$ROOTCMD grub-install --no-floppy $BOOT_DEVICE
 GROOT=$(device2grub $BOOT_PARTITION)
 perl -pi -e 's/#(\w+)#/$ENV{$1}/g' $2
 $ROOTCMD /usr/sbin/update-grub




More information about the Fai-commit mailing list