summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_setup.sh')
-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