[rhel7-branch 2/6] Clean out the mock chroot before attempting to run the rest of the test.
bcl
installerbot-noreply at redhat.com
Wed Jun 3 18:07:42 UTC 2015
From: Chris Lumens <clumens at redhat.com>
Otherwise it'll get hung up failing to download some package that exists.
(cherry picked from commit 097771e46c24b6504423f8530c1a4a637f4e5d87)
Related: rhbz#1196721
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.am b/Makefile.am
index 5670c42..3a0c846 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -94,6 +94,7 @@ api:
doxygen docs/api.cfg
rc-release: scratch-bumpver scratch
+ mock -r $(MOCKCHROOT) --scrub all || exit 1
mock -r $(MOCKCHROOT) --buildsrpm --spec ./$(PACKAGE_NAME).spec --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/anaconda/commit/a46dcddabf69301e225194a0fef0f639682e53f3
More information about the anaconda-patches
mailing list