diff options
author | Todor Minchev <todor.minchev@linux.intel.com> | 2016-12-13 14:56:49 -0800 |
---|---|---|
committer | California Sullivan <california.l.sullivan@intel.com> | 2016-12-15 10:27:18 -0800 |
commit | 48c335a46e03b46540a83a365fea76b92940927b (patch) | |
tree | 6099fbb24fea8271eb63569903a755e34193211e /classes/rmc-systemd-boot.bbclass | |
parent | 3d218385a7d8509fbb66b6aa92efef185d1cfcde (diff) | |
download | meta-intel-48c335a46e03b46540a83a365fea76b92940927b.tar.gz |
rmc: add support for alternative EFI bootloaders
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>
Diffstat (limited to 'classes/rmc-systemd-boot.bbclass')
-rw-r--r-- | classes/rmc-systemd-boot.bbclass | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/rmc-systemd-boot.bbclass b/classes/rmc-systemd-boot.bbclass deleted file mode 100644 index ad2cf106..00000000 --- a/classes/rmc-systemd-boot.bbclass +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | # rmc-systemd-boot bbclass | ||
2 | # Deploy central RMC database file to ESP | ||
3 | |||
4 | IMAGE_INSTALL_append = " rmc" | ||
5 | |||
6 | inherit systemd-boot | ||
7 | |||
8 | do_bootimg[depends] += "${MLPREFIX}rmc-db:do_deploy" | ||
9 | |||
10 | efi_populate_append() { | ||
11 | install -m 0400 ${DEPLOY_DIR_IMAGE}/rmc.db ${DEST}/rmc.db | ||
12 | } | ||