From: Andre McCurdy <armccurdy@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] systemd: check "ldconfig" distro feature when setting PACKAGECONFIG
Date: Fri, 27 Jan 2017 14:29:11 -0800 [thread overview]
Message-ID: <1485556151-9063-3-git-send-email-armccurdy@gmail.com> (raw)
In-Reply-To: <1485556151-9063-1-git-send-email-armccurdy@gmail.com>
Avoid trying to call ldconfig at run-time in distros which don't
provide ldconfig on the target.
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
---
meta/recipes-core/systemd/systemd_232.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb
index cc8781e..2b52227 100644
--- a/meta/recipes-core/systemd/systemd_232.bb
+++ b/meta/recipes-core/systemd/systemd_232.bb
@@ -40,7 +40,7 @@ SRC_URI_append_libc-uclibc = "\
SRC_URI_append_qemuall = " file://0001-core-device.c-Change-the-default-device-timeout-to-2.patch"
PACKAGECONFIG ??= "xz \
- ldconfig \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'ldconfig', 'ldconfig', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
--
1.9.1
next prev parent reply other threads:[~2017-01-27 22:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 22:29 [PATCH 0/2] replace USE_LDCONFIG with ldconfig distro feature Andre McCurdy
2017-01-27 22:29 ` [PATCH 1/2] bitbake.conf: replace USE_LDCONFIG with new "ldconfig" " Andre McCurdy
2017-01-27 22:29 ` Andre McCurdy [this message]
2017-02-03 1:07 ` [PATCH 0/2] replace USE_LDCONFIG with ldconfig " Andre McCurdy
2017-02-03 1:44 ` Khem Raj
2017-02-28 19:17 ` Andre McCurdy
2017-03-02 19:25 ` Andre McCurdy
2017-03-02 20:14 ` Burton, Ross
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=1485556151-9063-3-git-send-email-armccurdy@gmail.com \
--to=armccurdy@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.