BuildingDebianPackagesWithSbuild

From ago control wiki
Jump to: navigation, search

Contents

Sbuild schroots

AMD64: jessie-amd64-sbuild ARMHF: jessie-armhf RPI: rpi-jessie-armhf

setup

mk-sbuild --arch=armhf --debootstrap-mirror=http://archive.raspbian.org/raspbian --name rpi-jessie jessie
[...]
 To CHANGE the golden image: sudo schroot -c source:rpi-jessie-armhf -u root
 To ENTER an image snapshot: schroot -c rpi-jessie-armhf
 To BUILD within a snapshot: sbuild -A -d rpi-jessie-armhf PACKAGE*.dsc

raspbian gpg key hack

wget https://archive.raspbian.org/raspbian.public.key
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/debian-archive-keyring.gpg --import raspbian.public.key

Links

https://wiki.debian.org/sbuild

http://blog.waja.info/2013/11/25/crossbuilding-debian-packages-with-sbuild-for-raspbian/

Personal tools