patch for lucid

Top Page

Reply to this message
Author: Waldemar Brodkorb
Date:  
To: linux-fai-devel
Subject: patch for lucid
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
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