Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] systemd: check 'efi' in MACHINE_FEATURES
@ 2017-03-29  9:26 Mikko Ylinen
  2017-03-29 16:00 ` Burton, Ross
  0 siblings, 1 reply; 6+ messages in thread
From: Mikko Ylinen @ 2017-03-29  9:26 UTC (permalink / raw)
  To: openembedded-core

The recipe checks 'efi' in DISTRO_FEATURES but it's a machine feature.

Fix the check to use MACHINE_FEATURES to determine whether to
enable/disable 'efi' PACKAGECONFIG.

Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com>
---
 meta/recipes-core/systemd/systemd_232.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/systemd/systemd_232.bb b/meta/recipes-core/systemd/systemd_232.bb
index fa6a6a817f..150bb9ea65 100644
--- a/meta/recipes-core/systemd/systemd_232.bb
+++ b/meta/recipes-core/systemd/systemd_232.bb
@@ -40,7 +40,8 @@ SRC_URI_append_libc-uclibc = "\
 SRC_URI_append_qemuall = " file://0001-core-device.c-Change-the-default-device-timeout-to-2.patch"
 
 PACKAGECONFIG ??= "xz \
-                   ${@bb.utils.filter('DISTRO_FEATURES', 'efi pam selinux ldconfig', d)} \
+                   ${@bb.utils.filter('DISTRO_FEATURES', 'pam selinux ldconfig', d)} \
+                   ${@bb.utils.filter('MACHINE_FEATURES', 'efi', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
                    ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '', d)} \
                    binfmt \
-- 
2.11.0



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-31 11:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-29  9:26 [PATCH] systemd: check 'efi' in MACHINE_FEATURES Mikko Ylinen
2017-03-29 16:00 ` Burton, Ross
2017-03-29 23:36   ` Peter Kjellerstedt
2017-03-30  6:59     ` Mikko Ylinen
2017-03-30 16:15       ` Burton, Ross
2017-03-31 12:00         ` Mikko Ylinen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox