From b52e4c266dcf1df4d9bd61604efbc310247b6bcd Mon Sep 17 00:00:00 2001 From: Edwin Joassart Date: Mon, 20 May 2024 14:09:30 +0200 Subject: [PATCH] minor: Turn on kernel functionalities required for Pulsar Testing pular --- .../classes/kernel-balena.bbclass | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/meta-balena-common/classes/kernel-balena.bbclass b/meta-balena-common/classes/kernel-balena.bbclass index 3da2b116d3..1a84195188 100644 --- a/meta-balena-common/classes/kernel-balena.bbclass +++ b/meta-balena-common/classes/kernel-balena.bbclass @@ -386,12 +386,24 @@ BALENA_CONFIGS[compress-kmodules] ?= " \ CONFIG_MODULE_COMPRESS_GZIP=y \ " +# +# PULSAR (https://pulsar.sh/docs/faq/kernel-requirements) +# +CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_BTF=y +CONFIG_SECURITY=y +CONFIG_SECURITYFS=y +CONFIG_SECURITY_NETWORK=y +CONFIG_FUNCTION_TRACER=y +CONFIG_FTRACE_SYSCALLS=y +CONFIG_BPF_LSM=y + # # Do not include debugging info in kernel and modules # -BALENA_CONFIGS[no-debug-info] ?= " \ - CONFIG_DEBUG_INFO=n \ - " +# BALENA_CONFIGS[no-debug-info] ?= " \ +# CONFIG_DEBUG_INFO=n \1 +# " # # Support for touchscreens using generic multitouch driver