All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] wireguard-tools: change path for wg-quick systemd unit
@ 2021-05-14 14:07 athomasset
  2021-05-14 14:21 ` [oe] " Khem Raj
  2021-05-14 17:06 ` Jose Quaresma
  0 siblings, 2 replies; 4+ messages in thread
From: athomasset @ 2021-05-14 14:07 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Adrian Thomasset

Fix error when enabling the wg-quick unit:

% systemctl enable wg-quick@wg0
Failed to enable unit: Unit file wg-quick@wg0.service does not exist

The wg-quick@.service template unit needs to be in /lib/systemd/system

Signed-off-by: Adrian Thomasset <adrian.thomasset@doulos.com>
---
 .../recipes-kernel/wireguard/wireguard-tools_1.0.20200319.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200319.bb b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200319.bb
index f698b9a9a..e769f44b7 100644
--- a/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200319.bb
+++ b/meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200319.bb
@@ -9,7 +9,7 @@ DEPENDS += "wireguard-module libmnl"
 
 do_install () {
     oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
-        SYSTEMDUNITDIR="${systemd_unitdir}" \
+        SYSTEMDUNITDIR="${systemd_unitdir}/system" \
         WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
         WITH_BASHCOMPLETION=yes \
         WITH_WGQUICK=yes \
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-14 17:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 14:07 [meta-networking][PATCH] wireguard-tools: change path for wg-quick systemd unit athomasset
2021-05-14 14:21 ` [oe] " Khem Raj
2021-05-14 15:28   ` Adrian Thomasset
2021-05-14 17:06 ` Jose Quaresma

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.