I noticed the jenkins.debian.net reproducible pbuilder chroots download the full package descriptions, but this isn't necessary for a build machine, and consumes a bit of bandwidth and disk space. The patch below configures APT (and anything that respects apt.conf.d) to not download them.
Also should be available in the "no-package-descriptions" branch on alioth (once alioth syncs): https://anonscm.debian.org/cgit/users/vagrant/jenkins.debian.net.git/ It's untested, so I've looked it over at least three times. I hope it's actually happening early enough to be useful... Keep on reproducibilitizing! live well, vagrant From ff8da4f3ef9674503da93e38be565c3a7837c7d2 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian <vagr...@debian.org> Date: Sat, 9 Apr 2016 16:43:31 -0700 Subject: [PATCH] Disable download of package descripts by setting apt.conf languages to none. This should save some disk space and download bandwidth, as the full descriptions really shouldn't be needed in a build chroot. --- bin/reproducible_setup_pbuilder.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/reproducible_setup_pbuilder.sh b/bin/reproducible_setup_pbuilder.sh index 57ef3e8..b272d5b 100755 --- a/bin/reproducible_setup_pbuilder.sh +++ b/bin/reproducible_setup_pbuilder.sh @@ -61,6 +61,9 @@ echo echo "Configuring APT to ignore the Release file expiration" echo 'Acquire::Check-Valid-Until "false";' > /etc/apt/apt.conf.d/398future echo +echo "Configuring APT to not download package descriptions" +echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/10no-package-descriptions +echo apt-get update apt-get -y upgrade apt-get install -y $@ -- 2.1.4
signature.asc
Description: PGP signature
_______________________________________________ Reproducible-builds mailing list Reproducible-builds@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds