summaryrefslogtreecommitdiffstats
path: root/update_jdn.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-12-12 19:23:24 +0100
committerHolger Levsen <holger@layer-acht.org>2015-12-12 19:24:38 +0100
commit2faeeb2ded41e56691abb0313f2447358e49355a (patch)
tree218cb8a9059f08cd821bd01879c79d3fec710109 /update_jdn.sh
parenta09b074e787108a5b7624c1ab219d2127095d856 (diff)
downloadjenkins.debian.net-2faeeb2ded41e56691abb0313f2447358e49355a.tar.xz
reproducible fedora rpms: configure mock and yum on jenkins the same as on pb-build3
Diffstat (limited to 'update_jdn.sh')
-rwxr-xr-xupdate_jdn.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/update_jdn.sh b/update_jdn.sh
index cb29b5e5..ad06d7aa 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -263,7 +263,8 @@ if [ -f /etc/debian_version ] ; then
libvirt-dev
libvpx1
libxslt1-dev
- linux-image-amd64
+ linux-image-amd64
+ mock
moreutils
mr
mtr-tiny
@@ -340,7 +341,7 @@ fi
#
# prepare mock to build rpms
#
-if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] ; then
+if [ "$HOSTNAME" = "profitbricks-build3-amd64" ] || [ "$HOSTNAME" = "jenkins" ] ; then
if ! grep mock /etc/group ; then
sudo groupadd --system mock
sudo usermod -a -G mock jenkins