* [PATCH 1/1] openvswitch: add more target python substitutions
@ 2014-02-04 21:17 Jim Somerville
2014-02-05 17:12 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: Jim Somerville @ 2014-02-04 21:17 UTC (permalink / raw)
To: bruce.ashfield; +Cc: meta-virtualization
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 <Jim.Somerville@windriver.com>
---
...itch-add-more-target-python-substitutions.patch | 50 ++++++++++++++++++++
.../openvswitch/openvswitch_2.0.0.bb | 1 +
2 files changed, 51 insertions(+), 0 deletions(-)
create mode 100644 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 0000000..2b87a11
--- /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: <d1ab2f62a03c2c977de6fed5fca8de63e328a870.1391527986.git.Jim.Somerville@windriver.com>
+From: Jim Somerville <Jim.Somerville@windriver.com>
+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 <Jim.Somerville@windriver.com>
+---
+ 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
+
diff --git a/recipes-networking/openvswitch/openvswitch_2.0.0.bb b/recipes-networking/openvswitch/openvswitch_2.0.0.bb
index 0ca707e..15c4dca 100644
--- a/recipes-networking/openvswitch/openvswitch_2.0.0.bb
+++ b/recipes-networking/openvswitch/openvswitch_2.0.0.bb
@@ -26,6 +26,7 @@ SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \
file://openvswitch-controller-setup \
file://openvswitch-add-target-python-handling.patch \
file://openvswitch-add-target-perl-handling.patch \
+ file://openvswitch-add-more-target-python-substitutions.patch \
"
SRC_URI[md5sum] = "7d7a58350e634e515e0fe43c64d64f44"
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/1] openvswitch: add more target python substitutions
2014-02-04 21:17 [PATCH 1/1] openvswitch: add more target python substitutions Jim Somerville
@ 2014-02-05 17:12 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2014-02-05 17:12 UTC (permalink / raw)
To: Jim Somerville; +Cc: meta-virtualization
On 14-02-04 04:17 PM, Jim Somerville wrote:
> 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.
Thanks Jim,
I've grabbed the patch.
Bruce
>
> Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com>
> ---
> ...itch-add-more-target-python-substitutions.patch | 50 ++++++++++++++++++++
> .../openvswitch/openvswitch_2.0.0.bb | 1 +
> 2 files changed, 51 insertions(+), 0 deletions(-)
> create mode 100644 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 0000000..2b87a11
> --- /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: <d1ab2f62a03c2c977de6fed5fca8de63e328a870.1391527986.git.Jim.Somerville@windriver.com>
> +From: Jim Somerville <Jim.Somerville@windriver.com>
> +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 <Jim.Somerville@windriver.com>
> +---
> + 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
> +
> diff --git a/recipes-networking/openvswitch/openvswitch_2.0.0.bb b/recipes-networking/openvswitch/openvswitch_2.0.0.bb
> index 0ca707e..15c4dca 100644
> --- a/recipes-networking/openvswitch/openvswitch_2.0.0.bb
> +++ b/recipes-networking/openvswitch/openvswitch_2.0.0.bb
> @@ -26,6 +26,7 @@ SRC_URI = "http://openvswitch.org/releases/openvswitch-${PV}.tar.gz \
> file://openvswitch-controller-setup \
> file://openvswitch-add-target-python-handling.patch \
> file://openvswitch-add-target-perl-handling.patch \
> + file://openvswitch-add-more-target-python-substitutions.patch \
> "
>
> SRC_URI[md5sum] = "7d7a58350e634e515e0fe43c64d64f44"
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-02-05 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-04 21:17 [PATCH 1/1] openvswitch: add more target python substitutions Jim Somerville
2014-02-05 17:12 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.