summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJérémy Bobbio <lunar@debian.org>2015-01-19 19:38:47 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-19 19:43:06 +0100
commit520c4505dd4b3abdb8c2d02b7828b2d8bdcf98f5 (patch)
treec64f6dcc97aa2863b7d770c46062be41b0957926 /bin
parentd28793402f6274ef4b2695b036b0af742cdd8e73 (diff)
downloadjenkins.debian.net-520c4505dd4b3abdb8c2d02b7828b2d8bdcf98f5.tar.xz
reproducible: unshare need to be told where options end
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index a17816d4..075641d5 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -130,7 +130,7 @@ else
echo "Re-building ${SRCPACKAGE} now."
echo "============================================================================="
set -x
- timeout 12h nice ionice -c 3 sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" LANG="fr_CH.UTF-8" LC_ALL="fr_CH.UTF-8" unshare --uts /usr/sbin/pbuilder --build --configfile $TMPCFG --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_${EVERSION}.dsc
+ timeout 12h nice ionice -c 3 sudo DEB_BUILD_OPTIONS="parallel=$NUM_CPU" LANG="fr_CH.UTF-8" LC_ALL="fr_CH.UTF-8" unshare --uts -- /usr/sbin/pbuilder --build --configfile $TMPCFG --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts "-b" --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid ${SRCPACKAGE}_${EVERSION}.dsc
set +x
dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_${EVERSION}_amd64.changes b2
# and again (see comment 5 lines above)