Skip to contentSkip to conversation

lxc: delete extraneous PACKAGECONFIG[systemd] line

PATCH In review Kris Gavvala 2 participants 2 messages Apr 27 – Apr 28

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lxc: delete extraneous PACKAGECONFIG[systemd] line

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"

---
 recipes-containers/lxc/lxc_git.bb | 1 -
 1 file changed, 1 deletion(-)
recipes-containers/lxc/lxc_git.bb +0 -1
index f08d793d..3de9a8e9 100644
@@ -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
Signature · 1 line
2.49.0
#1 lore raw

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

Quoted 5 lines · Kris via lists.yoctoproject.org

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

Ha! I messed that up some time ago :)

Thanks for the fix, it is merged to master

Bruce

Quoted 38 lines

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"

---
 recipes-containers/lxc/lxc_git.bb | 1 -
 1 file changed, 1 deletion(-)
recipes-containers/lxc/lxc_git.bb +0 -1
index f08d793d..3de9a8e9 100644
@@ -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
Signature · 11 lines
2.49.0



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9747): https://lists.yoctoproject.org/g/meta-virtualization/message/9747
Mute This Topic: https://lists.yoctoproject.org/mt/119038529/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-