[Fai-commit] r3037 - in trunk: bin debian lib

fai-repository at svn.debian.org fai-repository at svn.debian.org
Thu Nov 10 23:43:25 UTC 2005


Author: lange
Date: 2005-11-10 23:43:24 +0000 (Thu, 10 Nov 2005)
New Revision: 3037

Modified:
   trunk/bin/make-fai-nfsroot
   trunk/debian/changelog
   trunk/lib/create_ramdisk
Log:
add fix for #312128


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2005-11-10 23:39:49 UTC (rev 3036)
+++ trunk/bin/make-fai-nfsroot	2005-11-10 23:43:24 UTC (rev 3037)
@@ -287,7 +287,6 @@
     ln -sf /tmp/etc/resolv.conf etc/resolv.conf
     ln -sf /tmp etc/sysconfig
     ln -s /usr/sbin/fai etc/init.d/rcS
-    ln -sf /dev/null etc/network/ifstate
     # for nis
     [ -d var/yp ] && ln -s /tmp/binding var/yp/binding
 

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-11-10 23:39:49 UTC (rev 3036)
+++ trunk/debian/changelog	2005-11-10 23:43:24 UTC (rev 3037)
@@ -12,8 +12,10 @@
     partially #329547
   * install_packages: ignore packages ending with - when using -d
     (closes: #334333)
+  * lib/create_ramdisk: make /etc/network/run/ifstate writable
+    (closes: #312128) 
 
- -- Thomas Lange <lange at debian.org>  Fri, 11 Nov 2005 00:32:57 +0100
+ -- Thomas Lange <lange at debian.org>  Fri, 11 Nov 2005 00:42:59 +0100
 
 fai (2.8.4) unstable; urgency=high
 

Modified: trunk/lib/create_ramdisk
===================================================================
--- trunk/lib/create_ramdisk	2005-11-10 23:39:49 UTC (rev 3036)
+++ trunk/lib/create_ramdisk	2005-11-10 23:43:24 UTC (rev 3037)
@@ -16,6 +16,7 @@
     mke2fs -q -m 0 $ramdevice && echo "ramdisk $ramdevice created"
     mount -n $ramdevice /tmp
 }
+mount --bind /tmp /dev/shm
 # now create the required subdirectories
-mkdir -p /tmp/etc /tmp/target /tmp/var/run/sshd /tmp/var/run/fai /tmp/var/state/discover /tmp/var/lib/discover
+mkdir -p /tmp/etc /tmp/target /tmp/var/run/sshd /tmp/var/run/fai /tmp/var/state/discover /tmp/var/lib/discover /dev/shm/network
 cd    /tmp/var && mkdir tmp log lock spool




More information about the Fai-commit mailing list