[X2Go-Commits] [buildscripts] 01/01: clean build chroot before build
git-admin at x2go.org
git-admin at x2go.org
Sat Oct 11 15:49:14 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository buildscripts.
commit e96a0fe92921c971daa9b5cfdd9152f0a0a7ee4a
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Sat Oct 11 15:49:09 2014 +0200
clean build chroot before build
---
bin/build-rpm-package | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index 4990643..b9459c9 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -231,7 +231,9 @@ build_packages() {
if [ "x$SKIP_ARCH" != "xx86_64" ] || [ "$IS_NOARCH" = "yes" ]; then
if [ "x$l_DIST" = "xopensuse" ]; then
OPENSUSE_DOWNLOAD_URL=$(echo "$OPENSUSE_DOWNLOAD_URL" | sed 's/#VERSION#/$l_DIST/')
- if sudo obs-build --repo "$OPENSUSE_DOWNLOAD_URL" \
+ if sudo obs-build \
+ --clean \
+ --repo "$OPENSUSE_DOWNLOAD_URL" \
--root "/var/cache/obs-build/$PKGDIST/$l_DIST/$l_CODENAME/x86_64/" \
$PKGDIST/$l_DIST/$l_CODENAME/$l_ARCH/rpmbuild/SRPMS/$PROJECT-$UPSTREAM_VERSION-$PKG_SRCRELEASE.$IS_RELEASE.git$DATE.$GITREV.$COMPONENT.src.rpm; then
mkdir -p "$PKGDIST/$l_DIST/$l_CODENAME/x86_64/"
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
More information about the x2go-commits
mailing list