From a9cd4fc12f6416da2cdade1dcec007d9f4f1ad21 Mon Sep 17 00:00:00 2001 From: Diego Sueiro Date: Tue, 17 Nov 2020 10:04:45 +0000 Subject: [PATCH] arm-autonomy/arm-autonomy-host-image-minimal: Build/Install alternate kernel 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 Signed-off-by: Jon Mason --- .../recipes-core/images/arm-autonomy-host-image-minimal.bb | 4 ++++ 1 file changed, 4 insertions(+) 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 47a07cd2..0a90abb4 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"