summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_coreboot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-06 19:56:34 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-06 19:56:34 +0200
commitbcfbd0a91752ee7e63299a23e5d0840c25f6d08d (patch)
tree485e72f9b99a924605544fcbc8a3608384b27e82 /bin/reproducible_coreboot.sh
parentf0a18cab05da1130bf9ac1f634b10cf881fd192a (diff)
downloadjenkins.debian.net-bcfbd0a91752ee7e63299a23e5d0840c25f6d08d.tar.xz
reproducible coreboot: improve main page and link to it from rb.d.n
Diffstat (limited to 'bin/reproducible_coreboot.sh')
-rwxr-xr-xbin/reproducible_coreboot.sh19
1 files changed, 11 insertions, 8 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 9d2da652..3cf9b2fc 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -94,7 +94,7 @@ git clone --recursive http://review.coreboot.org/p/coreboot.git
cd coreboot
# still required because coreboot moved submodules and to take care of old git versions
git submodule update --init --checkout 3rdparty/blobs
-COREBOOT="$(git log -1 | head -3)"
+COREBOOT="$(git log -1)"
echo "============================================================================="
echo "$(date -u) - Building cross compilers for ${ARCHS} now."
@@ -174,13 +174,17 @@ cat > $PAGE <<- EOF
<p>&nbsp;</p>
<p><center><img src="coreboot.png" width="300" class="alignnone size-medium wp-image-6" alt="coreboot" height="231" /></center></p>
<blockquote>
- <p><strong>coreboot&trade;</strong>: fast and flexible <em>and reproducible</em> Open Source firmware?</p>
+ <p><strong>coreboot&trade;</strong>: fast, flexible <em>and reproducible</em> Open Source firmware?</p>
<br />
</blockquote>
EOF
write_page " <h1>Reproducible Coreboot</h1>"
-write_page " <p>This is work in progress started on 2015-06-04.</p>"
-write_page " <pre>$COREBOOT<pre>"
+write_page " <p><em>This is work in progress started on 2015-06-04.</em>"
+write_page " <em>Reproducible builds</em> enable anyone to reproduce bit by bit identical binary packages from a given source. There is a lot more information about <a href=\"https://wiki.debian.org/ReproducibleBuilds\">reproducible builds on the Debian wiki</a> and on <a href=\"https://reproducible.debian.net\">https://reproducible.debian.net</a>.<br />"
+write_page " <em>Reproducible Coreboot</em> is an effort to apply this to coreboot. Thus each coreboot.rom is build twice, with a few varitations added and then those two ROMs are compared using <a href=\"https://tracker.debian.org/debbindiff\">debbindiff</a>.<br />"
+write_page " Currently this is configured to be updated monthly, but as this is brand new, the udate frequency is much higher. Patches are very much welcome, the coreboot pages are solely generated by <a href=\"http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_coreboot.sh\">reproducible_coreboot.sh</a>.<br />"
+write_page " Test were run on $DATE using <code>$COREBOOT</code>"
+write_page " </p>"
write_explaination_table coreboot
write_page " <ul>"
ROMS=0
@@ -192,9 +196,9 @@ for i in * ; do
call_debbindiff $i
if [ -f $TMPDIR/$i.html ] ; then
mv $TMPDIR/$i.html $BASE/coreboot/dbd/$i.html
- write_page " <li><a href=\"dbd/$i.html\">$i debbindiff output</li>"
+ write_page " <li><a href=\"dbd/$i.html\"><img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" />$i</a> is unreproducible.</li>"
else
- write_page " <li>$i had no debbindiff output - it's probably reproducible :)</li>"
+ write_page " <li><img src=\"/userContent/static/weather-clear.png\" alt=\"reproducible icon\" />$i had no debbindiff output so its probably reproducible :)</li>"
let RROMS+=1
fi
done
@@ -203,9 +207,8 @@ write_page " </ul><p>$RROMS ($PERCENT%) out of $ROMS built coreboot images
cat >> $PAGE <<- EOF
</div>
</div>
- </body>
-</html>
EOF
+write_page_footer
cd ..
publish_page