Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor: Turn on kernel functionalities required for Pulsar #3426

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 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,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
Expand Down
Loading