BuildingDebianPackagesWithSbuild

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "https://wiki.debian.org/sbuild http://blog.waja.info/2013/11/25/crossbuilding-debian-packages-with-sbuild-for-raspbian/")
 
m
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
 +
= Sbuild schroots =
 +
AMD64: jessie-amd64-sbuild
 +
ARMHF: jessie-armhf
 +
RPI: rpi-jessie-armhf
 +
 +
= setup =
 +
<pre>
 +
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
 +
</pre>
 +
 +
== raspbian gpg key hack ==
 +
<pre>
 +
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
 +
</pre>
 +
 +
= Links =
 +
 
https://wiki.debian.org/sbuild
 
https://wiki.debian.org/sbuild
 +
 
http://blog.waja.info/2013/11/25/crossbuilding-debian-packages-with-sbuild-for-raspbian/
 
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