summaryrefslogtreecommitdiffstats
path: root/etc/pbuilderrc
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-16 09:53:27 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-06-16 09:56:34 +0200
commitbcf7c0d7522dfb019a48974989202bad4d3acb6b (patch)
tree0fa8b04a54bed5d838399f80bc8ba63878dfb397 /etc/pbuilderrc
parent9e73b91033ca8de4a2baed0d1bb781ab1fe5b804 (diff)
downloadjenkins.debian.net-bcf7c0d7522dfb019a48974989202bad4d3acb6b.tar.xz
reproducible: build: move all env variable to the temporary pbuilderrc
Diffstat (limited to 'etc/pbuilderrc')
-rw-r--r--etc/pbuilderrc7
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/pbuilderrc b/etc/pbuilderrc
index 84dbc47d..4ddfd109 100644
--- a/etc/pbuilderrc
+++ b/etc/pbuilderrc
@@ -15,12 +15,5 @@ export -n http_proxy
BINDMOUNTS="$BINDMOUNTS /sys"
# set PATH to predictable values, see #780729 and #780725
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
-# Use a different umask, but only do so when the UTS namespace differs from pid 1's UTS namespace.
-# This is only the case for the 2nd pbuilder run, which is started by bin/reproducible_build.sh
-# 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/the/path"
-fi
USEDEVSHM=yes