From 1516bd03d02df2b4d0b739cf446763dc8ba05fa4 Mon Sep 17 00:00:00 2001 From: Mike Engel Date: Wed, 5 Feb 2020 16:45:34 +0100 Subject: [PATCH] image-type_digi.bbclass: Fix copy of initramfs when Trustfence is disabled. This commit fixes the copy of the initramfs final image with the extension *.tf when Trustfence is disabled. This was introduced by commit 5beec04b ("trustfence: Add Trustfence support for CCMX8X") Signed-off-by: Mike Engel --- meta-digi-arm/classes/image_types_digi.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-digi-arm/classes/image_types_digi.bbclass b/meta-digi-arm/classes/image_types_digi.bbclass index de4a07564..dcb85f51d 100644 --- a/meta-digi-arm/classes/image_types_digi.bbclass +++ b/meta-digi-arm/classes/image_types_digi.bbclass @@ -212,6 +212,9 @@ trustence_sign_cpio() { fi # Sign/encrypt the ramdisk trustfence-sign-kernel.sh -p "${DIGI_FAMILY}" -i "${1}" "${1}.tf" + else + # Copy the image with no changes + cp "${1}" "${1}.tf" fi } CONVERSIONTYPES += "tf"