diff options
-rw-r--r-- | recipes-networking/openvswitch/openvswitch.inc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc index fc515e90..3c70703a 100644 --- a/recipes-networking/openvswitch/openvswitch.inc +++ b/recipes-networking/openvswitch/openvswitch.inc | |||
@@ -15,7 +15,7 @@ DEPENDS += "bridge-utils openssl python perl" | |||
15 | 15 | ||
16 | RDEPENDS_${PN} += "util-linux-uuidgen util-linux-libuuid coreutils \ | 16 | RDEPENDS_${PN} += "util-linux-uuidgen util-linux-libuuid coreutils \ |
17 | python perl perl-module-strict ${PN}-switch \ | 17 | python perl perl-module-strict ${PN}-switch \ |
18 | bash" | 18 | bash python-twisted" |
19 | RDEPENDS_${PN}-testcontroller = "${PN} lsb ${PN}-pki" | 19 | RDEPENDS_${PN}-testcontroller = "${PN} lsb ${PN}-pki" |
20 | RDEPENDS_${PN}-switch = "${PN} openssl procps util-linux-uuidgen" | 20 | RDEPENDS_${PN}-switch = "${PN} openssl procps util-linux-uuidgen" |
21 | RDEPENDS_${PN}-pki = "${PN}" | 21 | RDEPENDS_${PN}-pki = "${PN}" |
@@ -69,7 +69,8 @@ FILES_${PN}-switch = "\ | |||
69 | FILES_${PN} += "${datadir}/ovsdbmonitor" | 69 | FILES_${PN} += "${datadir}/ovsdbmonitor" |
70 | FILES_${PN} += "/run" | 70 | FILES_${PN} += "/run" |
71 | 71 | ||
72 | inherit autotools update-rc.d systemd | 72 | FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/" |
73 | inherit autotools update-rc.d systemd python-dir | ||
73 | 74 | ||
74 | SYSTEMD_PACKAGES = "${PN}-switch" | 75 | SYSTEMD_PACKAGES = "${PN}-switch" |
75 | SYSTEMD_SERVICE_${PN}-switch = " \ | 76 | SYSTEMD_SERVICE_${PN}-switch = " \ |
@@ -102,6 +103,8 @@ do_install_append() { | |||
102 | ${D}/${systemd_unitdir}/system/openvswitch-nonetwork.service | 103 | ${D}/${systemd_unitdir}/system/openvswitch-nonetwork.service |
103 | 104 | ||
104 | oe_runmake modules_install INSTALL_MOD_PATH=${D} | 105 | oe_runmake modules_install INSTALL_MOD_PATH=${D} |
106 | install -d ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages | ||
107 | cp -r ${S}/python/ovstest/ ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages/ | ||
105 | } | 108 | } |
106 | 109 | ||
107 | pkg_postinst_${PN}-pki () { | 110 | pkg_postinst_${PN}-pki () { |