From 65eb0aaacb1a14ebd7ebf85d0f90b6633598a5f6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 9 Jun 2015 02:44:37 +0200 Subject: reproducible: introduce new variation to capture environment --- bin/reproducible_common.sh | 2 ++ bin/reproducible_coreboot.sh | 1 + 2 files changed, 3 insertions(+) (limited to 'bin') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index e532b16e..469205dd 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -264,6 +264,8 @@ 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 + export CAPTURE_ENVIRONMENT="I capture the environment" + write_page "env CAPTURE_ENVIRONMENTnot setCAPTURE_ENVIRONMENT=\"I capture the environment\"" 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_ALLunsetLC_ALL=\"fr_CH.UTF-8\"" diff --git a/bin/reproducible_coreboot.sh b/bin/reproducible_coreboot.sh index f238fefe..92dc3ff0 100755 --- a/bin/reproducible_coreboot.sh +++ b/bin/reproducible_coreboot.sh @@ -137,6 +137,7 @@ export TZ="/usr/share/zoneinfo/Etc/GMT-14" export LANG="fr_CH.UTF-8" export LC_ALL="fr_CH.UTF-8" export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" +export CAPTURE_ENVIRONMENT="I capture the environment" umask 0002 # use allmost all cores for second build NEW_NUM_CPU=$(echo $NUM_CPU-1|bc) -- cgit v1.2.3-54-g00ecf