[Fai-commit] r5662 - in trunk: debian examples/simple/package_config examples/simple/scripts examples/simple/scripts/GRUB_PC

Thomas Lange lange at alioth.debian.org
Sun Nov 15 14:55:00 UTC 2009


Author: lange
Date: 2009-11-15 14:54:59 +0000 (Sun, 15 Nov 2009)
New Revision: 5662

Added:
   trunk/examples/simple/scripts/GRUB_PC/
   trunk/examples/simple/scripts/GRUB_PC/10-setup
Modified:
   trunk/debian/changelog
   trunk/examples/simple/package_config/DEFAULT
Log:
add class GRUB_PC

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-11-14 00:28:02 UTC (rev 5661)
+++ trunk/debian/changelog	2009-11-15 14:54:59 UTC (rev 5662)
@@ -1,6 +1,7 @@
-fai (3.3.1) unstable; urgency=low
+fai (3.3.1~b2) unstable; urgency=low
 
   [ Thomas Lange ]
+  * add class GRUB_PC
   * doc/Makefile: add target chunked
   * Commands.pm: add ext4 support for tune2fs
   * Fstab: do not fsck swap partitions
@@ -8,7 +9,7 @@
   * upstart-fai.conf: new file for starting fai via upstart
   * fai-nfsroot.dirs, fai-nfsroot.install, Makefile: add upstart files
   
- -- Thomas Lange <lange at debian.org>  Fri, 13 Nov 2009 17:37:07 +0100
+ -- Thomas Lange <lange at debian.org>  Sun, 15 Nov 2009 15:55:06 +0100
 
 fai (3.3) unstable; urgency=low
 

Modified: trunk/examples/simple/package_config/DEFAULT
===================================================================
--- trunk/examples/simple/package_config/DEFAULT	2009-11-14 00:28:02 UTC (rev 5661)
+++ trunk/examples/simple/package_config/DEFAULT	2009-11-15 14:54:59 UTC (rev 5662)
@@ -19,5 +19,8 @@
 PACKAGES aptitude GRUB
 grub lilo-
 
+PACKAGES aptitude GRUB_PC
+grub-pc grub- lilo-
+
 PACKAGES aptitude LILO
 lilo grub-

Added: trunk/examples/simple/scripts/GRUB_PC/10-setup
===================================================================
--- trunk/examples/simple/scripts/GRUB_PC/10-setup	                        (rev 0)
+++ trunk/examples/simple/scripts/GRUB_PC/10-setup	2009-11-15 14:54:59 UTC (rev 5662)
@@ -0,0 +1,9 @@
+#! /bin/bash
+
+error=0 ; trap "error=$((error|1))" ERR
+
+$ROOTCMD grub-mkdevicemap -n -m /boot/grub/device.map
+$ROOTCMD grub-mkconfig -o /boot/grub/grub.cfg
+$ROOTCMD grub-install --no-floppy "(hd0)"
+
+exit $error


Property changes on: trunk/examples/simple/scripts/GRUB_PC/10-setup
___________________________________________________________________
Added: svn:executable
   + *




More information about the Fai-commit mailing list