From 5c76d154fc9eb0c8c7b375b6e8ae8db35663b83f Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 8 Jun 2015 13:39:16 +0200 Subject: reproducible coreboot: add some more explainations --- bin/reproducible_common.sh | 8 ++++++++ bin/reproducible_coreboot.sh | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index c351dc9c..90057964 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -260,6 +260,9 @@ write_explaination_table() { if [ "$1" = "debian" ] ; then write_page "hostname$(hostname)i-capture-the-hostname" write_page "domainname$(hostname -d)i-capture-the-domainname" + else + write_page "hostname is not yet varied between rebuilds." + write_page "domainname is not yet varied between rebuilds." fi write_page "env TZTZ=\"/usr/share/zoneinfo/Etc/GMT+12\"TZ=\"/usr/share/zoneinfo/Etc/GMT-14\"" write_page "env LANGLANG=\"en_GB.UTF-8\"LANG=\"fr_CH.UTF-8\"" @@ -274,6 +277,11 @@ write_explaination_table() { write_page "gidgid=1111gid=2222" write_page "env DEB_BUILD_OPTIONSDEB_BUILD_OPTIONS=\"parallel=$NUM_CPU\"DEB_BUILD_OPTIONS=\"parallel=$(echo $NUM_CPU-1|bc)\"
(using a different number of cores is on the agenda)" write_page "UTS namespaceshared with the hostmodified using /usr/bin/unshare --uts" + else + write_page "env USER is not yet varied between rebuilds." + write_page "uid is not yet varied between rebuilds." + write_page "gid is not yet varied between rebuilds." + write_page "UTS namespace is not yet varied between rebuilds." fi write_page "kernel version, modified using /usr/bin/linux64 --uname-2.6$(uname -sr)$(/usr/bin/linux64 --uname-2.6 uname -sr)" write_page "umask00220002" diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index c1cc3297..40f94648 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -180,8 +180,8 @@ cat > $PAGE <<- EOF

EOF write_page "

Reproducible Coreboot

" -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 "

Reproducible builds enable anyone to reproduce bit by bit identical binary packages from a given source, si 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.
" +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. Please note that more variations are to be expected in the wild.t

" write_page "

This set up to test the master branch of coreboot.git monthly, but as this is brand new, currently updates are triggered 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 >> $PAGE -- cgit v1.2.3-70-g09d2