diff options
-rw-r--r-- | conf/layer.conf | 6 | ||||
-rw-r--r-- | documentation/rmc/README | 13 |
2 files changed, 7 insertions, 12 deletions
diff --git a/conf/layer.conf b/conf/layer.conf index 8e221861..41e42e83 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -25,9 +25,3 @@ RMC_BBMASK := "${LAYERDIR}/common/recipes-bsp/systemd-boot/systemd-boot.*\.bbapp BBMASK += "${RMC_BBMASK}" BBMASK_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'rmc', '${RMC_BBMASK}', '', d)}" - -# Override EFI_PROVIDER when RMC Feature is enabled - -EFI_PROVIDER_rmc_bootloader = "rmc-systemd-boot" - -OVERRIDES_append = ":${@bb.utils.contains('DISTRO_FEATURES', 'rmc', 'rmc_bootloader', '', d)}" diff --git a/documentation/rmc/README b/documentation/rmc/README index c36617d6..97d64156 100644 --- a/documentation/rmc/README +++ b/documentation/rmc/README @@ -167,11 +167,11 @@ Enable RMC Feature -------------------------------------------------------------------------------- To Enable RMC feature in build, add the below line in a conf file: DISTRO_FEATURES_append = " rmc" +EFI_PROVIDER = "rmc-systemd-boot" -Note: To ensure its whole functionality, RMC Feature overrides any bootloader -selected in EFI_PROVIDER with its own bootloader. This is just a temporary state -of affairs. Later we will allow developers to specify an EFI bootloader not -supporting RMC along with the feature enabled. +Note: +Image could be still bootable if you only have either of two lines, but RMC +feature won't be fully functional. @@ -187,9 +187,10 @@ boot the built image on supported boards. Examples are always built in when the feature is enabled, except for the EXAMPLE 1. EXAMPLE 1: Support a new board type: -(1) enable the feature and do a build to get a live-boot image by adding this - line in conf/local.conf: +(1) enable the feature and do a build to get a live-boot image by adding these + lines in conf/local.conf: DISTRO_FEATURES_append = " rmc" + EFI_PROVIDER = "rmc-systemd-boot" (2) flash the image to a USB stick and boot it on your board |