From 87864448c3a94d25bd3a9893ce0d0a47e7e498cf Mon Sep 17 00:00:00 2001 From: Reiner Herrmann Date: Sat, 13 Jun 2015 18:50:57 +0200 Subject: reproducible: s/OpenWRT/OpenWrt/ --- bin/reproducible_openwrt.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'bin/reproducible_openwrt.sh') diff --git a/bin/reproducible_openwrt.sh b/bin/reproducible_openwrt.sh index 4d3c1271..1d1b2fb3 100755 --- a/bin/reproducible_openwrt.sh +++ b/bin/reproducible_openwrt.sh @@ -97,7 +97,7 @@ trap cleanup_tmpdirs INT TERM EXIT cd $TMPBUILDDIR echo "=============================================================================" -echo "$(date -u) - Cloning the OpenWRT git repository." +echo "$(date -u) - Cloning the OpenWrt git repository." echo "=============================================================================" git clone git://git.openwrt.org/openwrt.git cd openwrt @@ -123,7 +123,7 @@ ionice -c 3 nice \ make -j $NUM_CPU toolchain/install echo "=============================================================================" -echo "$(date -u) - Building OpenWRT ${OPENWRT_VERSION} - first build run." +echo "$(date -u) - Building OpenWrt ${OPENWRT_VERSION} - first build run." echo "=============================================================================" export TZ="/usr/share/zoneinfo/Etc/GMT+12" # actually build everything @@ -149,7 +149,7 @@ rm staging_dir/target-* -r rm bin/* -r echo "=============================================================================" -echo "$(date -u) - Building OpenWRT - second build run." +echo "$(date -u) - Building OpenWrt - second build run." echo "=============================================================================" export TZ="/usr/share/zoneinfo/Etc/GMT-14" export LANG="fr_CH.UTF-8" @@ -223,7 +223,7 @@ TIMEOUT="30m" DBDSUITE="unstable" DBDVERSION="$(schroot --directory /tmp -c source:jenkins-reproducible-${DBDSUITE}-debbindiff debbindiff -- --version 2>&1)" echo "=============================================================================" -echo "$(date -u) - Running $DBDVERSION on OpenWRT images and packages." +echo "$(date -u) - Running $DBDVERSION on OpenWrt images and packages." echo "=============================================================================" DBD_HTML=$(mktemp) # run debbindiff on the images @@ -312,20 +312,20 @@ EOF cat $BANNER_HTML >> $PAGE write_page "

" write_page "
" -write_page "

OpenWRT - reproducible wireless freedom$MAGIC_SIGN

" +write_page "

OpenWrt - reproducible wireless freedom$MAGIC_SIGN

" write_page "

Reproducible builds enable anyone to reproduce bit by bit identical binary packages from a given source, so that anyone can verify that a given binary derived from the source it was said to be derived. There is a lot more information about reproducible builds on the Debian wiki and on https://reproducible.debian.net. The wiki has a lot more information, eg. why this is useful, what common issues exist and which workarounds and solutions are known.
" -write_page " Reproducible OpenWRT is an effort to apply this to OpenWRT. Thus each OpenWR target is build twice, with a few varitations added and then the resulting images from the two builds are compared using debbindiff, which currently cannot detect .bin files as squashfs filesystems and also doesn't know how to handle the .ipk package format. Thus the resulting debbindiff output is not nearly as clear as it could be - hopefully these limitations will be overcome soon. Also please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.

" +write_page " Reproducible OpenWrt is an effort to apply this to OpenWrt Thus each OpenWR target is build twice, with a few varitations added and then the resulting images from the two builds are compared using debbindiff, which currently cannot detect .bin files as squashfs filesystems and also doesn't know how to handle the .ipk package format. Thus the resulting debbindiff output is not nearly as clear as it could be - hopefully these limitations will be overcome soon. Also please note that the toolchain is not varied at all as the rebuild happens on exactly the same system. More variations are expected to be seen in the wild.

" write_page "

There is a monthly run jenkins job to test the master branch of openwrt.git. Currently this job is triggered more often though, because this is still under development and brand new. The jenkins job is simply running reproducible_openwrt.sh in a Debian environment and this script is solely responsible for creating this page. Feel invited to join #debian-reproducible (on irc.oftc.net) to request job runs whenever sensible. Patches and other feedback are very much appreciated!

" write_page "

$GOOD_IMAGES ($GOOD_PERCENT_IMAGES%) out of $ALL_IMAGES built images and $GOOD_PACKAGES ($GOOD_PERCENT_PACKAGES%) out of $ALL_PACKAGES built packages were reproducible in our test setup." write_page " These tests were last run on $DATE for version ${OPENWRT_VERSION}.

" -write_explaination_table OpenWRT +write_explaination_table OpenWrt cat $DBD_HTML >> $PAGE write_page "
git commit built
" echo -n "$OPENWRT" >> $PAGE write_page "
" cat $TOOLCHAIN_HTML >> $PAGE write_page "
" -write_page_footer OpenWRT +write_page_footer OpenWrt publish_page rm -f $DBD_HTML $TOOLCHAIN_HTML $BANNER_HTML -- cgit v1.2.3-54-g00ecf