openvpn: avoid packaging /run
PATCH 1/2 openvpn: avoid packaging /run
/run is in FILES_${PN} but nothing either populate or even create it.
Signed-off-by Andrea Galbusera <[email protected]>
--- meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb +1 -1
@@ -61,7 +61,7 @@ RRECOMMENDS_${PN} = "kernel-module-tun" FILES_${PN}-dbg += "${libdir}/openvpn/plugins/.debug" FILES_${PN} += "${systemd_unitdir}/system/[email protected] \ ${sysconfdir}/tmpfiles.d \ - /run" + " FILES_${PN}-sample += "${systemd_unitdir}/system/[email protected] \ ${systemd_unitdir}/system/[email protected] \ ${sysconfdir}/openvpn/sample/"
Signature · 1 line
2.7.4
PATCH 2/2 openvpn: avoid hardcoded path
Signed-off-by Andrea Galbusera <[email protected]>
--- meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/openvpn/openvpn_2.3.9.bb +1 -1
@@ -25,7 +25,7 @@ EXTRA_OECONF += "--enable-iproute2" EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '', '--disable-plugin-auth-pam', d)}" # Explicitly specify IPROUTE to bypass the configure-time check for /sbin/ip on the host. -EXTRA_OECONF += "IPROUTE=/sbin/ip" +EXTRA_OECONF += "IPROUTE=${base_sbindir}/ip" do_install_append() { install -d ${D}/${sysconfdir}/init.d
Signature · 1 line
2.7.4