summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2021-08-03 14:13:38 +0800
committerKhem Raj <raj.khem@gmail.com>2021-08-06 20:37:42 -0700
commit88efe3c0ea78196b53d0c6606887b9cf72ca632c (patch)
treeb10f6956d688a508a550b67a165e7d48e2b4718f /meta-python/recipes-extended/python-blivet/python3-blivet/0010-invoking-mkfs-with-infinite-timeout.patch
parentbf1057e64076c9e6909cf694cfae2b8a1991d341 (diff)
downloadmeta-openembedded-88efe3c0ea78196b53d0c6606887b9cf72ca632c.tar.gz
python3-blivet: 3.1.4 -> 3.4.0
Upgrade python3-blivet from 3.1.4 to 3.4.0. * it imports selinux conditionally, so remove 0001-comment-out-selinux.patch * rebase 0008-use-oe-variable-to-replace-hardcoded-dir.patch and 0010-invoking-mkfs-with-infinite-timeout.patch Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
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)