diff --git a/meta-balena-common/classes/kernel-balena.bbclass b/meta-balena-common/classes/kernel-balena.bbclass index 3da2b116d3..381a462a5f 100644 --- a/meta-balena-common/classes/kernel-balena.bbclass +++ b/meta-balena-common/classes/kernel-balena.bbclass @@ -386,12 +386,28 @@ BALENA_CONFIGS[compress-kmodules] ?= " \ CONFIG_MODULE_COMPRESS_GZIP=y \ " +# +# PULSAR (https://pulsar.sh/docs/faq/kernel-requirements) +# +BALENA_CONFIGS[pulsar] ?= " \ + 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 \ +" + +BALENA_CONFIGS:append = " pulsar" + # # 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