From 96ca40f93167b5e7d201691b95c48f305cbf52cf Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 14 Jan 2015 16:04:35 +0100 Subject: reproducible: remove workaround for debbindiff 3 and explain in rbuild outwhich which debbindiff version is used --- bin/reproducible_build.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'bin/reproducible_build.sh') diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index a9141d36..66a4c31d 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -155,6 +155,7 @@ else # write locks are only done by the schroot setup job touch $DBDCHROOT_READLOCK fi + echo "$(date) - $(schroot --directory /tmp -c source:jenkins-reproducible-sid debbindiff -- --version) will be used to compare the two builds now." | tee -a ${RBUILDLOG} ( timeout 15m schroot --directory /tmp -c source:jenkins-reproducible-sid debbindiff -- --html $TMPDIR/${LOGFILE} $TMPDIR/b1/${SRCPACKAGE}_${EVERSION}_amd64.changes $TMPDIR/b2/${SRCPACKAGE}_${EVERSION}_amd64.changes ) 2>&1 >> ${RBUILDLOG} RESULT=$? set +x @@ -183,13 +184,7 @@ else cp b1/${BUILDINFO} /var/lib/jenkins/userContent/buildinfo/ > /dev/null 2>&1 || true if [ -f ./${LOGFILE} ] ; then echo -n "$DEBBINDIFFOUT" | tee -a ${RBUILDLOG} - # FIXME: work around debbindiff not having external CSS support (#764470) - # should really be fixed in debbindiff and just moved.... - if grep -q "Generated by debbindiff 3" ./${LOGFILE} ; then - sed '/\/,/<\/style>/{//!d}' ./${LOGFILE} |grep -v "style>" | sed -s 's## \n \n#' > /var/lib/jenkins/userContent/dbd/${LOGFILE} - else - mv ./${LOGFILE} /var/lib/jenkins/userContent/dbd/ - fi + mv ./${LOGFILE} /var/lib/jenkins/userContent/dbd/ else echo -n ", debbindiff produced no output (which is strange)" fi -- cgit v1.2.3-54-g00ecf