patch for lucid

Waldemar Brodkorb fai at waldemar-brodkorb.de
Mon Feb 1 20:15:00 CET 2010


Hi,

in Ubuntu/Lucid the upstart scripts changed again.
We need to preserve mounted-* scripts, otherwise /dev
while FAI installation is not populated with static
device nodes from /lib/udev/devices. 

The fai installation does not start without this patch.

best regards
        Waldemar
-------------- next part --------------
Index: bin/make-fai-nfsroot
===================================================================
--- bin/make-fai-nfsroot	(revision 5715)
+++ bin/make-fai-nfsroot	(working copy)
@@ -341,7 +341,7 @@
     ln -sf /usr/share/zoneinfo/$timezone etc/localtime
     ln -sf /proc/mounts etc/mtab
     [ -f etc/init/tty1.conf ] || ln -s /usr/sbin/fai etc/init.d/rcS
-    find etc/init ! -type d | egrep -v "fai|udev|hostname|mountall" | xargs -r rm
+    find etc/init ! -type d | egrep -v "fai|udev|hostname|mountall|mounted" | xargs -r rm
 
     rm -f etc/udev/rules.d/70-persistent-net.rules 
     # definition for loopback device


More information about the linux-fai-devel mailing list