[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible coreboot: show size and sha256sum of reproducible images
Holger Levsen
holger at moszumanska.debian.org
Mon Jun 8 19:21:58 UTC 2015
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit f350189bda4a9f48c90c492a332e88e41565ff16
Author: Holger Levsen <holger at layer-acht.org>
Date: Mon Jun 8 18:27:17 2015 +0200
reproducible coreboot: show size and sha256sum of reproducible images
---
TODO | 2 ++
bin/reproducible_coreboot.sh | 6 ++++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/TODO b/TODO
index 062d0ba..9e44a29 100644
--- a/TODO
+++ b/TODO
@@ -233,6 +233,8 @@ egrep -R -l '(debbindiff had trouble comparing|maybe there is still )' /var/lib/
* coreboot
** add more variations: domain+hostname, uid+gid, USER, UTS namespace
** split into two jobs, one to build the toolchain, the other to test, keep the git repo and update it. run both jobs weekly.
+*** call script with "init" or "run-tests"
+*** not sure how to best keep the git repo and the toolchain (not on tmpfs) while building in tmpfs...
* openwrt
----
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 40f9464..ae0db23 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -197,11 +197,13 @@ for i in * ; do
let ALL_ROMS+=1
if [ -f $i/coreboot.rom ] ; then
call_debbindiff $i
+ SIZE="$(du -h $i/coreboot.rom | cut -f1)"
if [ -f $TMPDIR/$i.html ] ; then
mv $TMPDIR/$i.html $BASE/coreboot/dbd/$i.html
- write_page " <li><a href=\"dbd/$i.html\"><img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" /> $i</a> is unreproducible.</li>"
+ write_page " <li><a href=\"dbd/$i.html\"><img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" /> $i</a> ($SIZE) is unreproducible.</li>"
else
- write_page " <li><img src=\"/userContent/static/weather-clear.png\" alt=\"reproducible icon\" /> $i had no debbindiff output so it's probably reproducible :)</li>"
+ SHASUM=$(sha256sum $i/coreboot.rom|cut -d " " -f1)
+ write_page " <li><img src=\"/userContent/static/weather-clear.png\" alt=\"reproducible icon\" /> $i ($SHASUM, $SIZE) had no debbindiff output so it's probably reproducible :)</li>"
let GOOD_ROMS+=1
fi
else
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list