> Makes sense. We should also amend `git-pbuilder` slightly to read a > `GIT_PBUILDER_HOST_ARCH` to be consistent with what we do for > `--git-arch`.
Yup, consistency is good.
> Am I assuming correctly that you're using plain
> /var/cache/pbuilder/base.cow/ / /var/cache/pbuilder/base-$DIST.cow for
> that or do you have special chroots setup for that purpose?
I happen to be using a special chroot for testing, but it's not required -- you
can have a multiarch base.cow and use that to create both native and
cross built packages. I created my chroot using this command:
sudo cowbuilder create \
--basepath /var/cache/pbuilder/base-cross.cow \
--debootstrap mmdebstrap \
--debootstrapopts --architectures=amd64,arm64 \
--debootstrapopts --skip=output/dev \
--debootstrapopts --variant=buildd \
--debootstrapopts --include=ca-certificates
Helmut suggested that I add
--debootstrapopts
--include=crossbuild-essential-arm64,libc6-dev:arm64,libstdc++-dev:arm64
to speed up cross builds. Thanks for reviewing my bug report!
--
-keith
signature.asc
Description: PGP signature

