From 936c5bf9a9c065edd9a905a12953e17429e61de6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 3 Jun 2015 22:49:59 +0200 Subject: reproducible: modify PATH --- bin/reproducible_html_graphs.sh | 1 + etc/pbuilderrc | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/reproducible_html_graphs.sh b/bin/reproducible_html_graphs.sh index d717d870..ec538604 100755 --- a/bin/reproducible_html_graphs.sh +++ b/bin/reproducible_html_graphs.sh @@ -609,6 +609,7 @@ create_main_stats_page() { 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 PATH=\"/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:\"PATH=\"/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/path\"" 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)" diff --git a/etc/pbuilderrc b/etc/pbuilderrc index 4fd3f642..ab772952 100644 --- a/etc/pbuilderrc +++ b/etc/pbuilderrc @@ -20,6 +20,7 @@ PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" # using 'unshare --uts'... if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then umask 0002 + PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/path" fi USEDEVSHM=yes -- cgit v1.2.3-54-g00ecf