summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-kernel
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 /meta-networking/recipes-kernel
parentcd9eaf431863f03424343ad9acfad75a95c7dcd3 (diff)
downloadmeta-openembedded-84681a31cfd3f7aa8cc89181c2c87ffffcbc261b.tar.gz
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>
Diffstat (limited to 'meta-networking/recipes-kernel')
-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 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"
9 9
10do_install () { 10do_install () {
11 oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \ 11 oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
12 SYSTEMDUNITDIR="${systemd_unitdir}" \ 12 SYSTEMDUNITDIR="${systemd_system_unitdir}" \
13 WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \ 13 WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
14 WITH_BASHCOMPLETION=yes \ 14 WITH_BASHCOMPLETION=yes \
15 WITH_WGQUICK=yes \ 15 WITH_WGQUICK=yes \
@@ -18,7 +18,7 @@ do_install () {
18 18
19FILES_${PN} = " \ 19FILES_${PN} = " \
20 ${sysconfdir} \ 20 ${sysconfdir} \
21 ${systemd_unitdir} \ 21 ${systemd_system_unitdir} \
22 ${bindir} \ 22 ${bindir} \
23" 23"
24 24