mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

0002-run_program-support-timeout.patch 0003-support-infinit-timeout.patch 0005-fix-incorrect-timeout-while-system-time-changed.patch 0006-tweak-btrfs-packages.patch 0007-invoking-mount-with-infinite-timeout.patch 0008-use-oe-variable-to-replace-hardcoded-dir.patch 0010-invoking-mkfs-with-infinite-timeout.patch 0011-invoking-dd-with-infinite-timeout.patch refreshed for 3.9.1 Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
33 lines
1.0 KiB
Diff
33 lines
1.0 KiB
Diff
From abadd821acffd5dbc870f86dad3c3a6bf3f2f74f Mon Sep 17 00:00:00 2001
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Date: Fri, 16 Jun 2017 15:43:00 +0800
|
|
Subject: [PATCH 10/11] invoking mkfs with infinite timeout
|
|
|
|
This large timeout is needed when running on machines with
|
|
lots of disks, or with slow disks.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
|
|
Rebase for python3-blivet 3.4.0.
|
|
|
|
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
---
|
|
blivet/tasks/fsmkfs.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/blivet/tasks/fsmkfs.py b/blivet/tasks/fsmkfs.py
|
|
index e9daa9e..2174cc3 100644
|
|
--- a/blivet/tasks/fsmkfs.py
|
|
+++ b/blivet/tasks/fsmkfs.py
|
|
@@ -207,7 +207,7 @@ class FSMkfs(task.BasicApplication, FSMkfsTask):
|
|
options = options or []
|
|
cmd = self._mkfs_command(options, label, set_uuid, nodiscard)
|
|
try:
|
|
- ret = util.run_program(cmd)
|
|
+ ret = util.run_program(cmd, timeout=-1)
|
|
except OSError as e:
|
|
raise FSError(e)
|
|
|