Skip to content
This repository was archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
python3-anaconda: enlarge timeout of wait_for_modules
Browse files Browse the repository at this point in the history
Workaround runqemu without kvm, starting dbus without kvm is very slow

Signed-off-by: Hongxu Jia <[email protected]>
  • Loading branch information
hongxu-jia committed Sep 28, 2018
1 parent d2e8326 commit 57a9ae9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
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

1 change: 1 addition & 0 deletions recipes-installer/anaconda/python3-anaconda_28.22.11.bb
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ SRC_URI = "git://github.com/rhinstaller/anaconda;protocol=https;branch=f28-relea
file://0063-update-fstab-by-appending.patch \
file://0064-users.py-Fix-multilib-user-creation-error.patch \
file://0065-bootloader.py-fix-UEFI-multilib-installation.patch \
file://0066-enlarge-timeout-of-wait_for_modules.patch \
"

SRCREV = "0b0d2f86b4323e6ee7a186bc8181ffe7553c9235"
Expand Down

0 comments on commit 57a9ae9

Please sign in to comment.