[Fai-commit] r4811 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Sun Dec 2 11:52:39 UTC 2007


Author: lange
Date: 2007-12-02 11:52:38 +0000 (Sun, 02 Dec 2007)
New Revision: 4811

Modified:
   trunk/bin/fai
Log:
mount /proc if not already mounted (apply ubuntu patch)


Modified: trunk/bin/fai
===================================================================
--- trunk/bin/fai	2007-12-01 16:58:38 UTC (rev 4810)
+++ trunk/bin/fai	2007-12-02 11:52:38 UTC (rev 4811)
@@ -249,6 +249,8 @@
     renewclass=1 # always renew class list when installing
     mkdir -p /var/lib/discover /var/discover /etc/sysconfig
 fi
+
+[ -f /proc/version ] || mount -n -t proc proc /proc # ubuntu initrd does not mount /proc
 export start_seconds=$(cut -d . -f 1 /proc/uptime)
 
 if [ X$action = Xdirinstall -a -n "$newhostname" ]; then




More information about the Fai-commit mailing list