add pbuilder config notes
This commit is contained in:
parent
0fa383f633
commit
9e0800e00a
20
README.md
20
README.md
|
@ -101,6 +101,20 @@ $ sudo apt-get install librtlsdr-dev libusb-1.0-0-dev pkg-config debhelper
|
||||||
$ dpkg-buildpackage -b
|
$ dpkg-buildpackage -b
|
||||||
````
|
````
|
||||||
|
|
||||||
Or you can use debuild, pdebuild, etc.
|
Or you can use debuild/pdebuild. I find building via qemubuilder quite effective for building images for Raspbian (it's actually faster to build on an emulated ARM running on my PC than to build directly on real hardware).
|
||||||
I find building via qemubuilder quite effective for building images for Raspbian (it's actually faster to build
|
|
||||||
on an emulated ARM running on my PC than to build directly on real hardware)
|
Here's the pbuilder config I use to build the Raspbian packages:
|
||||||
|
|
||||||
|
````
|
||||||
|
MIRRORSITE=http://mirrordirector.raspbian.org/raspbian/
|
||||||
|
PDEBUILD_PBUILDER=cowbuilder
|
||||||
|
BASEPATH=/var/cache/pbuilder/armhf-raspbian-wheezy-base.cow
|
||||||
|
DISTRIBUTION=wheezy
|
||||||
|
OTHERMIRROR="deb http://repo.mutability.co.uk/raspbian wheezy rpi"
|
||||||
|
ARCHITECTURE=armhf
|
||||||
|
DEBOOTSTRAP=qemu-debootstrap
|
||||||
|
DEBOOTSTRAPOPTS="--variant=buildd --keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg"
|
||||||
|
COMPONENTS="main contrib non-free rpi"
|
||||||
|
EXTRAPACKAGES="eatmydata debhelper fakeroot"
|
||||||
|
ALLOWUNTRUSTED="yes"
|
||||||
|
````
|
||||||
|
|
Loading…
Reference in a new issue