diff options
author | Holger Levsen <holger@layer-acht.org> | 2015-08-29 11:15:04 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-08-29 11:15:04 +0200 |
commit | 3a50809e687454c80c99c02328e92b2b2261de33 (patch) | |
tree | 89aaee05a4f64cf885534be5a066d70a76116c67 | |
parent | a2423ddb3fcbf39544169a0e27300babfa29c903 (diff) | |
download | jenkins.debian.net-3a50809e687454c80c99c02328e92b2b2261de33.tar.xz |
reproducible: simply 'mknod /dev/fuse' before using it, thanks Andrew
-rwxr-xr-x | hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment | 2 | ||||
-rw-r--r-- | hosts/jenkins/etc/pbuilderrc | 1 |
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 |