Package: fai-server Version: 3.1.8 Severity: important Tags: patch
I realize this is probably already fixed in 3.2.X, but for the moment I'm stuck on 3.1.8. I'm running the setup described at http://faiwiki.informatik.uni-koeln.de/index.php/FAI_Cross-architecture, and am running fai-setup -v -C /etc/fai-i386. This fails to run, because when AptPkg is configured in the install_packages script, it is not being fed the APT_CONFIG environment variable. As a result the AptPkg uses the wrong architecture, and cannot install most of the base packages into the i386 chroot environment. The patch I'm attaching is not suggested as the actual fix, it's just to illustrate what I had to do on my system to get it to work. Basically I hacked make-fai-nfsroot to export APT_CONFIG before calling install_packages. -- System Information: Debian Release: 4.0 Architecture: amd64 (x86_64) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-5-amd64 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages fai-server depends on: ii debootstrap 0.3.3.2etch1 Bootstrap a basic Debian system ii fai-client 3.1.8 Fully Automatic Installation clien Versions of packages fai-server recommends: ii dhcp3-server 3.0.4-13 DHCP server for automatic IP addre ii fai-kernels 1.17+etch.23 special kernels for FAI (Fully Aut ii nfs-kernel-server [nfs 1:1.0.10-6+etch.1 Kernel NFS server support pn rsh-server <none> (no description available) ii syslinux 1:3.31-4 Bootloader for Linux/i386 using MS ii tftpd-hpa [tftpd] 0.43-1.1 HPA's tftp server ii wget 1.10.2-2 retrieves files from the web -- no debconf information *** /tmp/patch *** make-fai-nfsroot 2009-07-01 13:49:49.000000000 -0500 --- make-fai-nfsroot.patched 2009-07-01 13:49:40.000000000 -0500 *************** *** 333,338 **** --- 333,339 ---- local iarch=$(dpkg --print-installation-architecture|tr /a-z/ /A-Z/) export FAI_ROOT=$NFSROOT export classes="NFSROOT $iarch" + export APT_CONFIG="$APT_CONFIG" install_packages -l -p$cfdir > $NFSROOT/var/tmp/packages.nfsroot echo "Adding additional packages to $NFSROOT:" cat $NFSROOT/var/tmp/packages.nfsroot -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org