summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-23 19:20:28 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-23 19:20:28 +0200
commit48682d29fa4df0a3b8e726aad0ea8ca0e59472d2 (patch)
treed36005f9f096d7b3dfbdfaab339abc8c0d05eb24
parent95586d550459e912a63899705031198b94f28bb2 (diff)
downloadjenkins.debian.net-48682d29fa4df0a3b8e726aad0ea8ca0e59472d2.tar.xz
reproducible: explicitly create dedicated base.tgz for pbuilder
-rwxr-xr-xbin/reproducible_setup.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh
index 41af2bff..48e12698 100755
--- a/bin/reproducible_setup.sh
+++ b/bin/reproducible_setup.sh
@@ -14,6 +14,6 @@ echo "Warning: Usage of --force-yes to override the apt authentication warning.
apt-get install --force-yes -y dpkg dpkg-dev debhelper dh-python proot
EOF
-sudo cp /var/cache/pbuilder/base.tgz /var/cache/pbuilder/base-reproducible.tgz
+sudo pbuilder --create /var/cache/pbuilder/base-reproducible.tgz --distribution sid
sudo pbuilder --execute $TMPFILE --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz
rm $TMPFILE