mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-16 04:32:39 +00: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>
29 lines
999 B
Diff
29 lines
999 B
Diff
From 3d398173f02bb641473299abb1166fdcc3643666 Mon Sep 17 00:00:00 2001
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Date: Tue, 6 Mar 2018 17:28:56 +0800
|
|
Subject: [PATCH 11/11] invoking dd 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>
|
|
---
|
|
blivet/devices/partition.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py
|
|
index b60b9b4..fa8858b 100644
|
|
--- a/blivet/devices/partition.py
|
|
+++ b/blivet/devices/partition.py
|
|
@@ -667,7 +667,7 @@ class PartitionDevice(StorageDevice):
|
|
cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs,
|
|
"seek=%d" % start, "count=%d" % count]
|
|
try:
|
|
- util.run_program(cmd)
|
|
+ util.run_program(cmd, timeout=-1)
|
|
except OSError as e:
|
|
log.error(str(e))
|
|
finally:
|