mirror of
git://git.yoctoproject.org/meta-intel
synced 2026-01-01 13:58:05 +00:00
RMC was previously configured to work only with the systemd-boot EFI bootloader. With this commit we can specify alternative bootloaders by setting the RMC_BOOTLOADER variable in local.conf. If RMC_BOOTLOADER is not set systemd-boot will be used by default. Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
14 lines
299 B
Plaintext
14 lines
299 B
Plaintext
# rmc-boot bbclass
|
|
# Deploy central RMC database file to ESP
|
|
|
|
IMAGE_INSTALL_append = " rmc"
|
|
RMC_BOOTLOADER ?= "systemd-boot"
|
|
|
|
inherit ${RMC_BOOTLOADER}
|
|
|
|
do_bootimg[depends] += "${MLPREFIX}rmc-db:do_deploy"
|
|
|
|
efi_populate_append() {
|
|
install -m 0400 ${DEPLOY_DIR_IMAGE}/rmc.db ${DEST}/rmc.db
|
|
}
|