From: uvv.mail@gmail.com
To: Openembedded-core@lists.openembedded.org
Cc: Vyacheslav Yurkov <uvv.mail@gmail.com>
Subject: [PATCH 1/3] bitbake.conf: Add conditional host tool getent
Date: Sun, 2 Feb 2025 21:03:17 +0100 [thread overview]
Message-ID: <20250202200319.82231-1-uvv.mail@gmail.com> (raw)
From: Vyacheslav Yurkov <uvv.mail@gmail.com>
In case of systemd init mananger, it's required for the native build.
Even though we don't build systemd natively, we might build some of its
binaries, which need to run on the host system.
Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
---
meta/conf/bitbake.conf | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 8b607088c6..6b1bfaf64e 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -532,6 +532,9 @@ HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLAS
# Used by archiver.bbclass when compression is xz
HOSTTOOLS += "${@'xz' if (('archiver.bbclass' in (d.getVar('BBINCLUDED') or '')) and (d.getVarFlag('ARCHIVER_MODE', 'compression') == 'xz')) else ''}"
+# Native build of systemd tools requires getent utility
+HOSTTOOLS += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'getent', '', d)}"
+
# Link to these if present
HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp socat ssh sudo"
next reply other threads:[~2025-02-02 20:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-02 20:03 uvv.mail [this message]
2025-02-02 20:03 ` [PATCH 2/3] meson.bbclass: Add an option to specify install tags uvv.mail
2025-02-02 20:03 ` [PATCH 3/3] systemd: Build the systemctl executable uvv.mail
2025-02-02 20:17 ` Patchtest results for " patchtest
2025-02-03 7:54 ` [OE-core] " Mikko Rapeli
2025-02-03 11:07 ` Alexander Kanavin
2025-02-03 11:27 ` Mikko Rapeli
2025-02-03 11:32 ` Alexander Kanavin
2025-02-03 11:37 ` Mikko Rapeli
2025-02-03 8:53 ` Ross Burton
2025-02-03 9:35 ` Alex Kiernan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250202200319.82231-1-uvv.mail@gmail.com \
--to=uvv.mail@gmail.com \
--cc=Openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.