BuildingDebianPackagesWithSbuild

From ago control wiki
(Difference between revisions)
Jump to: navigation, search
m
m
Line 3: Line 3:
  
 
<pre>
 
<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 CHANGE the golden image: sudo schroot -c source:rpi-jessie-armhf -u root
 
  To ENTER an image snapshot: schroot -c rpi-jessie-armhf
 
  To ENTER an image snapshot: schroot -c rpi-jessie-armhf

Revision as of 19:30, 6 October 2015

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

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
Personal tools