From 106efc497046a9673ce3a2e7234b7d5b2bd1b09f Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Wed, 3 Aug 2016 09:15:51 +0200 Subject: [PATCH] meta-digi-arm: linux-dey: Add TrustFence dependencies on Linux kernel. When changing any of the secure boot configurable macros the Linux kernel should be re-deployed so that it can be signed/encrypted as needed. https://jira.digi.com/browse/DEL-2750 Signed-off-by: Alex Gonzalez --- meta-digi-arm/recipes-kernel/linux/linux-dey.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc index 19c71f113..a7717b203 100644 --- a/meta-digi-arm/recipes-kernel/linux/linux-dey.inc +++ b/meta-digi-arm/recipes-kernel/linux/linux-dey.inc @@ -44,6 +44,8 @@ do_deploy_append() { (cd ${DEPLOYDIR} && ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}) } +do_deploy[vardeps] += "TRUSTFENCE_SIGN_KEYS_PATH TRUSTFENCE_KEY_INDEX TRUSTFENCE_DEK_PATH" + FILES_kernel-image += "/boot/config-${KERNEL_VERSION}" # Don't include kernels in standard images