From 7a6cbfdb1962080e0a0936499b1d5162e9d6bd80 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Tue, 15 Dec 2015 16:21:12 +0100 Subject: 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 5f237643..8b859d49 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 -- cgit v1.2.3-70-g09d2