tag 688628 + pending
done

On Mon, 24 Sep 2012 11:57:02 +0200
Gilles Filippini <[email protected]> wrote:

> The sources.list resulting from pdebuild-cross-create with the multistrap
> armel configuration below is locked to the host's architecture, preventing
> xapt to do its job at downloading packages from the target arrchitecture.
> deb [arch=i386] http://ftp.fr.debian.org/debian squeeze main
> 
> Should be:
> deb http://ftp.fr.debian.org/debian squeeze main

Actually, the correct support will be for the chroot to gain a second
config for the foreign architecture.

deb [arch=armel] http://ftp.fr.debian.org/debian squeeze main

Just login to the pbuilder chroot with save-after-login and make the
change: 
pbuilder login --configfile /etc/pdebuild-cross/pdebuild-cross.rc 
--save-after-login

I already had initial changes for this behaviour - now committed to
SVN. (r8400).

> Multistrap configuration:
> - --%<---------------------
> [General]
> arch=
> directory=
> cleanup=true
> noauth=false
> explicitsuite=true
> unpack=true
> 
> omitrequired=false
> configscript=
> setupscript=/usr/share/multistrap/setcrossarch.sh
> debootstrap=Debian Toolchains Backports
> aptsources=Debian
> tarballname=pdebuild-cross.tgz
> 
> [Toolchains]
> packages=g++-4.4-arm-linux-gnueabi linux-libc-dev-armel-cross
> reinstall=binutils-multiarch
> source=http://www.emdebian.org/debian
> keyring=emdebian-archive-keyring
> suite=squeeze
> omitdebsrc=true
> 
> [Backports]
> packages=dpkg-dev xapt
> source=http://backports.debian.org/debian-backports
> keyring=debian-archive-keyring
> suite=squeeze-backports
> omitdebsrc=true
> 
> [Debian]
> packages=dpkg-dev binutils-multiarch build-essential makedev
> source=http://ftp.fr.debian.org/debian
> keyring=debian-archive-keyring
> suite=squeeze
> omitdebsrc=true
> dd
> - -->%---------------------
> 

That doesn't look like the configurations used for pdebuild-cross which
usually include another configuration file.

[General]
include=/usr/share/multistrap/crosschroot.conf
omitrequired=false
configscript=
setupscript=/usr/share/multistrap/setcrossarch.sh
debootstrap=Debian Base Toolchains
aptsources=Debian Toolchains Foreign
tarballname=pdebuild-cross.tgz

[Toolchains]
packages=g++-4.4-arm-linux-gnueabi linux-libc-dev-armel-cross
reinstall=binutils-multiarch
source=http://www.emdebian.org/debian
keyring=emdebian-archive-keyring
suite=squeeze

[Foreign]
packages=
source=http://cdn.debian.net/debian
keyring=debian-archive-keyring
suite=unstable
architecture=armel

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpsKFpX7A4ge.pgp
Description: PGP signature

Reply via email to