From e4eec52c0e8ef47c52e3b5a2f30300cfa280757d Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 29 Aug 2015 10:23:08 +0200 Subject: reproducible: bindmount /dev/fuse for the 2nd build using disorderfs --- hosts/jenkins/etc/pbuilderrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hosts') diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/jenkins/etc/pbuilderrc index 41aedae5..a97a10d3 100644 --- a/hosts/jenkins/etc/pbuilderrc +++ b/hosts/jenkins/etc/pbuilderrc @@ -23,8 +23,9 @@ BINDMOUNTS="$BINDMOUNTS /sys /dev/shm" # set PATH to predictable values, see #780729 and #780725 PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" -# used on reproducible builds +# used for reproducible builds tests, when doing the 2nd build 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" + PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" + BINDMOUNTS="$BINDMOUNTS /dev/fuse" fi -- cgit v1.2.3-70-g09d2