summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-29 11:15:04 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-29 11:15:04 +0200
commit3a50809e687454c80c99c02328e92b2b2261de33 (patch)
tree89aaee05a4f64cf885534be5a066d70a76116c67 /hosts/jenkins/etc
parenta2423ddb3fcbf39544169a0e27300babfa29c903 (diff)
downloadjenkins.debian.net-3a50809e687454c80c99c02328e92b2b2261de33.tar.xz
reproducible: simply 'mknod /dev/fuse' before using it, thanks Andrew
Diffstat (limited to 'hosts/jenkins/etc')
-rwxr-xr-xhosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment2
-rw-r--r--hosts/jenkins/etc/pbuilderrc1
2 files changed, 1 insertions, 2 deletions
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 8cc09be5..1179e6bc 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -13,8 +13,8 @@ echo "I: Adding a custom variable just for the fun of it..." >&2
export CAPTURE_ENVIRONMENT="I capture the environment"
# use disorderfs, mount it as user
-exit 0
if [ -x /usr/bin/disorderfs ] ; then
+ mknod -m 666 /dev/fuse c 10 229
mv /tmp/buildd /tmp/disorderfs
sudo -u pbuilder2 disorderfs /tmp/disorderfs /tmp/buildd
else
diff --git a/hosts/jenkins/etc/pbuilderrc b/hosts/jenkins/etc/pbuilderrc
index fa06ba97..3c330017 100644
--- a/hosts/jenkins/etc/pbuilderrc
+++ b/hosts/jenkins/etc/pbuilderrc
@@ -26,6 +26,5 @@ PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
# 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"
- #BINDMOUNTS="$BINDMOUNTS /dev/fuse"
fi