summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_coreboot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-08 18:27:17 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-08 18:27:17 +0200
commitf350189bda4a9f48c90c492a332e88e41565ff16 (patch)
treee8c19235a52e4e29fbb0c1ac2d866094abcb6407 /bin/reproducible_coreboot.sh
parentdaac188881c02a3dca9f3bac15b642bc0d387a0b (diff)
downloadjenkins.debian.net-f350189bda4a9f48c90c492a332e88e41565ff16.tar.xz
reproducible coreboot: show size and sha256sum of reproducible images
Diffstat (limited to 'bin/reproducible_coreboot.sh')
-rwxr-xr-xbin/reproducible_coreboot.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 40f94648..ae0db236 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