summaryrefslogtreecommitdiff
path: root/bin/build-rpm-package
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-12-18 09:26:18 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2013-12-18 09:26:18 +0100
commit41b33d012b83eaa5fc5200a375e804aa8a00ea2e (patch)
treed3c8e544359a1ba7fb747c78f94331ad75f05505 /bin/build-rpm-package
parentbb65e74b36088b0da1e451271dc80101e268c0ea (diff)
downloadbuildscripts-41b33d012b83eaa5fc5200a375e804aa8a00ea2e.tar.gz
buildscripts-41b33d012b83eaa5fc5200a375e804aa8a00ea2e.tar.bz2
buildscripts-41b33d012b83eaa5fc5200a375e804aa8a00ea2e.zip
run the build daemons with nice to not affect the KVM instances on the build server so much
Diffstat (limited to 'bin/build-rpm-package')
-rwxr-xr-xbin/build-rpm-package2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 6b2dcc6..efa8a5a 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -239,7 +239,7 @@ build_packages() {
echo "Waiting for some other build to finish..."
sleep 30
done
- if mock -r ${l_DIST}-${l_CODENAME}-i386 --result $PKGDIST/$l_DIST/$l_CODENAME/i386 $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm; then
+ if nice mock -r ${l_DIST}-${l_CODENAME}-i386 --result $PKGDIST/$l_DIST/$l_CODENAME/i386 $PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm; then
rpmsign-unattended -D "%_gpg_name debian@x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
cat $PKGDIST/$l_DIST/$l_CODENAME/i386/build.log
else