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>
This commit is contained in:
Mario Schuknecht 2020-10-15 16:53:12 +02:00 committed by Khem Raj
parent cd9eaf4318
commit 84681a31cf

View File

@ -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} \
"