rocko migration: adapt trustfence conversion

https://jira.digi.com/browse/DEL-5518

Signed-off-by: Jose Diaz de Grenu <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
Jose Diaz de Grenu 2018-01-02 18:29:24 +01:00
parent 203dc44300
commit ebc927b220
1 changed files with 4 additions and 4 deletions

View File

@ -201,12 +201,12 @@ trustence_sign_cpio() {
# Sign/encrypt the ramdisk # Sign/encrypt the ramdisk
trustfence-sign-kernel.sh -p "${DIGI_FAMILY}" -i "${1}" "${1}.tf" trustfence-sign-kernel.sh -p "${DIGI_FAMILY}" -i "${1}" "${1}.tf"
else else
# Rename image # Copy the image with no changes
mv "${1}" "${1}.tf" cp "${1}" "${1}.tf"
fi fi
} }
CONVERSIONTYPES += "gz.u-boot.tf" CONVERSIONTYPES += "tf"
CONVERSION_CMD_gz.u-boot.tf = "${CONVERSION_CMD_gz.u-boot}; trustence_sign_cpio ${IMAGE_NAME}.rootfs.${type}.gz.u-boot" CONVERSION_CMD_tf = "trustence_sign_cpio ${IMAGE_NAME}.rootfs.${type}"
IMAGE_TYPES += "cpio.gz.u-boot.tf" IMAGE_TYPES += "cpio.gz.u-boot.tf"
################################################################################ ################################################################################