summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2023-11-06 09:09:34 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-11-08 11:00:09 +0000
commitbafd53ec565e6e40b0f74bc0d14f2f5a6498c7ce (patch)
treef3c8c34af71c11cecbf36cebafee988dab7f77bf
parente946b17cf17bed7b19abd0ed4acaaa57e41e65d0 (diff)
downloadpoky-bafd53ec565e6e40b0f74bc0d14f2f5a6498c7ce.tar.gz
systemd: Make libnss-mymachines conditional upon packageconfig
nss-mymachines packageconfig controls this features therefore add this dependency only when it is enabled. Fixes ERROR: systemd-1_254.4-r0 do_package_qa: QA Issue: systemd-container rdepends on libnss-mymachines, but it isn't a build dependency? [build-deps] (From OE-Core rev: 40f2e5776ebf6cf93694d05189488e8448767b3a) Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Florian Wickert <fw@ferncast.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd_254.4.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd_254.4.bb b/meta/recipes-core/systemd/systemd_254.4.bb
index 8a8ff54599..80ef418726 100644
--- a/meta/recipes-core/systemd/systemd_254.4.bb
+++ b/meta/recipes-core/systemd/systemd_254.4.bb
@@ -542,7 +542,7 @@ FILES:${PN}-container = "${sysconfdir}/dbus-1/system.d/org.freedesktop.import1.c
542 ${datadir}/polkit-1/actions/org.freedesktop.machine1.policy \ 542 ${datadir}/polkit-1/actions/org.freedesktop.machine1.policy \
543 " 543 "
544 544
545RDEPENDS:${PN}-container = "libnss-mymachines" 545RDEPENDS:${PN}-container = "${@bb.utils.contains('PACKAGECONFIG', 'nss-mymachines', 'libnss-mymachines', '', d)}"
546 546
547# "machinectl import-tar" uses "tar --numeric-owner", not supported by busybox. 547# "machinectl import-tar" uses "tar --numeric-owner", not supported by busybox.
548RRECOMMENDS:${PN}-container += "\ 548RRECOMMENDS:${PN}-container += "\