summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch')
-rw-r--r--meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch10
1 files changed, 7 insertions, 3 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
index f128490458..c441acd173 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
@@ -9,17 +9,21 @@ lots of disks, or with slow disks.
9Upstream-Status: Pending 9Upstream-Status: Pending
10 10
11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 11Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
12
13Rebase for python3-blivet 3.4.0.
14
15Signed-off-by: Kai Kang <kai.kang@windriver.com>
12--- 16---
13 blivet/tasks/fsmkfs.py | 2 +- 17 blivet/tasks/fsmkfs.py | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-) 18 1 file changed, 1 insertion(+), 1 deletion(-)
15 19
16diff --git a/blivet/tasks/fsmkfs.py b/blivet/tasks/fsmkfs.py 20diff --git a/blivet/tasks/fsmkfs.py b/blivet/tasks/fsmkfs.py
17index ad166aa..7bf5075 100644 21index e4a6aaa8..9730f7e5 100644
18--- a/blivet/tasks/fsmkfs.py 22--- a/blivet/tasks/fsmkfs.py
19+++ b/blivet/tasks/fsmkfs.py 23+++ b/blivet/tasks/fsmkfs.py
20@@ -170,7 +170,7 @@ class FSMkfs(task.BasicApplication, FSMkfsTask): 24@@ -203,7 +203,7 @@ class FSMkfs(task.BasicApplication, FSMkfsTask):
21 options = options or [] 25 options = options or []
22 cmd = self._mkfs_command(options, label, set_uuid) 26 cmd = self._mkfs_command(options, label, set_uuid, nodiscard)
23 try: 27 try:
24- ret = util.run_program(cmd) 28- ret = util.run_program(cmd)
25+ ret = util.run_program(cmd, timeout=-1) 29+ ret = util.run_program(cmd, timeout=-1)