[Qa-jenkins-scm] [jenkins.debian.net] 04/05: reproducible fedora rpms: configure mock correctly (work around #723673)
Holger Levsen
holger at moszumanska.debian.org
Wed Dec 16 00:00:36 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 7a6cbfdb1962080e0a0936499b1d5162e9d6bd80
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Dec 15 16:21:12 2015 +0100
reproducible fedora rpms: configure mock correctly (work around #723673)
---
update_jdn.sh | 3 +++
1 file changed, 3 insertions(+)
diff --git a/update_jdn.sh b/update_jdn.sh
index 5f23764..8b859d4 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -343,8 +343,11 @@ fi
#
if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "jenkins" ] ; then
if ! grep mock /etc/group ; then
+ # these 4 commands are obsolete with mock 1.2.3-1 (=stretch)
sudo groupadd --system mock
sudo usermod -a -G mock jenkins
+ sudo chgrp mock /var/lib/mock/ /var/cache/mock/
+ sudo chmod 2775 /var/lib/mock/ /var/cache/mock/
fi
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