aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorTodor Minchev <todor.minchev@linux.intel.com>2016-12-13 14:56:49 -0800
committerCalifornia Sullivan <california.l.sullivan@intel.com>2016-12-15 10:27:18 -0800
commit48c335a46e03b46540a83a365fea76b92940927b (patch)
tree6099fbb24fea8271eb63569903a755e34193211e /classes
parent3d218385a7d8509fbb66b6aa92efef185d1cfcde (diff)
downloadmeta-intel-48c335a46e03b46540a83a365fea76b92940927b.tar.gz
meta-intel-48c335a46e03b46540a83a365fea76b92940927b.tar.bz2
meta-intel-48c335a46e03b46540a83a365fea76b92940927b.zip
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')
-rw-r--r--classes/rmc-boot.bbclass (renamed from classes/rmc-systemd-boot.bbclass)5
1 files changed, 3 insertions, 2 deletions
diff --git a/classes/rmc-systemd-boot.bbclass b/classes/rmc-boot.bbclass
index ad2cf106..a1f2093f 100644
--- a/classes/rmc-systemd-boot.bbclass
+++ b/classes/rmc-boot.bbclass
@@ -1,9 +1,10 @@
-# rmc-systemd-boot bbclass
+# rmc-boot bbclass
# Deploy central RMC database file to ESP
IMAGE_INSTALL_append = " rmc"
+RMC_BOOTLOADER ?= "systemd-boot"
-inherit systemd-boot
+inherit ${RMC_BOOTLOADER}
do_bootimg[depends] += "${MLPREFIX}rmc-db:do_deploy"