summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-23 22:50:17 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-23 22:50:17 +0200
commit2ed6532a4bcb4dc553565ce1887d28748aeb4e66 (patch)
treef5b27e067de7d0d5f12fec8e7c6babace759cbad /bin
parent48682d29fa4df0a3b8e726aad0ea8ca0e59472d2 (diff)
downloadjenkins.debian.net-2ed6532a4bcb4dc553565ce1887d28748aeb4e66.tar.xz
reproducible: finally working version. now fails due to a (known) problem in reproducible build toolchain. added TODO for jenkins jobs. added new job to test all core packages (one day)
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh6
-rwxr-xr-xbin/reproducible_setup.sh4
2 files changed, 6 insertions, 4 deletions
diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh
index e8733435..07f4056f 100755
--- a/bin/reproducible_build.sh
+++ b/bin/reproducible_build.sh
@@ -25,7 +25,9 @@ for PACKAGE in "$@" ; do
dcmd cp /var/cache/pbuilder/result/${PACKAGE}_*.changes b2
sudo dcmd rm /var/cache/pbuilder/result/${PACKAGE}_*.changes
- ./misc.git/diffp b1/*.changes b2/*.changes
+ TMPFILE=$(mktemp)
+ ./misc.git/diffp b1/*.changes b2/*.changes | tee $TMPFILE
+ grep -qv '^\*\*\*\*\*' $TMPFILE && figlet ${PACKAGE}_&& echo && echo "${PACKAGE} build successfull."
- rm b1 b2 -rf
+ rm b1 b2 $TMPFILE -rf
done
diff --git a/bin/reproducible_setup.sh b/bin/reproducible_setup.sh
index 48e12698..8ca78b9a 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 pbuilder --create /var/cache/pbuilder/base-reproducible.tgz --distribution sid
-sudo pbuilder --execute $TMPFILE --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz
+sudo pbuilder --create --basetgz /var/cache/pbuilder/base-reproducible.tgz --distribution sid
+sudo pbuilder --execute --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz --
rm $TMPFILE