[Fai-commit] r3149 - trunk/bin

fai-repository at svn.debian.org fai-repository at svn.debian.org
Mon Dec 5 16:15:07 UTC 2005


Author: lange
Date: 2005-12-05 16:15:06 +0000 (Mon, 05 Dec 2005)
New Revision: 3149

Modified:
   trunk/bin/make-fai-nfsroot
Log:
fail if debootstrap returns with error code (closes: #342120)


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2005-12-05 15:55:18 UTC (rev 3148)
+++ trunk/bin/make-fai-nfsroot	2005-12-05 16:15:06 UTC (rev 3149)
@@ -211,7 +211,7 @@
     
     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
+    yes '' | LC_ALL=C call_verbose debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $NFSROOT $2
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 create_base() {




More information about the Fai-commit mailing list