All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-virtualization][scarthgap][PATCH] lxc: Fix meson build issue
@ 2024-07-10  5:36 Pawan
  2024-07-22 22:20 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Pawan @ 2024-07-10  5:36 UTC (permalink / raw)
  To: meta-virtualization, badganchipv; +Cc: ranjitsinh.rathod

Build is failing during do_configure stage for lxc as meson
does not support --with-systemdsystemunitdir config parameter.

Error:
meson: error: unrecognized arguments: --with-systemdsystemunitdir=/etc/systemd/system/

Hence, use -Dsystemd-unitdir config parameter instead.

Signed-off-by: Pawan Badganchi <badganchipv@gmail.com>
---
 recipes-containers/lxc/lxc_git.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb
index ee0e442f..75cfe859 100644
--- a/recipes-containers/lxc/lxc_git.bb
+++ b/recipes-containers/lxc/lxc_git.bb
@@ -81,8 +81,7 @@ PACKAGECONFIG[apparmor] = "-Dapparmor=true,-Dapparmor=false,apparmor,apparmor"
 PACKAGECONFIG[templates] = ",,, ${PN}-templates"
 PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,libselinux"
 PACKAGECONFIG[seccomp] ="-Dseccomp=true,-Dseccomp=false,libseccomp,libseccomp"
-# meson equiv for the unitdir found yet
-# PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd,"
+PACKAGECONFIG[systemd] = "-Dsystemd-unitdir=${sysconfdir}/systemd/system/, -Dsystemd-unitdir=, systemd,"
 PACKAGECONFIG[systemd] = "-Dinit-script=systemd,-Dinit-script=sysvinit,systemd,"
 
 # required by python3 to run setup.py
-- 
2.25.1



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

* Re: [meta-virtualization][scarthgap][PATCH] lxc: Fix meson build issue
  2024-07-10  5:36 [meta-virtualization][scarthgap][PATCH] lxc: Fix meson build issue Pawan
@ 2024-07-22 22:20 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2024-07-22 22:20 UTC (permalink / raw)
  To: badganchipv; +Cc: meta-virtualization, ranjitsinh.rathod

Staged locally.

Once I get master-next merged to master, I'll update scartgap as
well.

Bruce

In message: [meta-virtualization][scarthgap][PATCH] lxc: Fix meson build issue
on 10/07/2024 Pawan Badganchi via lists.yoctoproject.org wrote:

> Build is failing during do_configure stage for lxc as meson
> does not support --with-systemdsystemunitdir config parameter.
> 
> Error:
> meson: error: unrecognized arguments: --with-systemdsystemunitdir=/etc/systemd/system/
> 
> Hence, use -Dsystemd-unitdir config parameter instead.
> 
> Signed-off-by: Pawan Badganchi <badganchipv@gmail.com>
> ---
>  recipes-containers/lxc/lxc_git.bb | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb
> index ee0e442f..75cfe859 100644
> --- a/recipes-containers/lxc/lxc_git.bb
> +++ b/recipes-containers/lxc/lxc_git.bb
> @@ -81,8 +81,7 @@ PACKAGECONFIG[apparmor] = "-Dapparmor=true,-Dapparmor=false,apparmor,apparmor"
>  PACKAGECONFIG[templates] = ",,, ${PN}-templates"
>  PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,libselinux"
>  PACKAGECONFIG[seccomp] ="-Dseccomp=true,-Dseccomp=false,libseccomp,libseccomp"
> -# meson equiv for the unitdir found yet
> -# PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd,"
> +PACKAGECONFIG[systemd] = "-Dsystemd-unitdir=${sysconfdir}/systemd/system/, -Dsystemd-unitdir=, systemd,"
>  PACKAGECONFIG[systemd] = "-Dinit-script=systemd,-Dinit-script=sysvinit,systemd,"
>  
>  # required by python3 to run setup.py
> -- 
> 2.25.1
> 

> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#8829): https://lists.yoctoproject.org/g/meta-virtualization/message/8829
> Mute This Topic: https://lists.yoctoproject.org/mt/107137574/1050810
> Group Owner: meta-virtualization+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [bruce.ashfield@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
> 



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

end of thread, other threads:[~2024-07-22 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10  5:36 [meta-virtualization][scarthgap][PATCH] lxc: Fix meson build issue Pawan
2024-07-22 22:20 ` Bruce Ashfield

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.