[meta-oe,v2] wireguard-tools: Fix systemd service installation

Submitted by Mario Schuknecht on Oct. 15, 2020, 2:53 p.m. | Patch ID: 177267

Details

Message ID CAAwVp3tHtO0ZLp5WVtwxfMXLj4eYjm4dtQb+Xc2w6DNGLrNo7A@mail.gmail.com
State Accepted, archived
Headers show

Commit Message

Mario Schuknecht Oct. 15, 2020, 2:53 p.m.
Install systemd configuration file wg-quick@.service into the proper folder.
Use 'systemd_system_unitdir' instead of 'systemd_unitdir' as the installation
path.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
---
 .../recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

         WITH_WGQUICK=yes \
@@ -18,7 +18,7 @@ do_install () {

 FILES_${PN} = " \
     ${sysconfdir} \
-    ${systemd_unitdir} \
+    ${systemd_system_unitdir} \
     ${bindir} \
 "

--
2.16.4
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#87539): https://lists.openembedded.org/g/openembedded-devel/message/87539
Mute This Topic: https://lists.openembedded.org/mt/77529581/3617530
Group Owner: openembedded-devel+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb
b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb
index 31b33a045..3403fd943 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb
@@ -9,7 +9,7 @@  DEPENDS += "libmnl"

 do_install () {
     oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
-        SYSTEMDUNITDIR="${systemd_unitdir}" \
+        SYSTEMDUNITDIR="${systemd_system_unitdir}" \
         WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES',
'systemd', 'yes', '', d)} \
         WITH_BASHCOMPLETION=yes \