From 2ed6532a4bcb4dc553565ce1887d28748aeb4e66 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 23 Sep 2014 22:50:17 +0200 Subject: 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) --- bin/reproducible_build.sh | 6 ++++-- bin/reproducible_setup.sh | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2