summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-08-29 17:39:48 +0800
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-08-30 00:29:15 -0400
commitdd68c2e44c091768fad194d421a1f81e92bb6f8a (patch)
treeafaddaa1e0e53b72dd37586a4ad7f40af5c5ac39 /recipes-networking/openvswitch
parente87e6fdcbc0926f4c0bf14c52b87d055cc4dd8c9 (diff)
downloadmeta-virtualization-dd68c2e44c091768fad194d421a1f81e92bb6f8a.tar.gz
openvswitch: install ovs-systemd-reload
Install ovs-systemd-reload as openvswitch.service uses it. openvswitch.service:ExecReload=/usr/share/openvswitch/scripts/ovs-systemd-reload Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-networking/openvswitch')
-rw-r--r--recipes-networking/openvswitch/openvswitch.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc
index 8aab739b..46865bd1 100644
--- a/recipes-networking/openvswitch/openvswitch.inc
+++ b/recipes-networking/openvswitch/openvswitch.inc
@@ -129,6 +129,9 @@ do_install_append() {
129 install -m 644 ${S}/rhel/usr_lib_systemd_system_ovsdb-server.service \ 129 install -m 644 ${S}/rhel/usr_lib_systemd_system_ovsdb-server.service \
130 ${D}/${systemd_unitdir}/system/ovsdb-server.service 130 ${D}/${systemd_unitdir}/system/ovsdb-server.service
131 131
132 install -d ${D}/usr/share/openvswitch/scripts/
133 install -m 755 ${S}/rhel/usr_share_openvswitch_scripts_ovs-systemd-reload ${D}/usr/share/openvswitch/scripts/ovs-systemd-reload
134
132 oe_runmake modules_install INSTALL_MOD_PATH=${D} 135 oe_runmake modules_install INSTALL_MOD_PATH=${D}
133 install -d ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages 136 install -d ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages
134 cp -r ${S}/python/ovstest/ ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages/ 137 cp -r ${S}/python/ovstest/ ${D}${libdir}/python${PYTHON_BASEVERSION}/site-packages/