meta-virtualization/recipes-networking/openvswitch/files
Mark Asselstine b6d051a197 openvswitch: fix build host contamination
There is only a single PYTHON variable for configure and yet python is
used for the build as well as scripts installed on the target. If we
set a path in PYTHON as we had we end up using this same path during
the build and since it isn't to the sysroot we end up with host
contamination (as demonstrated by python failing to import 'six' on
build hosts without python-six installed.

The best approach is to set PYTHON to "python" when calling configure,
ie. without a path. This will use 'python' from the path during build
time and by ensuring all the installed scripts use '/usr/bin/env' we
can ensure python will be found on the target when the scripts are
run.

Since 'six' is used as part of the build we have to ensure it is
-native'ly buildable and we set all the required build and runtime
dependencies.

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-01-14 19:26:17 -05:00
..
configure-Only-link-against-libpcap-on-FreeBSD.patch openvswitch: deal with missing RDEPENDS of libpcap 2013-11-19 23:29:51 -05:00
openvswitch-add-more-target-python-substitutions.patch openvswitch: add more target python substitutions 2014-02-05 11:53:13 -05:00
openvswitch-add-ptest.patch openvswitch: uprev to v2.1.2 2014-05-14 18:27:09 -04:00
openvswitch-example Added openvswitch recipe 2012-12-07 15:32:31 +01:00
openvswitch-switch Added openvswitch recipe 2012-12-07 15:32:31 +01:00
openvswitch-switch-setup Added openvswitch recipe 2012-12-07 15:32:31 +01:00
openvswitch-testcontroller openvswitch: rename openvswitch-controller 2015-12-15 08:47:25 -05:00
openvswitch-testcontroller-setup openvswitch: rename openvswitch-controller 2015-12-15 08:47:25 -05:00
python-make-remaining-scripts-use-usr-bin-env.patch openvswitch: fix build host contamination 2017-01-14 19:26:17 -05:00
run-ptest openvswitch: add ptest support 2014-04-01 20:51:45 -04:00