From 1f87a0e90d3aa66a4cde02d169c641dfdfee528d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 24 Sep 2014 01:30:24 +0200 Subject: reproducible: misc improvements --- bin/reproducible_build.sh | 6 +++++- job-cfg/reproducible.yaml | 1 + 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index 4e2e4bd2..c5e76e68 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -23,7 +23,9 @@ for SRCPACKAGE in "$@" ; do let "COUNT_TOTAL=COUNT_TOTAL+1" rm b1 b2 -rf apt-get source --download-only ${SRCPACKAGE} || true - if $(sudo pbuilder --build --basetgz /var/cache/pbuilder/base-reproducible.tgz ${SRCPACKAGE}_*.dsc) ; then + RESULT=0 + sudo pbuilder --build --basetgz /var/cache/pbuilder/base-reproducible.tgz ${SRCPACKAGE}_*.dsc || RESULT=$? || true + if [ $RESULT = 0 ] ; then mkdir b1 b2 dcmd cp /var/cache/pbuilder/result/${SRCPACKAGE}_*.changes b1 sudo dcmd rm /var/cache/pbuilder/result/${SRCPACKAGE}_*.changes @@ -47,9 +49,11 @@ for SRCPACKAGE in "$@" ; do rm b1 b2 ${TMPFILE} -rf fi + set +x echo "==============================================================" echo "$COUNT_TOTAL of ${#@} done." echo "==============================================================" + set -x done set +x diff --git a/job-cfg/reproducible.yaml b/job-cfg/reproducible.yaml index c5233cf9..c94ed47e 100644 --- a/job-cfg/reproducible.yaml +++ b/job-cfg/reproducible.yaml @@ -68,3 +68,4 @@ my_description: 'Reproducible build all packages build-essential depends on.' my_shell: '/srv/jenkins/bin/reproducible_build.sh eglibc gcc-defaults make-dfsg dpkg' +# libreoffice virt-manager mplayer2 chromium desktop-base gnome kde-plasma-desktop kde-full kde-standard xfce4 lxde vlc evince iceweasel cups build-essential devscripts wine texlive-full asciidoc vim emacs -- cgit v1.2.3-70-g09d2