Skip to content

Commit

Permalink
classes: kernel-balena: add secureboot configuration dependencies
Browse files Browse the repository at this point in the history
Change-type: patch
Signed-off-by: Alex Gonzalez <alexg@balena.io>
  • Loading branch information
alexgg committed May 2, 2024
1 parent 8b4f5dd commit f8eca19
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions meta-balena-common/classes/kernel-balena.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -681,6 +681,11 @@ BALENA_CONFIGS[kexec] = " \
BALENA_CONFIGS:append = "${@bb.utils.contains('MACHINE_FEATURES','efi',' kexec','',d)}"

BALENA_CONFIGS:append = "${@oe.utils.conditional('SIGN_API','','',' secureboot',d)}"
BALENA_CONFIGS_DEPS[secureboot] = " \
CONFIG_INTEGRITY_SIGNATURE=y \
CONFIG_INTEGRITY_ASYMMETRIC_KEYS=y \
CONFIG_SYSTEM_BLACKLIST_KEYRING=y \
"
BALENA_CONFIGS[secureboot] = " \
CONFIG_INTEGRITY_PLATFORM_KEYRING=y \
CONFIG_MODULE_SIG=y \
Expand Down

0 comments on commit f8eca19

Please sign in to comment.