From de45aa972f7875ae4f145a5ac82dd70fde3b4d9a Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 7 Jun 2015 15:07:12 +0200 Subject: reproducible coreboot: more polishing for coreboot.html, detect ftbfs images. --- bin/reproducible_coreboot.sh | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) (limited to 'bin/reproducible_coreboot.sh') diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index c672a8bf..19841f8f 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -115,8 +115,8 @@ nice ionice -c 3 \ cd coreboot-builds for i in * ; do + mkdir $TMPDIR/b1/$i if [ -f $i/coreboot.rom ] ; then - mkdir $TMPDIR/b1/$i cp -p $i/coreboot.rom $TMPDIR/b1/$i/ fi done @@ -184,30 +184,37 @@ cat > $PAGE <<- EOF

EOF write_page "

Reproducible Coreboot

" -write_page "

This is work in progress started on 2015-06-04." +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 "

This set up to test the master branch of coreboot.git monthly, but as this is brand new, currently updates are triggered much more often. Patches are very much welcome, the coreboot pages are solely generated by reproducible_coreboot.sh.

" write_page "

These tests were last run on $DATE for version ${COREBOOT_VERSION}.

$(echo -n '$COREBOOT')

" write_explaination_table coreboot write_page "

$RROMS ($PERCENT%) out of $ROMS built coreboot images were reproducible.

" +GOOD_PERCENT=$(echo "scale=1 ; ($GOOD_ROMS*100/$ALL_ROMS)" | bc) +BAD_PERCENT=$(echo "scale=1 ; ($BAD_ROMS*100/$ALL_ROMS)" | bc) +write_page "

$GOOD_ROMS ($GOOD_PERCENT%) out of $ALL_ROMS built coreboot images were reproducible, while $BAD_ROMS ($BAD_PERCENT%) failed to built from source.

" cat >> $PAGE <<- EOF -- cgit v1.2.3-54-g00ecf