Re: [Reproducible-builds] jenkins.debian.net: [PATCH] Disable download of package descriptions

2016-04-10 Thread Holger Levsen
Hi Vagrant,

On Sat, Apr 09, 2016 at 05:29:41PM -0700, Vagrant Cascadian wrote:
> So, basically, nevermind, apparently pbuilder already does this
> automatically:
[...] 
> And looks like the builders are using 0.223~bpo8+1, and I checked the
> config on one of the builders and it appears to include the option I was
> proposing to add... so...

:)
 
> Sorry for the noise!

nah, thanks for the idea, I've implemented it now for the schroot setups
as well as the host setup. So it was very useful indeed!


-- 
cheers,
Holger


signature.asc
Description: Digital signature
___
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Re: [Reproducible-builds] jenkins.debian.net: [PATCH] Disable download of package descriptions

2016-04-09 Thread Vagrant Cascadian
So, basically, nevermind, apparently pbuilder already does this
automatically:

< mapreri> I added  acquire::languages="none" 6/7 months ago, i think
< mapreri> vagrantc: since pbuilder 0.216, 26 august 2015

And looks like the builders are using 0.223~bpo8+1, and I checked the
config on one of the builders and it appears to include the option I was
proposing to add... so...

Sorry for the noise!

live well,
  vagrant


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

[Reproducible-builds] jenkins.debian.net: [PATCH] Disable download of package descriptions

2016-04-09 Thread Vagrant Cascadian
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 
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