From dc559d219b5119e2b3e2cacfcda0c9ee77c6c3df Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 7 Jun 2015 13:53:14 +0200 Subject: reproducible coreboot: improve layout, fix irc notification --- TODO | 4 +--- bin/reproducible_build.sh | 5 ----- bin/reproducible_common.sh | 5 +++++ bin/reproducible_coreboot.sh | 11 +++++------ userContent/reproducible/coreboot/landing_style.css | 2 +- 5 files changed, 12 insertions(+), 15 deletions(-) diff --git a/TODO b/TODO index 5afd80df..5d351995 100644 --- a/TODO +++ b/TODO @@ -225,11 +225,9 @@ egrep -R -l '(debbindiff had trouble comparing|maybe there is still )' /var/lib/ well, and everybody in debian-keyring from sid can uplood? :) that would be wonderful. -* coreboot build job +* coreboot ** add more variations: domain+hostname, PATH, uid+gid, USER, UTS namespace, kernel version, umask ** clone with https? -* coreboot html -** include rom name via path in dbd output * openwrt ---- diff --git a/bin/reproducible_build.sh b/bin/reproducible_build.sh index c3473032..23c2601f 100755 --- a/bin/reproducible_build.sh +++ b/bin/reproducible_build.sh @@ -19,11 +19,6 @@ ARCH="amd64" # sleep 1-12 secs to randomize start times /bin/sleep $(echo "scale=1 ; $(shuf -i 1-120 -n 1)/10" | bc ) -irc_message() { - local MESSAGE="$@" - kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE" || true # don't fail the whole job -} - create_results_dirs() { mkdir -p $BASE/dbd/${SUITE}/${ARCH} mkdir -p $BASE/rbuild/${SUITE}/${ARCH} diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index 7e89a028..b7400adb 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -360,3 +360,8 @@ print_out_duration() { echo "$(date) - total duration: ${HOUR}h ${MIN}m ${SEC}s." | tee -a ${RBUILDLOG} } +irc_message() { + local MESSAGE="$@" + kgb-client --conf /srv/jenkins/kgb/debian-reproducible.conf --relay-msg "$MESSAGE" || true # don't fail the whole job +} + diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index 1ff22e57..a5280bd7 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -182,11 +182,10 @@ cat > $PAGE <<- EOF 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 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 for version ${COREBOOT_VERSION}.
$COREBOOT" -write_page "

" +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_explaination_table coreboot write_page "
    " ROMS=0 @@ -198,7 +197,7 @@ for i in * ; do call_debbindiff $i if [ -f $TMPDIR/$i.html ] ; then mv $TMPDIR/$i.html $BASE/coreboot/dbd/$i.html - write_page "
  • \"unreproducible$i is unreproducible.
  • " + write_page "
  • \"unreproducible $i is unreproducible.
  • " else write_page "
  • \"reproducible$i had no debbindiff output so its probably reproducible :)
  • " let RROMS+=1 diff --git a/userContent/reproducible/coreboot/landing_style.css b/userContent/reproducible/coreboot/landing_style.css index b12eab8d..d85838b3 100644 --- a/userContent/reproducible/coreboot/landing_style.css +++ b/userContent/reproducible/coreboot/landing_style.css @@ -458,7 +458,7 @@ img.aligncenter, .site-content .entry-meta, .page-content { margin: 0 auto; - max-width: 550px; + max-width: 90%; } .page-content { -- cgit v1.2.3-70-g09d2