summaryrefslogtreecommitdiffstats
path: root/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-08-29 10:06:05 +0200
committerHolger Levsen <holger@layer-acht.org>2015-08-29 10:06:05 +0200
commit5a94246584d559bb0731974471d82598d6246754 (patch)
tree38b260cfc435eac8c94cd78ed422a0f81eca1196 /hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
parente5ddf396a38e4e76b742272991560761cc807814 (diff)
downloadjenkins.debian.net-5a94246584d559bb0731974471d82598d6246754.tar.xz
reproducible: use disorderfs as user
Diffstat (limited to 'hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment')
-rwxr-xr-xhosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment4
1 files changed, 2 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 9046fdc1..da5f86c6 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -12,6 +12,6 @@ domainname i-capture-the-domain
echo "I: Adding a custom variable just for the fun of it..." >&2
export CAPTURE_ENVIRONMENT="I capture the environment"
-# use disorderfs
+# use disorderfs, mount it as user
mv /tmp/buildd /tmp/disorderfs
-disorderfs /tmp/disorderfs /tmp/buildd
+sudo -u pbuilder2 disorderfs /tmp/disorderfs /tmp/buildd