Skip to contentSkip to conversation

openvswitch: install ovs-systemd-reload

PATCH In review Chen Qi 2 participants 2 messages Aug 29, 2019 – Aug 30, 2019

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 openvswitch: install ovs-systemd-reload

Install ovs-systemd-reload as openvswitch.service uses it.

openvswitch.service:ExecReload=/usr/share/openvswitch/scripts/ovs-systemd-reload

---
 recipes-networking/openvswitch/openvswitch.inc | 3 +++
 1 file changed, 3 insertions(+)
recipes-networking/openvswitch/openvswitch.inc +3 -0
index 8aab739..46865bd 100644
@@ -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/
Signature · 1 line
2.17.1
#1 lore raw

merged

Bruce

Quoted 32 lines · Chen Qi

Install ovs-systemd-reload as openvswitch.service uses it.

openvswitch.service:ExecReload=/usr/share/openvswitch/scripts/ovs-systemd-reload

---
 recipes-networking/openvswitch/openvswitch.inc | 3 +++
 1 file changed, 3 insertions(+)
recipes-networking/openvswitch/openvswitch.inc +3 -1
index 8aab739..46865bd 100644
@@ -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

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II