From 76246808e76ac5449a51520385c8da09cdf42939 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 7 Jun 2015 14:36:56 +0200 Subject: reproducible coreboot: more polishing for coreboot.html --- bin/reproducible_coreboot.sh | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'bin/reproducible_coreboot.sh') diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index ebc315e0..c672a8bf 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -67,14 +67,6 @@ call_debbindiff() { esac } -# FIXME: include these variations -#build_rebuild() { -#( timeout -k 12h 12h nice ionice -c 3 sudo \ -# printf "BUILDUSERID=2222\nBUILDUSERNAME=pbuilder2\n" > $TMPCFG -# /usr/bin/linux64 --uname-2.6 \ -# /usr/bin/unshare --uts -- \ -# --hookdir /etc/pbuilder/rebuild-hooks \ - # # main # @@ -83,7 +75,7 @@ TMPDIR=$(mktemp --tmpdir=/srv/reproducible-results -d) # where everything actua trap cleanup_tmpdir INT TERM EXIT cd $TMPDIR -DATE=$(date -u +'%Y-%m-%d %H:%M') +DATE=$(date -u +'%Y-%m-%d') START=$(date +'%s') mkdir b1 b2 @@ -185,18 +177,18 @@ cat > $PAGE <<- EOF

 

-

coreboot

+

coreboot
-

coreboot™: fast, 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 "

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 set up 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 for version ${COREBOOT_VERSION}.

$COREBOOT

" +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 "
    " ROMS=0 @@ -220,7 +212,7 @@ cat >> $PAGE <<- EOF
EOF -write_page_footer +write_page_footer coreboot cd .. PAGE=coreboot/coreboot.html publish_page -- cgit v1.2.3-54-g00ecf