|
|
|
|
@ -43,6 +43,7 @@ set_debootstrap() {
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
# we can compile i386 packages on amd64, so don't use qemu-debootstrap there
|
|
|
|
|
# and the same goes for armhf/armel on arm64
|
|
|
|
|
case "$HOST_ARCH" in
|
|
|
|
|
amd64)
|
|
|
|
|
if [ "${architecture:-}" = "i386" ] ; then
|
|
|
|
|
@ -50,6 +51,12 @@ set_debootstrap() {
|
|
|
|
|
return 0
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
arm64)
|
|
|
|
|
if [ "${architecture:-}" = "armhf" ] || [ "${architecture:-}" = "armel" ] ; then
|
|
|
|
|
DEBOOTSTRAP="debootstrap"
|
|
|
|
|
return 0
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
# otherwise assume we're building for a foreign architecture
|
|
|
|
|
|