aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Schuknecht <schuknecht@dresearch-fe.de>2020-10-15 16:53:12 +0200
committerKhem Raj <raj.khem@gmail.com>2020-10-15 11:42:15 -0700
commit84681a31cfd3f7aa8cc89181c2c87ffffcbc261b (patch)
treea347017515f4d2d1305a8f72a76fdd425f0ee6a1
parentcd9eaf431863f03424343ad9acfad75a95c7dcd3 (diff)
downloadmeta-openembedded-contrib-84681a31cfd3f7aa8cc89181c2c87ffffcbc261b.tar.gz
meta-openembedded-contrib-84681a31cfd3f7aa8cc89181c2c87ffffcbc261b.tar.bz2
meta-openembedded-contrib-84681a31cfd3f7aa8cc89181c2c87ffffcbc261b.zip
wireguard-tools: Fix systemd service installation
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> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-networking/recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb4
1 files 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 31b33a045d..3403fd9439 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} \
"