summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/pbuilder/rebuild-hooks
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-29 11:31:10 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-29 11:31:10 +0200
commit2ae80ee57d61ff2f822d627f17f0f50dd0b14c65 (patch)
tree11b91ec5494fcd07b389371cbd3e1477668f5345 /hosts/jenkins/etc/pbuilder/rebuild-hooks
parent9fc197e9b5f7c48d99c9356a38ed0b872535c0b1 (diff)
downloadjenkins.debian.net-2ae80ee57d61ff2f822d627f17f0f50dd0b14c65.tar.xz
reproducible: fix perms
Diffstat (limited to 'hosts/jenkins/etc/pbuilder/rebuild-hooks')
-rwxr-xr-xhosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment1
1 files changed, 1 insertions, 0 deletions
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 3955710d..7defb17e 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -17,6 +17,7 @@ if [ -x /usr/bin/disorderfs ] ; then
mknod -m 666 /dev/fuse c 10 229
mv /tmp/buildd /tmp/disorderfs
mkdir /tmp/buildd
+ chown pbuilder2 /tmp/buildd
su pbuilder2 -c 'disorderfs /tmp/disorderfs /tmp/buildd'
else
echo "Warning: disorderfs not available."