diff mbox series

[kirkstone,2/2] arm-bsp/machine: corstone1000: disable pulling the kernel into the initramfs

Message ID 20221019091557.3949-3-abdellatif.elkhlifi@arm.com
State New
Headers show
Series corstone1000: kirkstone: backport kernel compression | expand

Commit Message

Abdellatif El Khlifi Oct. 19, 2022, 9:15 a.m. UTC
From: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>

exclude kernel-image-* packages from the rootfs

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
---
 meta-arm-bsp/conf/machine/include/corstone1000.inc | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-arm-bsp/conf/machine/include/corstone1000.inc b/meta-arm-bsp/conf/machine/include/corstone1000.inc
index 3053c1c2..d0245ef2 100644
--- a/meta-arm-bsp/conf/machine/include/corstone1000.inc
+++ b/meta-arm-bsp/conf/machine/include/corstone1000.inc
@@ -55,6 +55,9 @@  INITRAMFS_IMAGE_BUNDLE ?= "1"
 #telling the build system which image is responsible of the generation of the initramfs rootfs
 INITRAMFS_IMAGE = "corstone1000-initramfs-image"
 
+# prevent the kernel image from being included in the intramfs rootfs
+PACKAGE_EXCLUDE = "kernel-image-*"
+
 # enable this feature for kernel debugging
 # MACHINE_FEATURES += "corstone1000_kernel_debug"