summaryrefslogtreecommitdiffstats
path: root/bin
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
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')
-rwxr-xr-xbin/reproducible_common.sh2
-rwxr-xr-xbin/reproducible_coreboot.sh19
2 files changed, 12 insertions, 9 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 3eccd806..d9a9ea12 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -195,7 +195,7 @@ write_page_header() {
if [ "$1" = "dd-list" ] || [ "$1" = "stats" ] ; then
write_page "<p>Join <code>#debian-reproducible</code> on OFTC"
write_page " or <a href="mailto:reproducible-builds@lists.alioth.debian.org">send us an email</a>"
- write_page " to get support for making sure your packages build reproducibly too. Also, we care about free software in general, so if you are an upstream developer or working on another distribution, we'd love to hear from you!"
+ write_page " to get support for making sure your packages build reproducibly too. Also, we care about free software in general, so if you are an upstream developer or working on another distribution, we'd love to hear from you! And these are not empty words: we've just started to regularily test <a href=\"/coreboot/\">coreboot</a> and other projects shall follow."
write_page "</p>"
fi
write_page "<ul><li>Have a look at:</li>"
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