[Fai-commit] r3006 - trunk/scripts

fai-repository at svn.debian.org fai-repository at svn.debian.org
Sat Nov 5 23:56:53 UTC 2005


Author: lange
Date: 2005-11-05 23:56:53 +0000 (Sat, 05 Nov 2005)
New Revision: 3006

Modified:
   trunk/scripts/make-fai-nfsroot
Log:
touch .THIS_IS_THE_FAI_NFSROOT after base.tgz was created


Modified: trunk/scripts/make-fai-nfsroot
===================================================================
--- trunk/scripts/make-fai-nfsroot	2005-11-05 14:55:58 UTC (rev 3005)
+++ trunk/scripts/make-fai-nfsroot	2005-11-05 23:56:53 UTC (rev 3006)
@@ -211,7 +211,6 @@
     echo "Creating nfsroot for $1 using debootstrap"
     [ "$verbose" ] && echo "Calling debootstrap $1 $NFSROOT $2"
     yes '' | LC_ALL=C call_verbose debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $NFSROOT $2 || true
-    touch $NFSROOT/.THIS_IS_THE_FAI_NFSROOT
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 create_base() {
@@ -222,6 +221,7 @@
 	rm -f $NFSROOT/etc/resolv.conf
         echo "Creating base.tgz"
         tar -l -C $NFSROOT -cf - --exclude var/tmp/base.tgz . | gzip > $NFSROOT/var/tmp/base.tgz
+	touch $NFSROOT/.THIS_IS_THE_FAI_NFSROOT
     else
 	die "\$FAI_DEBOOTSTRAP not defined."
     fi




More information about the Fai-commit mailing list