[Fai-commit] r5486 - in trunk: bin debian

Thomas Lange lange at alioth.debian.org
Fri Jul 24 15:49:40 UTC 2009


Author: lange
Date: 2009-07-24 15:49:38 +0000 (Fri, 24 Jul 2009)
New Revision: 5486

Modified:
   trunk/bin/policy-rc.d.fai
   trunk/debian/changelog
Log:
policy-rc.d.fai: udev not should be started when running
make-fai-nfsroot

Modified: trunk/bin/policy-rc.d.fai
===================================================================
--- trunk/bin/policy-rc.d.fai	2009-07-24 15:28:46 UTC (rev 5485)
+++ trunk/bin/policy-rc.d.fai	2009-07-24 15:49:38 UTC (rev 5486)
@@ -4,7 +4,14 @@
 
 case "$1" in
     udev)
-	exit 0
+	# udev should not be started when make-fai-nfsroot is running
+	# it should be started when install clients are running
+	echo $classes | grep -q NFSROOT
+	if [ $? -eq 0 ]; then
+	    exit 101
+	else
+	    exit 0
+	fi
 	;;
 esac
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2009-07-24 15:28:46 UTC (rev 5485)
+++ trunk/debian/changelog	2009-07-24 15:49:38 UTC (rev 5486)
@@ -54,6 +54,8 @@
     --print-architecture
   * make-fai-nfsroot, DEMO/10-misc,FAIBASE/10-misc: chpasswd does not
     support -e in newer version, replaced by usermod
+  * policy-rc.d.fai: udev not should be started when running
+    make-fai-nfsroot
   
   [ Michael Tautschnig ]
   * setup-storage/Parser.pm: Set the boot flag on partition mounted at /, if




More information about the Fai-commit mailing list