Hi,

Adrian Thomasset <athomas...@gmail.com> escreveu no dia sexta,
14/05/2021 à(s) 15:08:
>
> 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.thomas...@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" \

There is variable on bitbake for this:

SYSTEMDUNITDIR="${systemd_system_unitdir}"

>          WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 
> 'yes', '', d)} \
>          WITH_BASHCOMPLETION=yes \
>          WITH_WGQUICK=yes \
> --
> 2.25.1
>
>
> 
>


-- 
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#91308): 
https://lists.openembedded.org/g/openembedded-devel/message/91308
Mute This Topic: https://lists.openembedded.org/mt/82825077/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to