From a04249d68186814d2c908cf70d34f1c0ba9eb0cf Mon Sep 17 00:00:00 2001 From: Andrew Schoen Date: Fri, 16 Dec 2016 10:50:29 -0600 Subject: [PATCH] ceph-installer-rpm: remove usage of 'sg' The sepia nodes, using JNLP, are having troubles building these rpms so let's just use OVH nodes until we can resolve this. The issue being that mock runs fine if we use 'sg', but the noarch rpm is never built. Signed-off-by: Andrew Schoen --- ceph-installer-rpm/build/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ceph-installer-rpm/build/build b/ceph-installer-rpm/build/build index 85376ed6..ae0958ef 100644 --- a/ceph-installer-rpm/build/build +++ b/ceph-installer-rpm/build/build @@ -14,9 +14,10 @@ sudo yum -y install fedpkg # Add the Jenkins slave UID to the mock group. sudo usermod -a -G mock $(whoami) +newgrp mock # Attempt the build. If it fails, print the mock logs to STDOUT. -sg mock -c "make rpm" || ( tail -n +1 {root,build}.log && exit 1 ) +make rpm || ( tail -n +1 {root,build}.log && exit 1 ) # Chacra time -- 2.39.5