bootctl: Enable the tests

Enable the bootctl tests (only for the sandbox board) so we can keep
this functionality working.

Series-to: concept
Cover-letter:
bootctl: Continue development with TKey functionality
This series integrates the TKey disk-unlock features into the bootctl
UI, as a demonstration of how this might work. The user is prompted for
a passphrase, which is then used as a user-supplied secret (USS) for the
TKey.

This series includes support for using a pre-derived master key, so that
the TKey emulator can be used in tests.

Future work will continue this effort.
END

Signed-off-by: Simon Glass <simon.glass@canonical.com>
This commit is contained in:
Simon Glass
2025-11-18 15:42:40 -07:00
parent 08e061a3fa
commit 81f9a02891
3 changed files with 2 additions and 1 deletions

View File

@@ -371,5 +371,6 @@ CONFIG_ARGON2=y
CONFIG_BACKTRACE=y
CONFIG_TEST_FDTDEC=y
CONFIG_UNIT_TEST=y
CONFIG_UT_BOOTCTL=y
CONFIG_UT_TIME=y
CONFIG_UT_DM=y

View File

@@ -77,7 +77,6 @@ endif # UT_LIB
config UT_BOOTCTL
bool "Unit tests for boot schema"
depends on BOOTSTD && SANDBOX
default y
config UT_BOOTSTD
bool "Unit tests for standard boot"

View File

@@ -10,6 +10,7 @@ obj-$(CONFIG_BLK_LUKS) += luks.o
obj-$(CONFIG_EXPO) += expo.o expo_common.o
obj-$(CONFIG_CEDIT) += cedit.o expo_common.o
obj-$(CONFIG_UT_BOOTCTL) += bootctl/
endif
ifdef CONFIG_SANDBOX