[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible Debian rebuilder 'thing': compare sha256sums of the built .deb...
Holger Levsen
gitlab at salsa.debian.org
Wed Apr 1 20:11:02 BST 2020
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
8ef5a68e by Holger Levsen at 2020-04-01T21:10:48+02:00
reproducible Debian rebuilder 'thing': compare sha256sums of the built .deb files with the ones in the .buildinfo files
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
=====================================
@@ -103,7 +103,14 @@ eval $SBUILD
output_echo "File artifacts:"
ls -lart
output_echo "Diff between .buildinfo files:"
-diff $FILE.orig $FILE
+diff $FILE.orig $FILE || true
+output_echo "Comparing sha256sums of the rebuild .deb files with the ones in the two .buildinfo files:"
+for DEB in $(dcmd ls *.changes) ; do
+ SHASUM=$(sha256sum $DEB | awk '{ print $1 }')
+ echo $SHASUM $DEB
+ grep $SHASUM $FILE.orig || echo $SHASUM not found in $FILE.orig
+ grep $SHASUM $FILE || echo $SHASUM not found in $FILE
+done
# the end
rm -f $FILE $DEBREBUILD
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8ef5a68eb2028c7a6e217538cb77683d54350f58
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8ef5a68eb2028c7a6e217538cb77683d54350f58
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/20200401/7ec1125d/attachment.html>
More information about the Qa-jenkins-scm
mailing list