From bcfbd0a91752ee7e63299a23e5d0840c25f6d08d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 6 Jun 2015 19:56:34 +0200 Subject: reproducible coreboot: improve main page and link to it from rb.d.n --- bin/reproducible_coreboot.sh | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'bin/reproducible_coreboot.sh') 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

 

coreboot

-

coreboot™: fast and flexible and reproducible Open Source firmware?

+

coreboot™: fast, flexible and reproducible Open Source firmware?


EOF write_page "

Reproducible Coreboot

" -write_page "

This is work in progress started on 2015-06-04.

" -write_page "
$COREBOOT
"
+write_page "       

This is work in progress started on 2015-06-04." +write_page " Reproducible builds enable anyone to reproduce bit by bit identical binary packages from a given source. There is a lot more information about reproducible builds on the Debian wiki and on https://reproducible.debian.net.
" +write_page " Reproducible Coreboot 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 debbindiff.
" +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 reproducible_coreboot.sh.
" +write_page " Test were run on $DATE using $COREBOOT" +write_page "

" write_explaination_table coreboot write_page "
    " 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 "
  • $i debbindiff output
  • " + write_page "
  • \"unreproducible$i is unreproducible.
  • " else - write_page "
  • $i had no debbindiff output - it's probably reproducible :)
  • " + write_page "
  • \"reproducible$i had no debbindiff output so its probably reproducible :)
  • " let RROMS+=1 fi done @@ -203,9 +207,8 @@ write_page "

$RROMS ($PERCENT%) out of $ROMS built coreboot images cat >> $PAGE <<- EOF - - EOF +write_page_footer cd .. publish_page -- cgit v1.2.3-54-g00ecf