[Fai-commit] r5455 - in trunk: debian examples/simple/files/boot/grub/menu.lst

Thomas Lange lange at alioth.debian.org
Sun Jul 19 17:58:37 UTC 2009


Author: lange
Date: 2009-07-19 17:58:36 +0000 (Sun, 19 Jul 2009)
New Revision: 5455

Modified:
   trunk/debian/changelog
   trunk/examples/simple/files/boot/grub/menu.lst/postinst
Log:
menu.lst/postinst: add /g to perl substitution command

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-07-19 17:54:16 UTC (rev 5454)
+++ trunk/debian/changelog	2009-07-19 17:58:36 UTC (rev 5455)
@@ -28,6 +28,7 @@
   * fai-quickstart.prerm: source make-fai-nfsroot.conf instead of fai.conf
   * fai, fai.8: add option -s/--cspace to specify the config space URL
   * disk_config/*: add nosuid and nodev to some partitions
+  * menu.lst/postinst: add /g to perl substitution command
   
   [ Michael Tautschnig ]
   * setup-storage/Parser.pm: Set the boot flag on partition mounted at /, if

Modified: trunk/examples/simple/files/boot/grub/menu.lst/postinst
===================================================================
--- trunk/examples/simple/files/boot/grub/menu.lst/postinst	2009-07-19 17:54:16 UTC (rev 5454)
+++ trunk/examples/simple/files/boot/grub/menu.lst/postinst	2009-07-19 17:58:36 UTC (rev 5455)
@@ -15,7 +15,7 @@
 
 grub-install --no-floppy --root-directory=$target $BOOT_DEVICE
 GROOT=$(device2grub $BOOT_PARTITION)
-perl -pi -e 's/#(\w+)#/$ENV{$1}/' $2
+perl -pi -e 's/#(\w+)#/$ENV{$1}/g' $2
 $ROOTCMD /usr/sbin/update-grub
 echo "Grub installed on $BOOT_DEVICE on $GROOT"
 




More information about the Fai-commit mailing list