mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-11 04:49:58 +00:00
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:
committed by
Khem Raj
parent
cd9eaf4318
commit
84681a31cf
@@ -9,7 +9,7 @@ DEPENDS += "libmnl"
|
|||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
|
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_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
|
||||||
WITH_BASHCOMPLETION=yes \
|
WITH_BASHCOMPLETION=yes \
|
||||||
WITH_WGQUICK=yes \
|
WITH_WGQUICK=yes \
|
||||||
@@ -18,7 +18,7 @@ do_install () {
|
|||||||
|
|
||||||
FILES_${PN} = " \
|
FILES_${PN} = " \
|
||||||
${sysconfdir} \
|
${sysconfdir} \
|
||||||
${systemd_unitdir} \
|
${systemd_system_unitdir} \
|
||||||
${bindir} \
|
${bindir} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user