after reading waja's description on Crossbuilding
Debian Packages With Sbuild (for Raspbian), I thought I'd share what I
did for using cowbuilder
for the same purpose.
I stumbled about these instructions
for pbuilder on github recently which taught me about the nice
qemu-debootstrap
tool. as I didn't want a specific config file
& I prefer cowbuilder
over pbuilder
, I
"translated" the instructions to the following command:
cowbuilder --create --basepath /var/cache/pbuilder/armhf/raspbian-wheezy-base.cow \ --distribution wheezy --mirror http://mirrordirector.raspbian.org/raspbian/ \ --components "main contrib non-free rpi" --extrapackages eatmydata \ --architecture armhf \ --debootstrap qemu-debootstrap --debootstrapopts --variant=buildd \ --debootstrapopts --keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg
(after installing the raspbian-archive-keyring
before)