BuildingDebianPackagesWithSbuild

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
m
 
Line 1: Line 1:
https://wiki.debian.org/sbuild
+
= Sbuild schroots =
http://blog.waja.info/2013/11/25/crossbuilding-debian-packages-with-sbuild-for-raspbian/
+
AMD64: jessie-amd64-sbuild
 +
ARMHF: jessie-armhf
 +
RPI: rpi-jessie-armhf
  
 +
= setup =
 
<pre>
 
<pre>
 
mk-sbuild --arch=armhf --debootstrap-mirror=http://archive.raspbian.org/raspbian --name rpi-jessie jessie
 
mk-sbuild --arch=armhf --debootstrap-mirror=http://archive.raspbian.org/raspbian --name rpi-jessie jessie
Line 15: Line 18:
 
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/debian-archive-keyring.gpg --import raspbian.public.key
 
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/debian-archive-keyring.gpg --import raspbian.public.key
 
</pre>
 
</pre>
 +
 +
= Links =
 +
 +
https://wiki.debian.org/sbuild
 +
 +
http://blog.waja.info/2013/11/25/crossbuilding-debian-packages-with-sbuild-for-raspbian/

Latest revision as of 17:22, 19 October 2015

Contents

[edit] Sbuild schroots

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

[edit] 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

[edit] 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

[edit] Links

https://wiki.debian.org/sbuild

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

Personal tools