summaryrefslogtreecommitdiffstats
path: root/etc/pbuilderrc
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@mapreri.org>2015-06-16 10:32:56 +0200
committerMattia Rizzolo <mattia@mapreri.org>2015-06-16 10:32:56 +0200
commit864b1b23b13929dccedc60a476903ddcbec01ba2 (patch)
tree742469e051a056c6229c049b48132275e61faa5f /etc/pbuilderrc
parentdf8ddb2358ef364063e5fb7bed9945cc49ca2cd3 (diff)
downloadjenkins.debian.net-864b1b23b13929dccedc60a476903ddcbec01ba2.tar.xz
reproducible: build/pbuilder: partially revert the last change, since moving PATH to the temporary pbuilderrc broke pbuilder
Diffstat (limited to 'etc/pbuilderrc')
-rw-r--r--etc/pbuilderrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/pbuilderrc b/etc/pbuilderrc
index 4ddfd109..dc611e6a 100644
--- a/etc/pbuilderrc
+++ b/etc/pbuilderrc
@@ -17,3 +17,9 @@ BINDMOUNTS="$BINDMOUNTS /sys"
PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
USEDEVSHM=yes
+
+# used on reproducible builds
+if [ "$(readlink /proc/1/ns/uts)" != "$(readlink /proc/self/ns/uts)" ]; then
+ PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path"
+fi
+