[Fai-commit] r3200 - trunk/lib

fai-repository at svn.debian.org fai-repository at svn.debian.org
Thu Jan 5 22:22:44 UTC 2006


Author: lange
Date: 2006-01-05 22:22:42 +0000 (Thu, 05 Jan 2006)
New Revision: 3200

Modified:
   trunk/lib/updatebase
Log:
mount /sys into chroot


Modified: trunk/lib/updatebase
===================================================================
--- trunk/lib/updatebase	2006-01-05 21:56:22 UTC (rev 3199)
+++ trunk/lib/updatebase	2006-01-05 22:22:42 UTC (rev 3200)
@@ -3,6 +3,8 @@
 if [ "$FAI_ACTION" = "install" ]; then
     # some packages must access /proc even in chroot environment
     mount -t proc proc $FAI_ROOT/proc
+    # some packages must access /sys even in chroot environment
+    mount -t sysfs sysfs $FAI_ROOT/sys
     # if we are using udev, also mount it into $FAI_ROOT
     [ -f /etc/init.d/udev ] && mount --bind /dev $FAI_ROOT/dev
     # if libc is upgraded init u is called in chroot environment and




More information about the Fai-commit mailing list