ccimx8x: fix u-boot Trustfence naming for installation script

This commit fixes u-boot Trustfence naming for signed and
encrypted images used in the installation script removing
the a duplicated dash in the u-boot name.

https://onedigi.atlassian.net/browse/DEL-8271

Signed-off-by: Mike Engel <Mike.Engel@digi.com>
This commit is contained in:
Mike Engel 2024-04-22 15:47:01 +02:00
parent 8e63e52435
commit 041ca93cd9
1 changed files with 2 additions and 2 deletions

View File

@ -89,9 +89,9 @@ build_uboot_scripts() {
if [ "${TRUSTFENCE_SIGN}" = "1" ]; then if [ "${TRUSTFENCE_SIGN}" = "1" ]; then
if [ "${DEY_SOC_VENDOR}" = "NXP" ]; then if [ "${DEY_SOC_VENDOR}" = "NXP" ]; then
if [ "${TRUSTFENCE_DEK_PATH}" != "0" ]; then if [ "${TRUSTFENCE_DEK_PATH}" != "0" ]; then
sed -i -e 's,##SIGNED##,-encrypted,g' ${TMP_INSTALL_SCR} sed -i -e 's,##SIGNED##,encrypted,g' ${TMP_INSTALL_SCR}
else else
sed -i -e 's,##SIGNED##,-signed,g' ${TMP_INSTALL_SCR} sed -i -e 's,##SIGNED##,signed,g' ${TMP_INSTALL_SCR}
fi fi
else else
sed -i -e 's,##SIGNED##,_Signed,g' ${TMP_INSTALL_SCR} sed -i -e 's,##SIGNED##,_Signed,g' ${TMP_INSTALL_SCR}