Bug 1429669 - Add backports sources when building Debian packages. r=dustin
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 11 Jan 2018 14:03:21 +0900
changeset 453195 fd5d6a2d933923bf21299493ec039bf7f8e6810f
parent 453194 2b09823ab0472a4db42beaa8f07f78d119bbc260
child 453196 0b2b78a9c39a10f6134d1e6d608da402e8853431
push id1648
push usermtabara@mozilla.com
push dateThu, 01 Mar 2018 12:45:47 +0000
treeherdermozilla-release@cbb9688c2eeb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1429669
milestone59.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1429669 - Add backports sources when building Debian packages. r=dustin Build dependencies won't be installed from backports unless they are not satisfiable in the given Debian release. This is useful to get dh-python on Wheezy.
taskcluster/taskgraph/transforms/job/debian_package.py
--- a/taskcluster/taskgraph/transforms/job/debian_package.py
+++ b/taskcluster/taskgraph/transforms/job/debian_package.py
@@ -107,16 +107,18 @@ def docker_worker_debian_package(config,
         'sh',
         '-x',
         '-c',
         # Fill /etc/apt/sources.list with the relevant snapshot repository.
         'echo "deb http://snapshot.debian.org/archive/debian'
         '/{snapshot}/ {dist} main" > /etc/apt/sources.list && '
         'echo "deb http://snapshot.debian.org/archive/debian'
         '/{snapshot}/ {dist}-updates main" >> /etc/apt/sources.list && '
+        'echo "deb http://snapshot.debian.org/archive/debian'
+        '/{snapshot}/ {dist}-backports main" >> /etc/apt/sources.list && '
         'echo "deb http://snapshot.debian.org/archive/debian-security'
         '/{snapshot}/ {dist}/updates main" >> /etc/apt/sources.list && '
         # Install the base utilities required to build debian packages.
         'apt-get update -o Acquire::Check-Valid-Until=false -q && '
         'apt-get install -yyq fakeroot build-essential devscripts apt-utils && '
         'cd /tmp && '
         # Get, validate and extract the package source.
         'dget -d -u {src_url} && '