[OE-core] [PATCH] systemd: check 'efi' in MACHINE_FEATURES

Mikko Ylinen mikko.ylinen at linux.intel.com
Fri Mar 31 12:00:02 UTC 2017


On 30/03/17 19:15, Burton, Ross wrote:
>
> On 30 March 2017 at 07:59, Mikko Ylinen <mikko.ylinen at linux.intel.com 
> <mailto:mikko.ylinen at linux.intel.com>> wrote:
>
>     I'm fine. Perhaps 'efi' should not be a PACKAGECONFIG at all (and
>     unconditionally disabled here) and
>     the functionality (just bootctl?) is moved in systemd-boot. Thoughts?
>
>
> I'm not fully aware of the details here but this seems like a good 
> idea.  Can you prepare a patch?
>

Looks like it's not very easy to build bootctl part of systemd-boot 
(without re-building the whole
systemd there too).

Therefore, I'd just:

-                   ${@bb.utils.filter('DISTRO_FEATURES', 'efi pam 
selinux ldconfig', d)} \
+                   ${@bb.utils.filter('DISTRO_FEATURES', 'pam selinux 
ldconfig', d)} \

and perhaps:

-PACKAGECONFIG[efi] = "--enable-efi,--disable-efi"
+PACKAGECONFIG[bootctl] = "--enable-efi,--disable-efi"

efi/bootctl can then be added in PACKAGECONFIG by those who need bootctl.

-- Mikko



More information about the Openembedded-core mailing list