meta-digi-arm: u-boot: change name of encrypted artifacts for clarity

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

Signed-off-by: Diaz de Grenu, Jose <Jose.DiazdeGrenu@digi.com>
This commit is contained in:
Diaz de Grenu, Jose 2016-06-28 11:30:48 +02:00
parent a91cc4e796
commit d7a26cc3e6
1 changed files with 7 additions and 2 deletions

View File

@ -115,14 +115,19 @@ do_deploy_append() {
if [ "${TRUSTFENCE_UBOOT_SIGN}" = "1" ]
then
install ${S}/${config}/SRK_efuses.bin SRK_efuses-${PV}-${PR}.bin
install ${S}/${config}/u-boot-signed-${type}.${UBOOT_SUFFIX} u-boot-signed-${type}-${PV}-${PR}.${UBOOT_SUFFIX}
ln -sf u-boot-signed-${type}-${PV}-${PR}.${UBOOT_SUFFIX} u-boot-signed-${type}.${UBOOT_SUFFIX}
ln -sf SRK_efuses-${PV}-${PR}.bin SRK_efuses.bin
if [ "${TRUSTFENCE_UBOOT_ENCRYPT}" = "1" ]
then
install ${S}/${config}/u-boot-signed-${type}.${UBOOT_SUFFIX} u-boot-encrypted-${type}-${PV}-${PR}.${UBOOT_SUFFIX}
ln -sf u-boot-encrypted-${type}-${PV}-${PR}.${UBOOT_SUFFIX} u-boot-encrypted-${type}.${UBOOT_SUFFIX}
# Move the data encryption key in plain text directly to the deployment directory.
# Do not leave any other copies in the machine.
mv ${S}/${config}/dek.bin ${DEPLOYDIR}/dek-${type}.bin
else
install ${S}/${config}/u-boot-signed-${type}.${UBOOT_SUFFIX} u-boot-signed-${type}-${PV}-${PR}.${UBOOT_SUFFIX}
ln -sf u-boot-signed-${type}-${PV}-${PR}.${UBOOT_SUFFIX} u-boot-signed-${type}.${UBOOT_SUFFIX}
fi
fi
fi