[PATCH blivet] Clean out the mock chroot before attempting to run the rest of the test.
by Chris Lumens
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
--
2.2.2
9 years, 2 months
[PATCH] Clean out the mock chroot before attempting to run the rest of the test.
by Chris Lumens
Otherwise it'll get hung up failing to download some package that exists.
---
Makefile.am | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.am b/Makefile.am
index 1b3c044..1a1e521 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -87,6 +87,7 @@ release:
$(MAKE) dist && $(MAKE) tag && git checkout -- $(srcdir)/po/$(PACKAGE_NAME).pot
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
--
2.2.2
9 years, 2 months
[anaconda][master/f22-branch] Can't add thread AnaExecuteStorageThread (#1200613)
by Jiří Konečný
Before start of the new thread 'AnaExecuteStorageThread' wait for the old thread
to finish.
Remove gtk_action_nowait to prevent blocking of main thread.
---
pyanaconda/ui/gui/spokes/storage.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/ui/gui/spokes/storage.py b/pyanaconda/ui/gui/spokes/storage.py
index 8273dcb..bba16f9 100644
--- a/pyanaconda/ui/gui/spokes/storage.py
+++ b/pyanaconda/ui/gui/spokes/storage.py
@@ -308,11 +308,13 @@ class StorageSpoke(NormalSpoke, StorageChecker):
# user may have set up before now.
self.storage.config.clearNonExistent = self.data.autopart.autopart
- @gtk_action_nowait
def execute(self):
# Spawn storage execution as a separate thread so there's no big delay
# going back from this spoke to the hub while StorageChecker.run runs.
# Yes, this means there's a thread spawning another thread. Sorry.
+
+ # Wait for the existing thread to finish before starting the new one.
+ threadMgr.wait(name=constants.THREAD_EXECUTE_STORAGE)
threadMgr.add(AnacondaThread(name=constants.THREAD_EXECUTE_STORAGE,
target=self._doExecute))
--
2.1.0
9 years, 2 months