linux-ti-staging: Add dm-verity kernel config

Add a kernel config fragment enabling dm-verity and its crypto
dependencies (CONFIG_DM_VERITY, CONFIG_DM_CRYPT, CONFIG_BLK_DEV_DM).
Applied via KERNEL_CONFIG_FRAGMENTS, which setup-defconfig.inc reads
and merges directly through merge_config.sh.

Gated on DM_VERITY_IMAGE being set, matching the rest of the dm-verity
dynamic layer.

Signed-off-by: Atharv Dubey <a-dubey@ti.com>
Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
Atharv Dubey authored and Ryan Eatmon committed 2026-10-16 10:56:38 -05:00
1 parent 90fb7a1e86
commit 045eeb7b76
2 files changed
+10

No files matched your search

@@ -0,0 +1,5 @@
CONFIG_MD=y
CONFIG_BLK_DEV_DM=y
CONFIG_DM_CRYPT=y
CONFIG_DM_VERITY=y
CONFIG_CRYPTO_SHA256=y
@@ -0,0 +1,5 @@
# Enable the dm-verity kernel config fragment via KERNEL_CONFIG_FRAGMENTS.
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"
SRC_URI += "${@'file://dm-verity.cfg' if d.getVar('DM_VERITY_IMAGE') else ''}"
KERNEL_CONFIG_FRAGMENTS += "${@'${UNPACKDIR}/dm-verity.cfg' if d.getVar('DM_VERITY_IMAGE') else ''}"