From 894fbaf860fed21b0aa9a872e66123c13326b210 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 25 May 2015 09:26:17 +0200 Subject: reproducible: explain that we are only varying DEB_BUILD_OPTIONS=parallel=X atm --- bin/reproducible_html_graphs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index 7dff8068..e9ca1517 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -589,12 +589,12 @@ create_main_stats_page() { 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\"" + local NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) + 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" write_page "CPU type$(cat /proc/cpuinfo|grep 'model name'|head -1|cut -d ":" -f2-)same for both builds (currently, work in progress)" - local NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l) - write_page "number of cores used$NUM_CPU$(echo $NUM_CPU-1|bc)" 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)" write_page "everything else...is likely the same. So far, this is just about the prospects of reproducible builds of Debian - there will be more variations in the wild." -- cgit v1.2.3-70-g09d2