[Fai-commit] r4554 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Thu Sep 6 17:56:16 UTC 2007
Author: lange
Date: 2007-09-06 17:56:16 +0000 (Thu, 06 Sep 2007)
New Revision: 4554
Modified:
trunk/bin/make-fai-nfsroot
Log:
determine the arch inside the nfsroot for defining a class
this help building amd64 nfsroots on i386 and vice versa
Modified: trunk/bin/make-fai-nfsroot
===================================================================
--- trunk/bin/make-fai-nfsroot 2007-09-06 13:31:18 UTC (rev 4553)
+++ trunk/bin/make-fai-nfsroot 2007-09-06 17:56:16 UTC (rev 4554)
@@ -320,7 +320,7 @@
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
add_packages_nfsroot() {
- local iarch=$(dpkg --print-installation-architecture|tr /a-z/ /A-Z/)
+ local iarch=$($ROOTCMD dpkg --print-installation-architecture|tr /a-z/ /A-Z/)
export FAI_ROOT=$NFSROOT
export classes="NFSROOT $iarch"
cat > $NFSROOT/etc/kernel-img.conf << EOF
More information about the Fai-commit
mailing list