All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jose Quaresma" <quaresma.jose@gmail.com>
To: Adrian Thomasset <athomasset@gmail.com>
Cc: openembeded-devel <openembedded-devel@lists.openembedded.org>,
	 Adrian Thomasset <adrian.thomasset@doulos.com>
Subject: Re: [oe] [meta-networking][PATCH] wireguard-tools: change path for wg-quick systemd unit
Date: Fri, 14 May 2021 18:06:04 +0100	[thread overview]
Message-ID: <CANPvuRnkyhRY-g06Robcc4w4s82sUhc-PJ3yH=F=DDjE2wMw3A@mail.gmail.com> (raw)
In-Reply-To: <20210514140722.3503198-1-adrian.thomasset@doulos.com>

Hi,

Adrian Thomasset <athomasset@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.thomasset@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

      parent reply	other threads:[~2021-05-14 17:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-14 14:07 [meta-networking][PATCH] wireguard-tools: change path for wg-quick systemd unit athomasset
2021-05-14 14:21 ` [oe] " Khem Raj
2021-05-14 15:28   ` Adrian Thomasset
2021-05-14 17:06 ` Jose Quaresma [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANPvuRnkyhRY-g06Robcc4w4s82sUhc-PJ3yH=F=DDjE2wMw3A@mail.gmail.com' \
    --to=quaresma.jose@gmail.com \
    --cc=adrian.thomasset@doulos.com \
    --cc=athomasset@gmail.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.