From: Adam Sutton Date: Thu, 9 Jul 2015 17:05:45 +0000 (+0100) Subject: build: tweak to deb list we build also added some docs about pbuilder X-Git-Tag: v4.2.1~2173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cebb52c9a6c7bdfdcbbbe54b37bef21805b7008;p=thirdparty%2Ftvheadend.git build: tweak to deb list we build also added some docs about pbuilder --- diff --git a/support/README.pbuilder b/support/README.pbuilder new file mode 100644 index 000000000..c425182c6 --- /dev/null +++ b/support/README.pbuilder @@ -0,0 +1,42 @@ +Pbuilder Setup +============== + +Setup +-------- + +To use pbuilder you will need a couple of extra packages available: + +$ sudo apt-get install pbuilder-dist qemu-user-static + +amd64, i386 and armhf/ARMv7+ (RPi2) +----------------------------------- + +To pbuilder chroot's for amd64, i386 and armhf/ARMv7+ you can just use +standard pbuilder-dist calls, e.g. + +$ pbuilder-dist trusty amd64 create +$ pbuilder-dist sid armhf create + +armhf/ARMv6+ (RPi1 / Raspbian) +------------------------------ + +For Raspian compatible builds you will need to install some additional +support and add some pbuilder-dist runtime options: + +$ wget http://archive.raspbian.org/raspbian/pool/main/r/raspbian-archive-keyring/raspbian-archive-keyring_20120528.2_all.deb +$ dpkg -i raspbian-archive-keyring_20120528.2_all.deb + +$ export PBUILDER_DIST_DEBIAN_MIRROR=http://archive.raspbian.org/raspbian +$ pbuilder-dist wheezy armhf create --debootstrapopts --keyring=/usr/share/keyrings/raspbian-archive-keyring.gpg --release-only + +Building +-------- + +To build Tvheadend packages with pbuilder (assuming you've created the +necessary pbuilder chroots) you can simply do the following: + +$ git clone https://github.com/tvheadend/tvheadend.git +$ cd tvheadend +$ TVH_BUILD="trusty:amd64 sid:armhf wheezy:armhf" ./support/pbuilder + +Generated images will be in ~/pbuilder/*result diff --git a/support/apt-update b/support/apt-update index ebe449253..863bf5122 100755 --- a/support/apt-update +++ b/support/apt-update @@ -31,9 +31,12 @@ vivid:i386 vivid:amd64 wheezy:i386 wheezy:amd64 +wheezy:armhf +jessie:i386 +jessie:amd64 +jessie:armhf sid:i386 sid:amd64 -sid:armel sid:armhf "