[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': ignore .changes and .buildinfo files...
Holger Levsen
gitlab at salsa.debian.org
Thu Apr 2 22:09:14 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
fbb85afb by Holger Levsen at 2020-04-02T23:09:03+02:00
reproducible Debian rebuilder 'thing': ignore .changes and .buildinfo files when comparing artifacts
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/reproducible_debian_rebuilder_prototype.sh
Changes:
=====================================
bin/reproducible_debian_rebuilder_prototype.sh
=====================================
@@ -106,7 +106,7 @@ output_echo "Diff between .buildinfo files:"
diff $FILE.orig $FILE || true
output_echo "The following binary packages could be rebuilt bit-by-bit identical to the ones distributed from ftp.debian.org:"
BADDEBS=""
-for DEB in $(dcmd ls *.changes) ; do
+for DEB in $(dcmd ls *.changes|egrep 'deb$' ) ; do
SHASUM=$(sha256sum $DEB | awk '{ print $1 }')
if grep $SHASUM $FILE.orig ; then
# reproducible, yay!
@@ -118,7 +118,7 @@ done
if [ -n "$BADDEBS" ] ; then
output_echo "Unreproducible binary packages found:"
for DEB in $BADDEBS ; do
- echo "$(egrep '^[a-z0-9]{63} ' $FILE.orig|grep $DEB) from ftp.debian.org"
+ echo "$(egrep '^[a-z0-9]{64} ' $FILE.orig|grep $DEB) from ftp.debian.org"
echo "$(sha256sum $DEB) from the current rebuild"
done
fi
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fbb85afb9739b829e5539f3469f798b82ac8de1e
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/fbb85afb9739b829e5539f3469f798b82ac8de1e
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200402/14c94ff6/attachment-0001.html>
More information about the Qa-jenkins-scm
mailing list