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_common.sh | 7 +++++-- bin/reproducible_coreboot.sh | 22 +++++++--------------- 2 files changed, 12 insertions(+), 17 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index ee30e835..b175f93c 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -244,8 +244,11 @@ write_page_header() { } write_page_footer() { - write_page "

There is more information about jenkins.debian.net and about reproducible builds of Debian available elsewhere. Last update: $(date +'%Y-%m-%d %H:%M %Z'). Copyright 2014-2015 Holger Levsen and others, GPL2 licensed. The weather icons are public domain and have been taken from the Tango Icon Library.

" - write_page "" + write_page "

There is more information about jenkins.debian.net and about reproducible builds of Debian available elsewhere. Last update: $(date +'%Y-%m-%d %H:%M %Z'). Copyright 2014-2015 Holger Levsen and others, GPL2 licensed. The weather icons are public domain and have been taken from the Tango Icon Library." + if [ "$1" = "coreboot" ] ; then + write_page "The Coreboot logo is Copyright © 2008 by Konsult Stuge and coresystems GmbH and can be freely used to refer to the Coreboot project." + fi + write_page "

" } write_page_meta_sign() { 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-70-g09d2