diff --git a/cross/crosschroot.conf b/cross/crosschroot.conf index 15e0c18..c06eb63 100644 --- a/cross/crosschroot.conf +++ b/cross/crosschroot.conf @@ -27,7 +27,7 @@ suite=stable # this is a duplicate if the suite is the same as the toolchain. [Debian] -packages=dpkg-dev binutils-multiarch build-essential +packages=dpkg-dev binutils-multiarch build-essential dpkg-cross source=http://ftp.uk.debian.org/debian keyring=debian-archive-keyring suite=unstable diff --git a/cross/setcrossarch.sh b/cross/setcrossarch.sh index df258a9..1f81b5b 100755 --- a/cross/setcrossarch.sh +++ b/cross/setcrossarch.sh @@ -47,10 +47,9 @@ fi # set the value inside the chroot echo "#!/bin/sh" > $dir/tmp/set.sh echo >> $dir/tmp/set.sh -echo "export DEBIAN_FRONTEND=noninteractive ". - "DEBCONF_NONINTERACTIVE_SEEN=true ". - "LC_ALL=C LANGUAGE=C LANG=C" >> $dir/tmp/set.sh +echo "export DEBIAN_FRONTEND=noninteractive DEBCONF_NONINTERACTIVE_SEEN=true LC_ALL=C LANGUAGE=C LANG=C" >> $dir/tmp/set.sh echo "echo debconf dpkg-cross/default-arch select $CROSSARCH|debconf-set-selections" >> $dir/tmp/set.sh echo "dpkg-reconfigure dpkg-cross" >> $dir/tmp/set.sh +echo "Setting debconf dpkg-cross/default-arch to $CROSSARCH" sudo chroot $dir sh /tmp/set.sh sudo rm $dir/tmp/set.sh