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 <Mike.Engel@digi.com>
This commit is contained in:
Mike Engel 2020-02-05 16:45:34 +01:00
parent 7477196c9b
commit 1516bd03d0
1 changed files with 3 additions and 0 deletions

View File

@ -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"