mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
systemd: check "ldconfig" distro feature when setting PACKAGECONFIG
Avoid trying to call ldconfig at run-time in distros which don't provide ldconfig on the target. (From OE-Core rev: faff19f046e881f546c1ad397e101c000c9bba3d) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0808926dc2
commit
47b2cf698b
@@ -40,8 +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.filter('DISTRO_FEATURES', 'efi pam selinux', d)} \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'efi pam selinux ldconfig', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '', d)} \
|
||||
binfmt \
|
||||
|
||||
Reference in New Issue
Block a user