[Fai-commit] r3845 - trunk/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Mon Sep 4 17:09:23 UTC 2006


Author: lange
Date: 2006-09-04 17:09:23 +0000 (Mon, 04 Sep 2006)
New Revision: 3845

Modified:
   trunk/bin/make-fai-nfsroot
Log:
use $cfdir instead of fixed path /etc/fai


Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot	2006-09-04 17:06:42 UTC (rev 3844)
+++ trunk/bin/make-fai-nfsroot	2006-09-04 17:09:23 UTC (rev 3845)
@@ -326,10 +326,10 @@
     local iarch=$(dpkg --print-installation-architecture|tr /a-z/ /A-Z/)
     export FAI_ROOT=$NFSROOT
     export classes="NFSROOT $iarch"
-    install_packages -l -p/etc/fai > $NFSROOT/var/tmp/packages.nfsroot
+    install_packages -l -p$cfdir > $NFSROOT/var/tmp/packages.nfsroot
     echo "Adding additional packages to $NFSROOT:"
     cat $NFSROOT/var/tmp/packages.nfsroot
-    call_verbose install_packages $v -p/etc/fai
+    call_verbose install_packages $v -p$cfdir
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 umount_dirs() {




More information about the Fai-commit mailing list