Skip to content

Commit

Permalink
minor: Turn on kernel functionalities required for Pulsar
Browse files Browse the repository at this point in the history
Testing pular
  • Loading branch information
aethernet committed Sep 3, 2024
1 parent 5310f76 commit b52e4c2
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions meta-balena-common/classes/kernel-balena.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b52e4c2

Please sign in to comment.