Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: tweak to deb list we build also added some docs about pbuilder
  • Loading branch information
adamsutton committed Jul 14, 2015
1 parent 9a273c5 commit 9cebb52
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
42 changes: 42 additions & 0 deletions 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
5 changes: 4 additions & 1 deletion support/apt-update
Expand Up @@ -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
"

Expand Down

0 comments on commit 9cebb52

Please sign in to comment.