[rhel6-branch 5/30] Clean out the mock chroot before attempting to run the rest of the test.

mulkieran installerbot-noreply at redhat.com
Thu May 28 21:04:10 UTC 2015


From: Chris Lumens <clumens at redhat.com>

Otherwise it'll get hung up failing to download some package that exists.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 2eb0574..91a038e 100644
--- a/Makefile
+++ b/Makefile
@@ -134,6 +134,7 @@ scratch: po-empty
 	@echo "The archive is in $(PKGNAME)-$(VERSION).tar.gz"
 
 rc-release: scratch-bumpver scratch
+	mock -r $(MOCKCHROOT) --scrub all || exit 1
 	mock -r $(MOCKCHROOT) --buildsrpm  --spec ./$(SPECFILE) --sources . --resultdir $(PWD) || exit 1
 	mock -r $(MOCKCHROOT) --rebuild *src.rpm --resultdir $(PWD)  || exit 1
 


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/976b78a0f84272935dfdda49f393bb6001c45228


More information about the anaconda-patches mailing list