[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible: (would) use new --multi-user=yes feature from disorderfs 0.3.0-1

Holger Levsen holger at moszumanska.debian.org
Tue Sep 22 15:31:48 UTC 2015


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit cf01779811629bb202cc45cea3bdcc4bac2608bc
Author: Holger Levsen <holger at layer-acht.org>
Date:   Tue Sep 22 17:31:29 2015 +0200

    reproducible: (would) use new --multi-user=yes feature from disorderfs 0.3.0-1
---
 TODO                                                            | 1 +
 hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment | 7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/TODO b/TODO
index e9238b4..cb12d96 100644
--- a/TODO
+++ b/TODO
@@ -200,6 +200,7 @@ properties:
 ** pkg sets are still amd64 only atm…
 ** use disorderfs:
 *** code is there but disabled, but scripts are only in hosts/jenkins/ and need to be copied to hosts/*/
+*** needs disorderfs 0.3.0-1 to be in testing first… (or uploaded to our repo)
 *** document usage in diff table...
 
 * lesser prio
diff --git a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
index 7f099dc..9d0d440 100755
--- a/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
+++ b/hosts/jenkins/etc/pbuilder/rebuild-hooks/D01_modify_environment
@@ -12,14 +12,13 @@ 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, mount it as user
-exit 0
+# use disorderfs
+exit 0 # currently disabled
 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'
+	disorderfs --multi-user=yes /tmp/disorderfs /tmp/buildd
 else
 	echo "Warning: disorderfs not available."
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list