[meta-virtualization] [PATCH] openvswitch: install ovs-systemd-reload
Chen Qi
Qi.Chen at windriver.com
Thu Aug 29 02:39:48 PDT 2019
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 at windriver.com>
---
recipes-networking/openvswitch/openvswitch.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/recipes-networking/openvswitch/openvswitch.inc b/recipes-networking/openvswitch/openvswitch.inc
index 8aab739..46865bd 100644
--- a/recipes-networking/openvswitch/openvswitch.inc
+++ b/recipes-networking/openvswitch/openvswitch.inc
@@ -129,6 +129,9 @@ do_install_append() {
install -m 644 ${S}/rhel/usr_lib_systemd_system_ovsdb-server.service \
${D}/${systemd_unitdir}/system/ovsdb-server.service
+ install -d ${D}/usr/share/openvswitch/scripts/
+ install -m 755 ${S}/rhel/usr_share_openvswitch_scripts_ovs-systemd-reload ${D}/usr/share/openvswitch/scripts/ovs-systemd-reload
+
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/
--
2.17.1
More information about the meta-virtualization
mailing list