mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
packagegroup-core-boot: add bootloader to EFI systems
Since the bootloader is now installed instead of added at image creation time, this is necessary for booting. Also set the default to grub-efi. This is done because a default of grub-efi is already used by live-vm-common.bbclass, and in the event that EFI_PROVIDER isn't defined errors would occur. (From OE-Core rev: d8a670726fb6b2553c792a1c66346f975f040135) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3afd4a5fa0
commit
bfd48060e3
@@ -23,6 +23,8 @@ VIRTUAL-RUNTIME_init_manager ?= "sysvinit"
|
||||
VIRTUAL-RUNTIME_initscripts ?= "initscripts"
|
||||
VIRTUAL-RUNTIME_keymaps ?= "keymaps"
|
||||
|
||||
EFI_PROVIDER ??= "grub-efi"
|
||||
|
||||
SYSVINIT_SCRIPTS = "${@bb.utils.contains('MACHINE_FEATURES', 'rtc', '${VIRTUAL-RUNTIME_base-utils-hwclock}', '', d)} \
|
||||
modutils-initscripts \
|
||||
init-ifupdown \
|
||||
@@ -35,6 +37,7 @@ RDEPENDS_${PN} = "\
|
||||
${VIRTUAL-RUNTIME_base-utils} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "sysvinit", "${SYSVINIT_SCRIPTS}", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
||||
${@bb.utils.contains("MACHINE_FEATURES", "efi", "${EFI_PROVIDER}", "", d)} \
|
||||
netbase \
|
||||
${VIRTUAL-RUNTIME_login_manager} \
|
||||
${VIRTUAL-RUNTIME_init_manager} \
|
||||
|
||||
Reference in New Issue
Block a user