summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2016-04-19 12:34:59 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-04-19 15:51:17 -0400
commit3e84107e40c1d9ea108dfc438f94bf513e8fd8cb (patch)
tree4d683f3b6a044655b7e466502baa4a5a7e6410a3 /recipes-networking/openvswitch/openvswitch-git
parentacbe4241716297c9b7f9870a9d8ba370ff2f8284 (diff)
downloadmeta-virtualization-3e84107e40c1d9ea108dfc438f94bf513e8fd8cb.tar.gz
openvswitch: ptest: Fix python path
Set PYTHON to TARGET_PYTHON for running on target Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git')
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch b/recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch
new file mode 100644
index 00000000..c75ebc50
--- /dev/null
+++ b/recipes-networking/openvswitch/openvswitch-git/openvswitch-ptest-Fix-python-path.patch
@@ -0,0 +1,30 @@
1From 2a78bddb865e0d3377f437428ed6825195af0a14 Mon Sep 17 00:00:00 2001
2From: He Zhe <zhe.he@windriver.com>
3Date: Wed, 13 Apr 2016 03:13:01 -0400
4Subject: [PATCH] openvswitch: ptest: Fix python path
5
6For now PYTHON just happens to be the same as TARGET_PYTHON so we get the right
7python binary. This patch sets PYTHON to TARGET_PYTHON since ptest is going to
8be run on target.
9
10Signed-off-by: He Zhe <zhe.he@windriver.com>
11---
12 tests/atlocal.in | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/tests/atlocal.in b/tests/atlocal.in
16index 5815c6c..db2d2c9 100644
17--- a/tests/atlocal.in
18+++ b/tests/atlocal.in
19@@ -5,7 +5,7 @@ EGREP='@EGREP@'
20 PERL='@PERL@'
21
22 if test x"$PYTHON" = x; then
23- PYTHON='@PYTHON@'
24+ PYTHON='@TARGET_PYTHON@'
25 fi
26
27 PYTHONPATH=$abs_top_srcdir/python:$abs_top_builddir/tests:$PYTHONPATH
28--
291.9.1
30