[Qa-jenkins-scm] [jenkins.debian.net] 02/02: reproducible debian: setup_pbuilder: set up APT pinning to force usage of our own packages instead of the ones coming from Debian

Mattia Rizzolo mattia at debian.org
Fri Apr 6 09:29:08 UTC 2018


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit 6d75ff46473f317aebd8cc48a2c10b2a5cb92c6e
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Apr 6 11:28:05 2018 +0200

    reproducible debian: setup_pbuilder: set up APT pinning to force usage of our own packages instead of the ones coming from Debian
    
    Closes: #889725
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 bin/reproducible_setup_pbuilder.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh
index 2b22c53..fdc7c70 100755
--- a/bin/reproducible_setup_pbuilder.sh
+++ b/bin/reproducible_setup_pbuilder.sh
@@ -56,6 +56,7 @@ create_setup_our_repo_tmpfile() {
 #
 # this script is run within the pbuilder environment to further customize once more
 #
+echo "Configure the chroot to use the reproducible team experimental archive..."
 echo "-----BEGIN PGP PUBLIC KEY BLOCK-----
 Version: GnuPG v1.4.12 (GNU/Linux)
 
@@ -86,6 +87,9 @@ zaIcpUkirRMKTCN4S9CBT6q1dHZwANgx9sn2Z7bWs6F5D//54BmYoHdVCWtptwUg
 =LHVA
 -----END PGP PUBLIC KEY BLOCK-----" > /etc/apt/trusted.gpg.d/reproducible.asc
 echo 'deb http://reproducible.alioth.debian.org/debian/ ./' > /etc/apt/sources.list.d/reproducible.list
+echo "Package: *
+Pin: release o=reproducible
+Pin-Priority: 1001" > /etc/apt/preferences.d/reproducible
 echo
 apt-get update
 apt-get -y upgrade

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list