summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-08-01 16:27:43 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-02 11:23:03 -0700
commitd3ae34eec2d312410da6cc1dd1c6fb85e8259261 (patch)
tree3f827986a0f5c4865d33b05001b2c59601208b76 /meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
parent78de74100807303fe304ea0f088317d2aa0be917 (diff)
downloadmeta-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/0002-run_program-support-timeout.patch')
-rw-r--r--meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch b/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
index 01e71be304..fea2254074 100644
--- a/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
+++ b/meta-python/recipes-extended/python-blivet/python3-blivet/0002-run_program-support-timeout.patch
@@ -1,7 +1,7 @@
1From 86744d408b91acdcb086a03d7779fcda152f2ac3 Mon Sep 17 00:00:00 2001 1From 596979ed58109141a7fee680ab95b27296c022b1 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 8 May 2017 14:39:56 +0800 3Date: Mon, 8 May 2017 14:39:56 +0800
4Subject: [PATCH 02/13] run_program support timeout 4Subject: [PATCH 02/11] run_program support timeout
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7 7
@@ -11,10 +11,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11 1 file changed, 39 insertions(+), 29 deletions(-) 11 1 file changed, 39 insertions(+), 29 deletions(-)
12 12
13diff --git a/blivet/util.py b/blivet/util.py 13diff --git a/blivet/util.py b/blivet/util.py
14index 0cf5188..d4bd9bb 100644 14index 0f2a995..05a253c 100644
15--- a/blivet/util.py 15--- a/blivet/util.py
16+++ b/blivet/util.py 16+++ b/blivet/util.py
17@@ -158,6 +158,30 @@ class Path(str): 17@@ -157,6 +157,30 @@ class Path(str):
18 def __hash__(self): 18 def __hash__(self):
19 return self._path.__hash__() 19 return self._path.__hash__()
20 20
@@ -45,7 +45,7 @@ index 0cf5188..d4bd9bb 100644
45 45
46 def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False): 46 def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False):
47 if env_prune is None: 47 if env_prune is None:
48@@ -180,36 +204,22 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa 48@@ -179,36 +203,22 @@ def _run_program(argv, root='/', stdin=None, env_prune=None, stderr_to_stdout=Fa
49 stderr_dir = subprocess.STDOUT 49 stderr_dir = subprocess.STDOUT
50 else: 50 else:
51 stderr_dir = subprocess.PIPE 51 stderr_dir = subprocess.PIPE