[meta-arm,4/8] arm-autonomy/arm-autonomy-host-image-minimal: Build/Install alternate kernel

Submitted by Diego Sueiro on Nov. 17, 2020, 10:04 a.m. | Patch ID: 178136

Details

Message ID 20201117100449.20111-5-diego.sueiro@arm.com
State New
Headers show

Commit Message

Diego Sueiro Nov. 17, 2020, 10:04 a.m.
This patch introduces the usage of the alternate-kernel DISTRO_FEATURE, and
when it is present we will build and install the alternate kernel set via
PREFERRED_PROVIDER_alternate/kernel.

Change-Id: I1fe7447a5f903d7ff5584813bfb38fca8979e755
Issue-Id: SCM-1654
Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>

---
 .../recipes-core/images/arm-autonomy-host-image-minimal.bb    | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.17.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#1381): https://lists.yoctoproject.org/g/meta-arm/message/1381
Mute This Topic: https://lists.yoctoproject.org/mt/78313147/1003190
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub [mhalstead@linuxfoundation.org]
-=-=-=-=-=-=-=-=-=-=-=-

Patch hide | download patch | download mbox

diff --git a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb b/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb
index 47a07cd..0a90abb 100644
--- a/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb
+++ b/meta-arm-autonomy/recipes-core/images/arm-autonomy-host-image-minimal.bb
@@ -2,6 +2,10 @@ 
 
 DESCRIPTION = "Arm Autonomy stack host minimal image"
 
+# When alternate-kernel DISTRO_FEATURE is present we will build
+# and install the alternate kernel
+inherit ${@bb.utils.filter('DISTRO_FEATURES', 'alternate-kernel', d)}
+
 inherit core-image
 
 LICENSE = "MIT"