summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd
diff options
context:
space:
mode:
authorEero Aaltonen <eero.aaltonen@vaisala.com>2023-10-19 14:11:51 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-10-23 10:49:19 +0100
commit6f30e3586eb1b8e853cf23dd039f258d0dc0bc6b (patch)
tree36ffbd3b9e047ef4f14ef2b715bbb21d0d3086d2 /meta/recipes-core/systemd
parent37dc9faae053e40c4ad5e0e4155549a2178831b2 (diff)
downloadpoky-6f30e3586eb1b8e853cf23dd039f258d0dc0bc6b.tar.gz
base-files, systemd: add nss-resolve plugin
Add nss-resolve plugin to the glibc Name Service Switch (NSS) with systemd-resolved DISTRO_FEATURE so that systemd-resolved is used in DNS name resolution. This enables the resolution of Multicast DNS and Link-Local Multicast Name Resolution names, depending on the selected options. (From OE-Core rev: 81da1d6eecee9fd036121298abba6fdcffc3969d) Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd')
-rw-r--r--meta/recipes-core/systemd/systemd_254.4.bb3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_254.4.bb b/meta/recipes-core/systemd/systemd_254.4.bb
index d888efdece..76cc07e86f 100644
--- a/meta/recipes-core/systemd/systemd_254.4.bb
+++ b/meta/recipes-core/systemd/systemd_254.4.bb
@@ -793,6 +793,9 @@ python __anonymous() {
793 if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): 793 if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
794 d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") 794 d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
795 795
796 if bb.utils.contains('DISTRO_FEATURES', 'systemd-resolved', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'nss-resolve resolved', True, False, d):
797 bb.error("DISTRO_FEATURES[systemd-resolved] requires PACKAGECONFIG[nss-resolve, resolved]")
798
796 if bb.utils.contains('PACKAGECONFIG', 'repart', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'openssl', True, False, d): 799 if bb.utils.contains('PACKAGECONFIG', 'repart', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'openssl', True, False, d):
797 bb.error("PACKAGECONFIG[repart] requires PACKAGECONFIG[openssl]") 800 bb.error("PACKAGECONFIG[repart] requires PACKAGECONFIG[openssl]")
798 801