diff options
Diffstat (limited to 'recipes-networking/openvswitch/files/openvswitch-add-more-target-python-substitutions.patch')
-rw-r--r-- | recipes-networking/openvswitch/files/openvswitch-add-more-target-python-substitutions.patch | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/recipes-networking/openvswitch/files/openvswitch-add-more-target-python-substitutions.patch b/recipes-networking/openvswitch/files/openvswitch-add-more-target-python-substitutions.patch new file mode 100644 index 00000000..2b87a116 --- /dev/null +++ b/recipes-networking/openvswitch/files/openvswitch-add-more-target-python-substitutions.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | From d1ab2f62a03c2c977de6fed5fca8de63e328a870 Mon Sep 17 00:00:00 2001 | ||
2 | Message-Id: <d1ab2f62a03c2c977de6fed5fca8de63e328a870.1391527986.git.Jim.Somerville@windriver.com> | ||
3 | From: Jim Somerville <Jim.Somerville@windriver.com> | ||
4 | Date: Tue, 4 Feb 2014 15:30:41 +0000 | ||
5 | Subject: [PATCH 1/1] openvswitch: add more target python substitutions | ||
6 | |||
7 | The TARGET_PYTHON variable is used for script | ||
8 | substitutions to ensure the scripts will be able to properly execute | ||
9 | if the target system has a different path for the python. | ||
10 | |||
11 | Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> | ||
12 | --- | ||
13 | ovsdb/ovsdb-dot.in | 2 +- | ||
14 | ovsdb/ovsdb-idlc.in | 2 +- | ||
15 | utilities/ovs-dpctl-top.in | 2 +- | ||
16 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
17 | |||
18 | diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in | ||
19 | index 85c126d..402a77c 100755 | ||
20 | --- a/ovsdb/ovsdb-dot.in | ||
21 | +++ b/ovsdb/ovsdb-dot.in | ||
22 | @@ -1,4 +1,4 @@ | ||
23 | -#! @PYTHON@ | ||
24 | +#! @TARGET_PYTHON@ | ||
25 | |||
26 | from datetime import date | ||
27 | import ovs.db.error | ||
28 | diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in | ||
29 | index ec1c655..f5c135f 100755 | ||
30 | --- a/ovsdb/ovsdb-idlc.in | ||
31 | +++ b/ovsdb/ovsdb-idlc.in | ||
32 | @@ -1,4 +1,4 @@ | ||
33 | -#! @PYTHON@ | ||
34 | +#! @TARGET_PYTHON@ | ||
35 | |||
36 | import getopt | ||
37 | import os | ||
38 | diff --git a/utilities/ovs-dpctl-top.in b/utilities/ovs-dpctl-top.in | ||
39 | index f43fdeb..8475118 100755 | ||
40 | --- a/utilities/ovs-dpctl-top.in | ||
41 | +++ b/utilities/ovs-dpctl-top.in | ||
42 | @@ -1,4 +1,4 @@ | ||
43 | -#! @PYTHON@ | ||
44 | +#! @TARGET_PYTHON@ | ||
45 | # | ||
46 | # Copyright (c) 2013 Nicira, Inc. | ||
47 | # | ||
48 | -- | ||
49 | 1.8.3.4 | ||
50 | |||