diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-08-13 21:46:01 -0400 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-08-28 11:04:11 +0200 |
commit | e311a05d2a507d6376dc4f234a64b0d0181ef5b0 (patch) | |
tree | acfe10431f872f8630c9ec03baf4ea09f734bb9b /meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-mount-with-infinite-timeout.patch | |
parent | 66cce63d507ee71a405a8b0c3b87b63c034bb5dc (diff) | |
download | meta-openembedded-e311a05d2a507d6376dc4f234a64b0d0181ef5b0.tar.gz |
python3-blivet: add recipe 2.2.0
Remove provides of `pykickstart' in python3-pykickstart
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-mount-with-infinite-timeout.patch')
-rw-r--r-- | meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-mount-with-infinite-timeout.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-mount-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-mount-with-infinite-timeout.patch new file mode 100644 index 0000000000..fc084b1295 --- /dev/null +++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0009-invoking-mount-with-infinite-timeout.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From a6ac2157ee6793302e23ddbc5e3b249fa7da5b7e Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Wed, 31 Aug 2016 21:30:32 -0400 | ||
4 | Subject: [PATCH 09/13] invoking mount 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/util.py | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/blivet/util.py b/blivet/util.py | ||
17 | index b3c45ac..9f02b18 100644 | ||
18 | --- a/blivet/util.py | ||
19 | +++ b/blivet/util.py | ||
20 | @@ -257,7 +257,7 @@ def mount(device, mountpoint, fstype, options=None): | ||
21 | |||
22 | argv = ["mount", "-t", fstype, "-o", options, device, mountpoint] | ||
23 | try: | ||
24 | - rc = run_program(argv) | ||
25 | + rc = run_program(argv, timeout=-1) | ||
26 | except OSError: | ||
27 | raise | ||
28 | |||
29 | -- | ||
30 | 2.7.4 | ||
31 | |||