diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-27 16:32:38 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-11-27 11:13:36 -0800 |
commit | f01d87a7e841a54ce7fa3b96d404451197dfe183 (patch) | |
tree | d951761c0882ca40b027b908abb4c69140d9b381 /meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch | |
parent | 2a9489ba365546dbd035d5a3aebc899224354bbe (diff) | |
download | meta-openembedded-f01d87a7e841a54ce7fa3b96d404451197dfe183.tar.gz |
python3-blivet: 3.0.1 -> 3.1.1
Drop 0012-remove-dmraid-dependency-check.patch and
0013-add-Z-y-and-y-to-lvm.pvcreate.patch which the
new version has fixed the issues
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/0007-invoking-mount-with-infinite-timeout.patch')
-rw-r--r-- | meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch index e30121948..b2606d769 100644 --- a/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch +++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0007-invoking-mount-with-infinite-timeout.patch | |||
@@ -1,6 +1,6 @@ | |||
1 | From 9c7a15312259854f12137a30229e52c30fb7c770 Mon Sep 17 00:00:00 2001 | 1 | From f53481dc4a56b8a996628733553e080bb0aafdd7 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: Wed, 31 Aug 2016 21:30:32 -0400 | 3 | Date: Fri, 23 Nov 2018 17:07:22 +0800 |
4 | Subject: [PATCH 07/11] invoking mount with infinite timeout | 4 | Subject: [PATCH 07/11] invoking mount with infinite timeout |
5 | 5 | ||
6 | This large timeout is needed when running on machines with | 6 | This large timeout is needed when running on machines with |
@@ -14,18 +14,18 @@ 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/util.py b/blivet/util.py | 16 | diff --git a/blivet/util.py b/blivet/util.py |
17 | index bc08af5..b672787 100644 | 17 | index 5571e73..02c8033 100644 |
18 | --- a/blivet/util.py | 18 | --- a/blivet/util.py |
19 | +++ b/blivet/util.py | 19 | +++ b/blivet/util.py |
20 | @@ -256,7 +256,7 @@ def mount(device, mountpoint, fstype, options=None): | 20 | @@ -258,7 +258,7 @@ def mount(device, mountpoint, fstype, options=None): |
21 | makedirs(mountpoint) | ||
21 | 22 | ||
22 | argv = ["mount", "-t", fstype, "-o", options, device, mountpoint] | 23 | argv = ["mount", "-t", fstype, "-o", options, device, mountpoint] |
23 | try: | 24 | - return run_program(argv) |
24 | - rc = run_program(argv) | 25 | + return run_program(argv, timeout=-1) |
25 | + rc = run_program(argv, timeout=-1) | ||
26 | except OSError: | ||
27 | raise | ||
28 | 26 | ||
27 | |||
28 | def umount(mountpoint): | ||
29 | -- | 29 | -- |
30 | 2.7.4 | 30 | 2.7.4 |
31 | 31 | ||