mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-10-19 20:37:00 +00:00
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:
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
|
||||
+5
@@ -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 ''}"
|
||||
Reference in new issue
Block a user