summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-03 22:49:59 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-03 22:49:59 +0200
commit936c5bf9a9c065edd9a905a12953e17429e61de6 (patch)
treef8d4db15bf98242bee836d07893430c76bf2d85c
parente899e8a2e9cbb9c89571465f848ec3e0fd477b03 (diff)
downloadjenkins.debian.net-936c5bf9a9c065edd9a905a12953e17429e61de6.tar.xz
reproducible: modify PATH
-rwxr-xr-xbin/reproducible_html_graphs.sh1
-rw-r--r--etc/pbuilderrc1
2 files changed, 2 insertions, 0 deletions
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 "<tr><td>env LANG</td><td>LANG=\"en_GB.UTF-8\"</td><td>LANG=\"fr_CH.UTF-8\"</td></tr>"
write_page "<tr><td>env LC_ALL</td><td><em>unset</em></td><td>LC_ALL=\"fr_CH.UTF-8\"</td></tr>"
local NUM_CPU=$(cat /proc/cpuinfo |grep ^processor|wc -l)
+ write_page "<tr><td>env PATH=\"/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:\"</td><td>PATH=\"/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/path\"</td></tr>"
write_page "<tr><td>env DEB_BUILD_OPTIONS</td><td>DEB_BUILD_OPTIONS=\"parallel=$NUM_CPU\"</td><td>DEB_BUILD_OPTIONS=\"parallel=$(echo $NUM_CPU-1|bc)\"<br />(using a different number of cores is on the agenda)</td></tr>"
write_page "<tr><td>UTS namespace</td><td><em>shared with the host</em></td><td><em>modified using</em> /usr/bin/unshare --uts</td></tr>"
write_page "<tr><td>kernel version, modified using /usr/bin/linux64 --uname-2.6</td><td>$(uname -sr)</td><td>$(/usr/bin/linux64 --uname-2.6 uname -sr)</td></tr>"
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