From 9e5a34e8cd2bbcd9189cd113cbc4be668269814b Mon Sep 17 00:00:00 2001 From: Jim Somerville Date: Tue, 4 Feb 2014 16:17:50 -0500 Subject: openvswitch: add more target python substitutions The TARGET_PYTHON variable is used for script substitutions to ensure the scripts will be able to properly execute if the target system has a different path for the python. Signed-off-by: Jim Somerville Signed-off-by: Bruce Ashfield --- ...itch-add-more-target-python-substitutions.patch | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 recipes-networking/openvswitch/files/openvswitch-add-more-target-python-substitutions.patch (limited to 'recipes-networking/openvswitch/files/openvswitch-add-more-target-python-substitutions.patch') 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 @@ +From d1ab2f62a03c2c977de6fed5fca8de63e328a870 Mon Sep 17 00:00:00 2001 +Message-Id: +From: Jim Somerville +Date: Tue, 4 Feb 2014 15:30:41 +0000 +Subject: [PATCH 1/1] openvswitch: add more target python substitutions + +The TARGET_PYTHON variable is used for script +substitutions to ensure the scripts will be able to properly execute +if the target system has a different path for the python. + +Signed-off-by: Jim Somerville +--- + ovsdb/ovsdb-dot.in | 2 +- + ovsdb/ovsdb-idlc.in | 2 +- + utilities/ovs-dpctl-top.in | 2 +- + 3 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in +index 85c126d..402a77c 100755 +--- a/ovsdb/ovsdb-dot.in ++++ b/ovsdb/ovsdb-dot.in +@@ -1,4 +1,4 @@ +-#! @PYTHON@ ++#! @TARGET_PYTHON@ + + from datetime import date + import ovs.db.error +diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in +index ec1c655..f5c135f 100755 +--- a/ovsdb/ovsdb-idlc.in ++++ b/ovsdb/ovsdb-idlc.in +@@ -1,4 +1,4 @@ +-#! @PYTHON@ ++#! @TARGET_PYTHON@ + + import getopt + import os +diff --git a/utilities/ovs-dpctl-top.in b/utilities/ovs-dpctl-top.in +index f43fdeb..8475118 100755 +--- a/utilities/ovs-dpctl-top.in ++++ b/utilities/ovs-dpctl-top.in +@@ -1,4 +1,4 @@ +-#! @PYTHON@ ++#! @TARGET_PYTHON@ + # + # Copyright (c) 2013 Nicira, Inc. + # +-- +1.8.3.4 + -- cgit v1.2.3-54-g00ecf