This repository was archived by the owner on Oct 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
python3-anaconda: enlarge timeout of wait_for_modules
Workaround runqemu without kvm, starting dbus without kvm is very slow Signed-off-by: Hongxu Jia <[email protected]>
- Loading branch information
1 parent
d2e8326
commit 57a9ae9
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
recipes-installer/anaconda/files/0066-enlarge-timeout-of-wait_for_modules.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From f4129fcf88780b01c6fc02fdbda544c086c22159 Mon Sep 17 00:00:00 2001 | ||
From: Hongxu Jia <[email protected]> | ||
Date: Thu, 27 Sep 2018 21:26:12 +0800 | ||
Subject: [PATCH] enlarge timeout of wait_for_modules | ||
|
||
Workaround runqemu without kvm, starting dbus in it very slow | ||
|
||
Upstream-Status: Inappropriate [oe specific] | ||
|
||
Signed-off-by: Hongxu Jia <[email protected]> | ||
--- | ||
pyanaconda/startup_utils.py | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/pyanaconda/startup_utils.py b/pyanaconda/startup_utils.py | ||
index cab54b4..2da4a2c 100644 | ||
--- a/pyanaconda/startup_utils.py | ||
+++ b/pyanaconda/startup_utils.py | ||
@@ -442,7 +442,7 @@ def set_installation_method_from_anaconda_options(anaconda, ksdata): | ||
log.error("Unknown method: %s", anaconda.methodstr) | ||
|
||
|
||
-def wait_for_modules(timeout=60): | ||
+def wait_for_modules(timeout=600): | ||
"""Wait for the DBus modules. | ||
|
||
:param timeout: seconds to the timeout | ||
-- | ||
2.7.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters