From: Robin Lintermann <rl@karo-electronics.de>
To: openembedded-core@lists.openembedded.org
Cc: Robin Lintermann <rl@karo-electronics.de>
Subject: [scarthgap][PATCH 2/5] busybox: add a DEPENDS on libpam when pam is selected in DISTRO_FEATURES
Date: Tue, 2 Jun 2026 16:21:29 +0200 [thread overview]
Message-ID: <20260602142132.976138-2-rl@karo-electronics.de> (raw)
In-Reply-To: <20260602142132.976138-1-rl@karo-electronics.de>
When 'pam' is in DISTRO_FEATURES and CONFIG_PAM is selected in busybox
the target-libpam is required to be installed before busybox can be
built. Add a build-time dependency for busybox on libpam to guarantee
this.
If CONFIG_PAM is not selected in busybox's .config, this dependency
would rather be unnecessary, but it doesn't hurt to have it anyhow.
Signed-off-by: Robin Lintermann <rl@karo-electronics.de>
---
meta/recipes-core/busybox/busybox.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index f5d7c3f9c8..d5ab9eff6d 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -4,6 +4,7 @@ HOMEPAGE = "https://www.busybox.net"
BUGTRACKER = "https://bugs.busybox.net/"
DEPENDS += "kern-tools-native virtual/crypt"
+DEPENDS += "${@ bb.utils.contains('DISTRO_FEATURES','pam','libpam','',d)}"
# bzip2 applet in busybox is based on lightly-modified bzip2-1.0.4 source
# the GPL is version 2 only
--
2.43.0
next prev parent reply other threads:[~2026-06-02 14:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-02 14:21 [scarthgap][PATCH 1/5] sign_ipk.bbclass: add missing 'd' parameter to raise_sanity_error() Robin Lintermann
2026-06-02 14:21 ` Robin Lintermann [this message]
2026-06-02 14:21 ` [scarthgap][PATCH 3/5] util-linux: fix 'mount' options in mountall initscript Robin Lintermann
2026-06-02 14:21 ` [scarthgap][PATCH 4/5] alsa-utils: add runtime dependency on ncurses for 'alsamixer' Robin Lintermann
2026-06-02 14:31 ` Patchtest results for " patchtest
2026-06-02 14:21 ` [scarthgap][PATCH 5/5] update-alternatives.bbclass: Add a 'DISTRO_FEATURE' to create only relative symlinks Robin Lintermann
2026-06-16 14:40 ` [OE-core] [scarthgap][PATCH 1/5] sign_ipk.bbclass: add missing 'd' parameter to raise_sanity_error() Yoann Congal
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=20260602142132.976138-2-rl@karo-electronics.de \
--to=rl@karo-electronics.de \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox