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/0012-invoking-mkfs-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/0012-invoking-mkfs-with-infinite-timeout.patch')
| -rw-r--r-- | meta-python/recipes-extended/python-blivet/python3-blivet/0012-invoking-mkfs-with-infinite-timeout.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0012-invoking-mkfs-with-infinite-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0012-invoking-mkfs-with-infinite-timeout.patch new file mode 100644 index 0000000000..33bdbe8125 --- /dev/null +++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0012-invoking-mkfs-with-infinite-timeout.patch | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | From 9f5a048181cf29d241d96814e736b8235b3d42b1 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
| 3 | Date: Fri, 16 Jun 2017 15:43:00 +0800 | ||
| 4 | Subject: [PATCH 12/13] invoking mkfs 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/tasks/fsmkfs.py | 2 +- | ||
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 15 | |||
| 16 | diff --git a/blivet/tasks/fsmkfs.py b/blivet/tasks/fsmkfs.py | ||
| 17 | index ad166aa..7bf5075 100644 | ||
| 18 | --- a/blivet/tasks/fsmkfs.py | ||
| 19 | +++ b/blivet/tasks/fsmkfs.py | ||
| 20 | @@ -170,7 +170,7 @@ class FSMkfs(task.BasicApplication, FSMkfsTask): | ||
| 21 | options = options or [] | ||
| 22 | cmd = self._mkfs_command(options, label, set_uuid) | ||
| 23 | try: | ||
| 24 | - ret = util.run_program(cmd) | ||
| 25 | + ret = util.run_program(cmd, timeout=-1) | ||
| 26 | except OSError as e: | ||
| 27 | raise FSError(e) | ||
| 28 | |||
| 29 | -- | ||
| 30 | 2.7.4 | ||
| 31 | |||
