[meta-virtualization][PATCH] lxc: delete extraneous PACKAGECONFIG[systemd] line

Kris Gavvala <[email protected]> Mon, 27 Apr 2026 13:48:56 -0700
Newsgroups org.yoctoproject.lists.meta-virtualization
Message-ID <[email protected]>
The PACKAGECONFIG[systemd] variable is assigned twice, with the second assignment overriding the first.
This patch removes the unused assignment to avoid confusion.

The duplication was introduced in an August 25, 2022 patch:
	05f316f7 lxc: update to 5.x and meson

Verfied that the build did not change after this deletion by checking the log files before and after
and finding the same message:

	export systemd_system_unitdir="/usr/lib/systemd/system"
	export systemd_unitdir="/usr/lib/systemd"
	export systemd_user_unitdir="/usr/lib/systemd/user"

Signed-off-by: Kris Gavvala <[email protected]>
---
 recipes-containers/lxc/lxc_git.bb | 1 -
 1 file changed, 1 deletion(-)

diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb
index f08d793d..3de9a8e9 100644
--- a/recipes-containers/lxc/lxc_git.bb
+++ b/recipes-containers/lxc/lxc_git.bb
@@ -80,7 +80,6 @@ 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"
-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.49.0