All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2] wireguard-tools: Fix systemd service installation
@ 2020-10-15 14:53 Mario Schuknecht
  0 siblings, 0 replies; only message in thread
From: Mario Schuknecht @ 2020-10-15 14:53 UTC (permalink / raw)
  To: openembedded-devel, stefan, raj.khem

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(-)

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 \
         WITH_WGQUICK=yes \
@@ -18,7 +18,7 @@ do_install () {

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

--
2.16.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-15 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-15 14:53 [meta-oe][PATCH v2] wireguard-tools: Fix systemd service installation Mario Schuknecht

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.