mirror of
https://git.yoctoproject.org/poky-contrib
synced 2025-05-08 23:52:25 +08:00
poky-altcfg.conf: enable "efi" in DISTRO_FEATURES
oe-core machines like genericarm64 already enable "efi" in MACHINE_FEATURES but this does not enable systemd side "efi" support and thus systemd does not mount ESP partition for example. Enabling "efi" in systemd PACKAGECONFIG got negative comments in review. Also enabling systemd "efi" support via MACHINE_FEATURES was rejected. Thus enabling this as distro feature for "poky-altcfg". Many HW targets come with UEFI compatible firmware by default. For example u-boot enables UEFI support by default on all targets. This enables seeing UEFI firmware interfaces and data in userspace since "efivars" is now mounted by systemd to /sys/firmware/efi/efivars. Things like UEFI bootloader (grub, systemd-boot etc) selections and secure boot status can be queried from there. (From meta-yocto rev: f8ad95758cc7e4a8f7f41f90fed75e0ab0af26db) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
This commit is contained in:
parent
01b7291e7c
commit
612ffd8632
@ -14,4 +14,7 @@ POKY_INIT_MANAGER:poky-altcfg = "systemd"
|
||||
# systemd isn't suitable with musl
|
||||
POKY_INIT_MANAGER:poky-altcfg:libc-musl = "sysvinit"
|
||||
|
||||
# for systemd etc UEFI support
|
||||
DISTRO_FEATURES:append = " efi"
|
||||
|
||||
require conf/distro/include/poky-distro-alt-test-config.inc
|
||||
|
Loading…
x
Reference in New Issue
Block a user