From 59be04fbcd07c0862a2b74add48e30200db4395c Mon Sep 17 00:00:00 2001 From: Alex Stewart Date: Fri, 8 Jul 2022 10:58:33 -0500 Subject: [PATCH] openvpn: distribute sample-config-files The openvpn tarball has additional sample config files which are generally useful to users, and which are typically distributed in other distros' openvpn packages. Include these sample configs in the OE recipe. Signed-off-by: Bill Pittman Rebased to openvpn_2.5.7. Signed-off-by: Alex Stewart Signed-off-by: Khem Raj --- meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb b/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb index 1395a35f54..a28c73ab5a 100644 --- a/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb +++ b/meta-networking/recipes-support/openvpn/openvpn_2.5.7.bb @@ -54,8 +54,12 @@ do_install:append() { install -d ${D}/${sysconfdir}/openvpn/sample install -m 644 ${S}/sample/sample-config-files/loopback-server ${D}${sysconfdir}/openvpn/sample/loopback-server.conf install -m 644 ${S}/sample/sample-config-files/loopback-client ${D}${sysconfdir}/openvpn/sample/loopback-client.conf + install -dm 755 ${D}${sysconfdir}/openvpn/sample/sample-config-files install -dm 755 ${D}${sysconfdir}/openvpn/sample/sample-keys + install -dm 755 ${D}${sysconfdir}/openvpn/sample/sample-scripts + install -m 644 ${S}/sample/sample-config-files/* ${D}${sysconfdir}/openvpn/sample/sample-config-files install -m 644 ${S}/sample/sample-keys/* ${D}${sysconfdir}/openvpn/sample/sample-keys + install -m 644 ${S}/sample/sample-scripts/* ${D}${sysconfdir}/openvpn/sample/sample-scripts install -d -m 710 ${D}/${localstatedir}/lib/openvpn }