gregoa's blog
random musings about guitars, computers, and everything

2013-11-26 17:09:00 +0100
cowbuilder crossbuilds for raspbian

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)

permalink | tags: computer, planetdebian

created by Chronicle v4.6

gregoa with debian swirl


tags
archives

weather

Temperature in Innsbruck

debian perl group

Logo Debian Perl Group © 2009, ghostbar, CC BY-NC-SA 2.0

copyright & license

Creative Commons License
All material on this blog — unless stated otherwise — is © gregor herrmann, and is licensed under the Creative Commons Attribution-Share Alike 3.0 Austria License.