summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_coreboot.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-06 20:44:33 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-06 20:44:33 +0200
commit449b07754f15a59334f4b47308beffa22f3ab58a (patch)
tree4522fa6a47cb3b8803f354e124a34dcd6f236962 /bin/reproducible_coreboot.sh
parent87f367d33a90be59ca7f4d33b01af7249b07a38e (diff)
downloadjenkins.debian.net-449b07754f15a59334f4b47308beffa22f3ab58a.tar.xz
reproducible coreboot: include coreboot version and notify irc.
Diffstat (limited to 'bin/reproducible_coreboot.sh')
-rwxr-xr-xbin/reproducible_coreboot.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh
index 3cf9b2fc..7719052e 100755
--- a/bin/reproducible_coreboot.sh
+++ b/bin/reproducible_coreboot.sh
@@ -95,6 +95,7 @@ cd coreboot
# still required because coreboot moved submodules and to take care of old git versions
git submodule update --init --checkout 3rdparty/blobs
COREBOOT="$(git log -1)"
+COREBOOT_VERSION=$(git describe)
echo "============================================================================="
echo "$(date -u) - Building cross compilers for ${ARCHS} now."
@@ -104,7 +105,7 @@ for ARCH in ${ARCHS} ; do
done
echo "============================================================================="
-echo "$(date -u) - Building coreboot images now - first build run."
+echo "$(date -u) - Building coreboot ${COREBOOT_VERSION} images now - first build run."
echo "============================================================================="
export TZ="/usr/share/zoneinfo/Etc/GMT+12"
# prevent failing using more than one CPU
@@ -183,7 +184,7 @@ 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 using <code>$COREBOOT</code>"
+write_page " Test were run on $DATE for version ${COREBOOT_VERSION}.<br /> <code>$COREBOOT</code>"
write_page " </p>"
write_explaination_table coreboot
write_page " <ul>"
@@ -215,6 +216,7 @@ publish_page
# the end
calculate_build_duration
print_out_duration
+irc_message "$REPRODUCIBLE_URL/coreboot/ has been updated."
# remove coreboot tree, we don't need it anymore...
rm coreboot -r