From 9e0800e00a6e9c6b46d2057d33d03918c4f600b2 Mon Sep 17 00:00:00 2001 From: Oliver Jowett Date: Sat, 27 Dec 2014 22:35:57 +0000 Subject: [PATCH] add pbuilder config notes --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d0c4a95..0be3110 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,20 @@ $ sudo apt-get install librtlsdr-dev libusb-1.0-0-dev pkg-config debhelper $ dpkg-buildpackage -b ```` -Or you can use debuild, pdebuild, etc. -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) +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). + +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" +````