[Fai-commit] r3788 - trunk/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Thu Aug 24 14:21:36 UTC 2006


Author: lange
Date: 2006-08-24 14:21:36 +0000 (Thu, 24 Aug 2006)
New Revision: 3788

Modified:
   trunk/lib/updatebase
Log:
do some command also when doing dirinst


Modified: trunk/lib/updatebase
===================================================================
--- trunk/lib/updatebase	2006-08-24 14:19:56 UTC (rev 3787)
+++ trunk/lib/updatebase	2006-08-24 14:21:36 UTC (rev 3788)
@@ -1,7 +1,7 @@
 #! /bin/bash
 
 # TODO: execute this when doing dirinst
-if [ "$FAI_ACTION" = "install" ]; then
+if [ "$FAI_ACTION" = "install" -o "$FAI_ACTION" = "dirinst" ]; 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




More information about the Fai-commit mailing list