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 authored May 20, 2024
1 parent c7d68bb commit 551c3e4
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 @@ -374,12 +374,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 551c3e4

Please sign in to comment.