diff options
| author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-08-01 16:27:43 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2018-08-02 11:23:03 -0700 |
| commit | d3ae34eec2d312410da6cc1dd1c6fb85e8259261 (patch) | |
| tree | 3f827986a0f5c4865d33b05001b2c59601208b76 /meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch | |
| parent | 78de74100807303fe304ea0f088317d2aa0be917 (diff) | |
| download | meta-openembedded-d3ae34eec2d312410da6cc1dd1c6fb85e8259261.tar.gz | |
python3-blivet: 2.2.0 -> 3.0.1
- Drop 0004-Mount-var-volatile-during-install.patch and
0005-update-fstab-by-appending.patch
which are moved to python3-anaconda 28.22.11
- Drop 0013-Revert-Adapt-to-logging-module-name-change.patch
whichis obsolete
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch')
| -rw-r--r-- | 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-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch deleted file mode 100644 index 12a9e4f544..0000000000 --- a/meta-python/recipes-extended/python-blivet/python3-blivet/0014-invoking-dd-with-infinite-timeout.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 92fe7dfd01131c93a9b2013cabf77d5f46900fab Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Tue, 6 Mar 2018 17:28:56 +0800 | ||
| 4 | Subject: [PATCH] invoking dd with infinite timeout | ||
| 5 | |||
| 6 | This large timeout is needed when running on machines with | ||
| 7 | lots of disks, or with slow disks. | ||
| 8 | |||
| 9 | Upstream-Status: Pending | ||
| 10 | |||
| 11 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 12 | --- | ||
| 13 | blivet/devices/partition.py | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/blivet/devices/partition.py b/blivet/devices/partition.py | ||
| 17 | index a7372fb..8947472 100644 | ||
| 18 | --- a/blivet/devices/partition.py | ||
| 19 | +++ b/blivet/devices/partition.py | ||
| 20 | @@ -594,7 +594,7 @@ class PartitionDevice(StorageDevice): | ||
| 21 | cmd = ["dd", "if=/dev/zero", "of=%s" % device, "bs=%d" % bs, | ||
| 22 | "seek=%d" % start, "count=%d" % count] | ||
| 23 | try: | ||
| 24 | - util.run_program(cmd) | ||
| 25 | + util.run_program(cmd, timeout=-1) | ||
| 26 | except OSError as e: | ||
| 27 | log.error(str(e)) | ||
| 28 | finally: | ||
| 29 | -- | ||
| 30 | 1.8.3.1 | ||
| 31 | |||
