All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH] wireguard-tools: Fix systemd service installation
@ 2020-10-14 16:06 Mario Schuknecht
  2020-10-14 19:03 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Mario Schuknecht @ 2020-10-14 16:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: stefan, raj.khem

Systemd configuration file wg-quick@.service is now installed in the
usual systemd path.

Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
---
 .../recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb          | 4 ++--
 1 file 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..bd92c5d51 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"

 do_install () {
     oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
-        SYSTEMDUNITDIR="${systemd_unitdir}" \
+        SYSTEMDUNITDIR="${systemd_unitdir}/system" \
         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_unitdir}/system \
     ${bindir} \
 "

--
2.16.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [meta-oe][PATCH] wireguard-tools: Fix systemd service installation
  2020-10-14 16:06 [meta-oe][PATCH] wireguard-tools: Fix systemd service installation Mario Schuknecht
@ 2020-10-14 19:03 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2020-10-14 19:03 UTC (permalink / raw)
  To: Mario Schuknecht; +Cc: openembeded-devel, Stefan Agner

Hi Mario

Thanks for addressing this issue

On Wed, Oct 14, 2020 at 9:07 AM Mario Schuknecht
<mario.schuknecht@dresearch-fe.de> wrote:
>
> Systemd configuration file wg-quick@.service is now installed in the
> usual systemd path.
>
> Signed-off-by: Mario Schuknecht <mario.schuknecht@dresearch-fe.de>
> ---
>  .../recipes-kernel/wireguard/wireguard-tools_1.0.20200513.bb          | 4 ++--
>  1 file 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..bd92c5d51 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"
>
>  do_install () {
>      oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
> -        SYSTEMDUNITDIR="${systemd_unitdir}" \
> +        SYSTEMDUNITDIR="${systemd_unitdir}/system" \

Can we use ${systemd_system_unitdir} here

>          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_unitdir}/system \

same as above

>      ${bindir} \
>  "
>
> --
> 2.16.4

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-14 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14 16:06 [meta-oe][PATCH] wireguard-tools: Fix systemd service installation Mario Schuknecht
2020-10-14 19:03 ` Khem Raj

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.