diff options
Diffstat (limited to 'meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch')
-rw-r--r-- | meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch b/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch deleted file mode 100644 index 12a9e4f54..000000000 --- a/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 92fe7dfd01131c93a9b2013cabf77d5f46900fab 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] 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 a7372fb..8947472 100644 ---- a/blivet/devices/partition.py -+++ b/blivet/devices/partition.py -@@ -594,7 +594,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: --- -1.8.3.1 - |