[Fai-commit] r4725 - trunk/bin

lange at alioth.debian.org lange at alioth.debian.org
Mon Nov 12 17:10:58 UTC 2007


Author: lange
Date: 2007-11-12 17:10:58 +0000 (Mon, 12 Nov 2007)
New Revision: 4725

Modified:
   trunk/bin/make-fai-nfsroot
Log:
fix path


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2007-11-12 16:34:44 UTC (rev 4724)
+++ trunk/bin/make-fai-nfsroot	2007-11-12 17:10:58 UTC (rev 4725)
@@ -52,7 +52,7 @@
 
     # simple test, to see if important thing are available inside the nfsroot
     [ -d $NFSROOT/usr/share/live-initramfs ] || die "live-initramfs is not installed."
-    local files=$(ls /boot/initrd* 2>/dev/null)
+    local files=$(ls $NFSROOT/boot/initrd* 2>/dev/null)
     [ -z "$files" ] && die "No initrd installed."
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -




More information about the Fai-commit mailing list