From 7ac8d1e2a5f2da3b8ea5b06a908616a8667c4bb4 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Wed, 1 Feb 2023 10:32:58 +0000 Subject: [PATCH] arm-bsp/corstone*00: disable openssl in kmod The initramfs needs to be very small, but since oe-core d6a62e kmod has enabled OpenSSL support which doubles the size of the initramfs, resulting in boot failures. Signed-off-by: Ross Burton --- meta-arm-bsp/conf/machine/corstone500.conf | 3 +++ meta-arm-bsp/conf/machine/include/corstone1000.inc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/meta-arm-bsp/conf/machine/corstone500.conf b/meta-arm-bsp/conf/machine/corstone500.conf index dfc850db..12634a3b 100644 --- a/meta-arm-bsp/conf/machine/corstone500.conf +++ b/meta-arm-bsp/conf/machine/corstone500.conf @@ -43,3 +43,6 @@ FVP_DATA ?= "css.cluster.cpu0=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.wic.nopt@ FVP_CONSOLE ?= "terminal_0" FVP_TERMINALS[css.terminal_0] ?= "console" FVP_TERMINALS[css.terminal_1] ?= "" + +# Disable openssl in kmod to shink the initramfs size +PACKAGECONFIG:remove:pn-kmod = "openssl" diff --git a/meta-arm-bsp/conf/machine/include/corstone1000.inc b/meta-arm-bsp/conf/machine/include/corstone1000.inc index d5d6418d..2869d78c 100644 --- a/meta-arm-bsp/conf/machine/include/corstone1000.inc +++ b/meta-arm-bsp/conf/machine/include/corstone1000.inc @@ -73,3 +73,6 @@ SERIAL_CONSOLES ?= "115200;ttyAMA0" WKS_FILE_DEPENDS:append = " ${EXTRA_IMAGEDEPENDS}" WKS_FILE ?= "corstone1000-image.corstone1000.wks" + +# Disable openssl in kmod to shink the initramfs size +PACKAGECONFIG:remove:pn-kmod = "openssl"