From a813a6f122905e422155a02ee4d3b2d63ad5143c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 7 Jun 2015 14:13:26 +0200 Subject: reproducible coreboot: add variations of PATH, umask and kernel version --- bin/reproducible_common.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/reproducible_common.sh') diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh index b7400adb..ee30e835 100755 --- a/bin/reproducible_common.sh +++ b/bin/reproducible_common.sh @@ -263,9 +263,9 @@ write_explaination_table() { 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\"" + 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\"" local NUM_CPU=$(cat /proc/cpuinfo |grep '^processor'|wc -l) if [ "$1" = "debian" ] ; 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\"" write_page "env BUILDUSERIDBUILDUSERID=\"1111\"BUILDUSERID=\"2222\"" write_page "env BUILDUSERNAMEBUILDUSERNAME=\"pbuilder1\"BUILDUSERNAME=\"pbuilder2\"" write_page "env USERUSER=\"pbuilder1\"USER=\"pbuilder2\"" @@ -273,9 +273,9 @@ 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" - 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" 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" write_page "CPU type$(cat /proc/cpuinfo|grep 'model name'|head -1|cut -d ":" -f2-)same for both builds (currently, work in progress)" write_page "year, month, datetoday ($DATE)same for both builds (currently, work in progress)" write_page "hour, minutehour is usually the same...usually, the minute differs... (currently, work in progress)" -- cgit v1.2.3-70-g09d2