[Fai-commit] r6624 - trunk/bin

Thomas Lange lange at alioth.debian.org
Thu Jul 21 07:58:41 UTC 2011


Author: lange
Date: 2011-07-21 07:58:41 +0000 (Thu, 21 Jul 2011)
New Revision: 6624

Modified:
   trunk/bin/make-fai-nfsroot
Log:
add check for fai packages inside the nfsroot


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2011-07-20 21:45:48 UTC (rev 6623)
+++ trunk/bin/make-fai-nfsroot	2011-07-21 07:58:41 UTC (rev 6624)
@@ -56,7 +56,11 @@
 
     set +e
     # simple test, to see if important thing are available inside the nfsroot
-    [ -x $NFSROOT/usr/share/initramfs-tools/scripts/live ] || die 1 "live-initramfs was not installed inside the nfsroot."
+    [ -x $NFSROOT/usr/share/initramfs-tools/scripts/live ] || die 1 "live-boot was not installed inside the nfsroot."
+
+    echo "FAI packages inside the nfsroot:"
+    $ROOTCMD dpkg -l fai-client  fai-nfsroot fai-setup-storage |grep fai
+
     local files=$(ls $NFSROOT/boot/initrd* 2>/dev/null)
     [ -z "$files" ] && die 1 "No initrd installed."
     egrep -q "^ERROR: |^E: Sub-process |^dpkg: error processing |^dpkg: dependency problems" /var/log/fai/make-fai-nfsroot.log && bad_exit




More information about the Fai-commit mailing list