summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-07 13:53:14 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-07 13:53:14 +0200
commitdc559d219b5119e2b3e2cacfcda0c9ee77c6c3df (patch)
tree049cf54dd767c193810fd118c6dcb209dea58ef0
parent118d149171d470070405cf18a27485d819a65111 (diff)
downloadjenkins.debian.net-dc559d219b5119e2b3e2cacfcda0c9ee77c6c3df.tar.xz
reproducible coreboot: improve layout, fix irc notification
-rw-r--r--TODO4
-rwxr-xr-xbin/reproducible_build.sh5
-rwxr-xr-xbin/reproducible_common.sh5
-rwxr-xr-xbin/reproducible_coreboot.sh11
-rw-r--r--userContent/reproducible/coreboot/landing_style.css2
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/
<h01ger> well, and everybody in debian-keyring from sid can uplood? :)
<mapreri> 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 " <h1>Reproducible Coreboot</h1>"
write_page " <p><em>This is work in progress started on 2015-06-04.</em>"
-write_page " <em>Reproducible builds</em> enable anyone to reproduce bit by bit identical binary packages from a given source. There is a lot more information about <a href=\"https://wiki.debian.org/ReproducibleBuilds\">reproducible builds on the Debian wiki</a> and on <a href=\"https://reproducible.debian.net\">https://reproducible.debian.net</a>.<br />"
-write_page " <em>Reproducible Coreboot</em> 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 <a href=\"https://tracker.debian.org/debbindiff\">debbindiff</a>.<br />"
-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 <a href=\"http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_coreboot.sh\">reproducible_coreboot.sh</a>.<br />"
-write_page " Test were run on $DATE for version ${COREBOOT_VERSION}.<br /> <code>$COREBOOT</code>"
-write_page " </p>"
+write_page " <p><em>Reproducible builds</em> enable anyone to reproduce bit by bit identical binary packages from a given source. There is a lot more information about <a href=\"https://wiki.debian.org/ReproducibleBuilds\">reproducible builds on the Debian wiki</a> and on <a href=\"https://reproducible.debian.net\">https://reproducible.debian.net</a>.</p>"
+write_page " <p><em>Reproducible Coreboot</em> 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 <a href=\"https://tracker.debian.org/debbindiff\">debbindiff</a>.</p>"
+write_page " <p>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 <a href=\"http://anonscm.debian.org/cgit/qa/jenkins.debian.net.git/tree/bin/reproducible_coreboot.sh\">reproducible_coreboot.sh</a>.</p>"
+write_page " <p>Test were run on $DATE for version ${COREBOOT_VERSION}.</p><p><code>$COREBOOT</code></p>"
write_explaination_table coreboot
write_page " <ul>"
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 " <li><a href=\"dbd/$i.html\"><img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" />$i</a> is unreproducible.</li>"
+ write_page " <li><a href=\"dbd/$i.html\"><img src=\"/userContent/static/weather-showers-scattered.png\" alt=\"unreproducible icon\" /> $i</a> is unreproducible.</li>"
else
write_page " <li><img src=\"/userContent/static/weather-clear.png\" alt=\"reproducible icon\" />$i had no debbindiff output so its probably reproducible :)</li>"
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 {