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:
@@ -371,5 +371,6 @@ CONFIG_ARGON2=y
|
|||||||
CONFIG_BACKTRACE=y
|
CONFIG_BACKTRACE=y
|
||||||
CONFIG_TEST_FDTDEC=y
|
CONFIG_TEST_FDTDEC=y
|
||||||
CONFIG_UNIT_TEST=y
|
CONFIG_UNIT_TEST=y
|
||||||
|
CONFIG_UT_BOOTCTL=y
|
||||||
CONFIG_UT_TIME=y
|
CONFIG_UT_TIME=y
|
||||||
CONFIG_UT_DM=y
|
CONFIG_UT_DM=y
|
||||||
|
|||||||
@@ -77,7 +77,6 @@ endif # UT_LIB
|
|||||||
config UT_BOOTCTL
|
config UT_BOOTCTL
|
||||||
bool "Unit tests for boot schema"
|
bool "Unit tests for boot schema"
|
||||||
depends on BOOTSTD && SANDBOX
|
depends on BOOTSTD && SANDBOX
|
||||||
default y
|
|
||||||
|
|
||||||
config UT_BOOTSTD
|
config UT_BOOTSTD
|
||||||
bool "Unit tests for standard boot"
|
bool "Unit tests for standard boot"
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ obj-$(CONFIG_BLK_LUKS) += luks.o
|
|||||||
|
|
||||||
obj-$(CONFIG_EXPO) += expo.o expo_common.o
|
obj-$(CONFIG_EXPO) += expo.o expo_common.o
|
||||||
obj-$(CONFIG_CEDIT) += cedit.o expo_common.o
|
obj-$(CONFIG_CEDIT) += cedit.o expo_common.o
|
||||||
|
obj-$(CONFIG_UT_BOOTCTL) += bootctl/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_SANDBOX
|
ifdef CONFIG_SANDBOX
|
||||||
|
|||||||
Reference in New Issue
Block a user