]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
build: tweak to deb list we build also added some docs about pbuilder
authorAdam Sutton <dev@adamsutton.me.uk>
Thu, 9 Jul 2015 17:05:45 +0000 (18:05 +0100)
committerAdam Sutton <dev@adamsutton.me.uk>
Tue, 14 Jul 2015 19:42:37 +0000 (20:42 +0100)
support/README.pbuilder [new file with mode: 0644]
support/apt-update

diff --git a/support/README.pbuilder b/support/README.pbuilder
new file mode 100644 (file)
index 0000000..c425182
--- /dev/null
@@ -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
index ebe44925378d1e3376f3506900c6f9745f997a38..863bf5122aa6101e409c57517fbc5c79e46a294b 100755 (executable)
@@ -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
 "