diff options
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch')
-rw-r--r-- | meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch index 13c2933f0a..48ffaf2cb5 100644 --- a/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch +++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0011-invoking-dd-with-infinite-timeout.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 21ca2b859a49e96a230d55a7866dfc7ed5d1366c Mon Sep 17 00:00:00 2001 | 1 | From 3d398173f02bb641473299abb1166fdcc3643666 Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Tue, 6 Mar 2018 17:28:56 +0800 | 3 | Date: Tue, 6 Mar 2018 17:28:56 +0800 |
4 | Subject: [PATCH 11/11] invoking dd with infinite timeout | 4 | Subject: [PATCH 11/11] invoking dd with infinite timeout |
@@ -14,10 +14,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py | 16 | diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py |
17 | index 623e1c9..141d8ad 100644 | 17 | index b60b9b4..fa8858b 100644 |
18 | --- a/blivet/devices/partition.py | 18 | --- a/blivet/devices/partition.py |
19 | +++ b/blivet/devices/partition.py | 19 | +++ b/blivet/devices/partition.py |
20 | @@ -618,7 +618,7 @@ class PartitionDevice(StorageDevice): | 20 | @@ -667,7 +667,7 @@ class PartitionDevice(StorageDevice): |
21 | cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs, | 21 | cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs, |
22 | "seek=%d" % start, "count=%d" % count] | 22 | "seek=%d" % start, "count=%d" % count] |
23 | try: | 23 | try: |
@@ -26,6 +26,3 @@ index 623e1c9..141d8ad 100644 | |||
26 | except OSError as e: | 26 | except OSError as e: |
27 | log.error(str(e)) | 27 | log.error(str(e)) |
28 | finally: | 28 | finally: |
29 | -- | ||
30 | 2.7.4 | ||
31 | |||