[Fai-commit] r3532 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Thu Jul 6 16:01:23 UTC 2006


Author: lange
Date: 2006-07-06 16:01:23 +0000 (Thu, 06 Jul 2006)
New Revision: 3532

Modified:
   trunk/bin/make-fai-nfsroot
Log:
print the version of debootstrap


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2006-07-06 16:00:35 UTC (rev 3531)
+++ trunk/bin/make-fai-nfsroot	2006-07-06 16:01:23 UTC (rev 3532)
@@ -200,7 +200,8 @@
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 call_debootstrap() {
     
-    echo "Creating base system for $1 using debootstrap."
+    local dversion=$(dpkg -l debootstrap | grep debootstrap | cut -f7 -d' ')
+    echo "Creating base system for $1 using debootstrap version $dversion."
     [ "$verbose" ] && echo "Calling debootstrap $1 $NFSROOT $2"
     yes '' | LC_ALL=C call_verbose debootstrap $FAI_DEBOOTSTRAP_OPTS $1 $NFSROOT $2
 }




More information about the Fai-commit mailing list