merged. Bruce
On Tue, Aug 9, 2016 at 1:57 PM, Jagadeesh Krishnanjanappa < [email protected]> wrote: > ovs-test program requires python-twisted and ovstest python > modules to execute successfully. The changes fix below > errors: > > -- snip -- > root@qemux86:~# ovs-test > Traceback (most recent call last): > File "/usr/bin/ovs-test", line 31, in <module> > import twisted > ImportError: No module named twisted > root@qemux86:~# ovs-test > Traceback (most recent call last): > File "/usr/bin/ovs-test", line 33, in <module> > import ovstest.args as args > ImportError: No module named ovstest.args > root@qemux86:~# > -- snip -- > > Signed-off-by: Jagadeesh Krishnanjanappa <[email protected]> > --- > recipes-networking/openvswitch/openvswitch.inc | 7 +++++-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/recipes-networking/openvswitch/openvswitch.inc > b/recipes-networking/openvswitch/openvswitch.inc > index fc515e9..3c70703 100644 > --- a/recipes-networking/openvswitch/openvswitch.inc > +++ b/recipes-networking/openvswitch/openvswitch.inc > @@ -15,7 +15,7 @@ DEPENDS += "bridge-utils openssl python perl" > > RDEPENDS_${PN} += "util-linux-uuidgen util-linux-libuuid coreutils \ > python perl perl-module-strict ${PN}-switch \ > - bash" > + bash python-twisted" > RDEPENDS_${PN}-testcontroller = "${PN} lsb ${PN}-pki" > RDEPENDS_${PN}-switch = "${PN} openssl procps util-linux-uuidgen" > RDEPENDS_${PN}-pki = "${PN}" > @@ -69,7 +69,8 @@ FILES_${PN}-switch = "\ > FILES_${PN} += "${datadir}/ovsdbmonitor" > FILES_${PN} += "/run" > > -inherit autotools update-rc.d systemd > +FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/" > +inherit autotools update-rc.d systemd python-dir > > SYSTEMD_PACKAGES = "${PN}-switch" > SYSTEMD_SERVICE_${PN}-switch = " \ > @@ -102,6 +103,8 @@ do_install_append() { > ${D}/${systemd_unitdir}/system/openvswitch-nonetwork. > service > > oe_runmake modules_install INSTALL_MOD_PATH=${D} > + install -d ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages > + cp -r ${S}/python/ovstest/ ${D}${libdir}/python${PYTHON_ > BASEVERSION}/site-packages/ > } > > pkg_postinst_${PN}-pki () { > -- > 2.7.4 > > -- > _______________________________________________ > meta-virtualization mailing list > [email protected] > https://lists.yoctoproject.org/listinfo/meta-virtualization > -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
-- _______________________________________________ meta-virtualization mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-virtualization
