summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPawan Badganchi <badganchipv@gmail.com>2024-07-10 16:28:21 +0530
committerBruce Ashfield <bruce.ashfield@gmail.com>2024-07-22 22:18:47 +0000
commitdc96aa7a14f2ff82fc7c711a816f9cf5651f8ecf (patch)
tree4b5722321e014b0515d92841ec27762e90bddcfe
parent4e5c323154e6ea7da8ed54e65eecb724bb002ad7 (diff)
downloadmeta-virtualization-dc96aa7a14f2ff82fc7c711a816f9cf5651f8ecf.tar.gz
lxc: Fix meson build issue
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> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-containers/lxc/lxc_git.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb
index 7b46adbc..5bbfd6ad 100644
--- a/recipes-containers/lxc/lxc_git.bb
+++ b/recipes-containers/lxc/lxc_git.bb
@@ -79,8 +79,7 @@ PACKAGECONFIG[apparmor] = "-Dapparmor=true,-Dapparmor=false,apparmor,apparmor"
79PACKAGECONFIG[templates] = ",,, ${PN}-templates" 79PACKAGECONFIG[templates] = ",,, ${PN}-templates"
80PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,libselinux" 80PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,libselinux"
81PACKAGECONFIG[seccomp] ="-Dseccomp=true,-Dseccomp=false,libseccomp,libseccomp" 81PACKAGECONFIG[seccomp] ="-Dseccomp=true,-Dseccomp=false,libseccomp,libseccomp"
82# meson equiv for the unitdir found yet 82PACKAGECONFIG[systemd] = "-Dsystemd-unitdir=${sysconfdir}/systemd/system/, -Dsystemd-unitdir=, systemd,"
83# PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd,"
84PACKAGECONFIG[systemd] = "-Dinit-script=systemd,-Dinit-script=sysvinit,systemd," 83PACKAGECONFIG[systemd] = "-Dinit-script=systemd,-Dinit-script=sysvinit,systemd,"
85 84
86# required by python3 to run setup.py 85# required by python3 to run setup.py