[X2Go-Commits] buildscripts.git - master (branch) updated: 43c43a552bdeab3181ab356425c429d6885d87e4
X2Go dev team
git-admin at x2go.org
Sun Dec 8 01:47:04 CET 2013
The branch, master has been updated
via 43c43a552bdeab3181ab356425c429d6885d87e4 (commit)
from f12e0d45786e2fa91da6f13e3539a23073c9d2db (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 43c43a552bdeab3181ab356425c429d6885d87e4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sun Dec 8 01:46:21 2013 +0100
wait for other builds to give free mock for the same distro version and arch
-----------------------------------------------------------------------
Summary of changes:
bin/build-rpm-package | 8 ++++++++
1 file changed, 8 insertions(+)
The diff of changes is:
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 29631cf..cd6af45 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -226,11 +226,19 @@ build_packages() {
#fi
if [ "x$SKIP_ARCH" != "xx86_64" ] || [ "$IS_NOARCH" = "yes" ]; then
+ while [ -d ~mock/${l_DIST}-${l_CODENAME}-x86_64 ]; do
+ echo "Waiting for some other build to finish..."
+ sleep 30
+ done
mock -r ${l_DIST}-${l_CODENAME}-x86_64 --result $PKGDIST/$l_DIST/$l_CODENAME/x86_64 $PKGDIST/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm
cat $PKGDIST/$l_DIST/$l_CODENAME/x86_64/build.log
rpmsign-unattended -D "%_gpg_name debian at x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/x86_64/*.rpm
fi
if [ "x$SKIP_ARCH" != "xi386" ] && [ "$IS_NOARCH" != "yes" ]; then
+ while [ -d ~mock/${l_DIST}-${l_CODENAME}-i386 ]; do
+ echo "Waiting for some other build to finish..."
+ sleep 30
+ done
mock -r ${l_DIST}-${l_CODENAME}-i386 --result $PKGDIST/$l_DIST/$l_CODENAME/i386 $PKGDIST/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm
cat $PKGDIST/$l_DIST/$l_CODENAME/i386/build.log
rpmsign-unattended -D "%_gpg_name debian at x2go.org" --addsign $PKGDIST/$l_DIST/$l_CODENAME/i386/*.rpm
hooks/post-receive
--
buildscripts.git (X2Go packaging scripts)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "buildscripts.git" (X2Go packaging scripts).
More information about the x2go-commits
mailing list