From 100772e5c8294c5437114de8475fbc15cade6657 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 17 Oct 2015 00:27:44 +0200 Subject: reproducible arch: explain variations between the two builds --- bin/reproducible_common.sh | 28 ++++++++++++++++++++-------- bin/reproducible_html_archlinux.sh | 1 + 2 files changed, 21 insertions(+), 8 deletions(-) diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index baa9bba5..d13a342e 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -323,16 +323,22 @@ write_explaination_table() { write_page "hostname is not yet varied between rebuilds of $1." write_page "domainname is not yet varied between rebuilds of $1." fi - if [ "$1" != "FreeBSD" ] ; then + if [ "$1" != "FreeBSD" ] && [ "$1" != "Archlinux" ] ; then write_page "env CAPTURE_ENVIRONMENTnot setCAPTURE_ENVIRONMENT=\"I capture the environment\"" 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\"" - write_page "env LC_ALLnot setLC_ALL=\"fr_CH.UTF-8\"" - if [ "$1" != "FreeBSD" ] ; then + if [ "$1" != "Archlinux" ] ; then + 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\"" + write_page "env LC_ALLnot setLC_ALL=\"fr_CH.UTF-8\"" + else + write_page "env TZ is not yet varied between rebuilds of $1.\"" + write_page "env LANG is not yet varied between rebuilds of $1.\"" + write_page "env LC_ALL is not yet varied between rebuilds of $1.\"" + fi + if [ "$1" != "FreeBSD" ] && [ "$1" != "Archlinux" ] ; then write_page "env PATHPATH=\"/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:\"PATH=\"/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path\"" else - write_page "env PATH is not yet varied between rebuilds of $1.\"is not yet varied between rebuilds of $1.\"" + write_page "env PATH is not yet varied between rebuilds of $1.\"" fi if [ "$1" = "debian" ] ; then write_page "env BUILDUSERIDBUILDUSERID=\"1111\"BUILDUSERID=\"2222\"" @@ -353,10 +359,16 @@ write_explaination_table() { if [ "$1" != "FreeBSD" ] ; then if [ "$1" = "debian" ] ; then write_page "kernel version, modified using /usr/bin/linux64 --uname-2.6one of: $(cat /srv/reproducible-results/node-information/* | grep KERNEL1 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '
  ')one of: $(cat /srv/reproducible-results/node-information/* | grep KERNEL2 | cut -d '=' -f2- | sort -u | tr '\n' '\0' | xargs -0 -n1 echo '
  ')" - else + if [ "$1" != "Archlinux" ] ; then write_page "kernel version, modified using /usr/bin/linux64 --uname-2.6$(uname -sr)$(/usr/bin/linux64 --uname-2.6 uname -sr)" + else + write_page "kernel version is not yet varied between rebuilds of $1.\"" + fi + if [ "$1" != "Archlinux" ] ; then + write_page "umask00220002" + else + write_page "umask is not yet varied between rebuilds of $1." fi - write_page "umask00220002" else write_page "FreeBSD kernel version is not yet varied between rebuilds of $1." write_page "umask is not yet varied between rebuilds of $1." diff --git a/bin/reproducible_html_archlinux.sh b/bin/reproducible_html_archlinux.sh index 345547c6..327be4a9 100755 --- a/bin/reproducible_html_archlinux.sh +++ b/bin/reproducible_html_archlinux.sh @@ -27,6 +27,7 @@ cat > $PAGE <<- EOF EOF write_page_intro Archlinux +write_explaination_table Archlinux write_page "" for PKG in $(find $ARCHBASE/* -maxdepth 1 -type d -exec basename {} \;) ; do write_page " " -- cgit v1.2.3-70-g09d2
source packagetest date1st build log2nd build logdiffoscope output for binary packages