u-boot-dey: have the v2017.03 recipe create additional symlinks
Without these symlinks, U-Boot images will be left out of the installer .zip file. Unlike the v2015.04 recipe, the default symlinks aren't removed, because they're needed in the imx-boot recipe for the ccimx8x. https://jira.digi.com/browse/DEL-6333 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
dd5ba676ff
commit
eaf2a9b7ea
|
|
@ -117,13 +117,18 @@ do_deploy_append() {
|
||||||
# u-boot-<type>
|
# u-boot-<type>
|
||||||
# and add a more suitable symlink in the form:
|
# and add a more suitable symlink in the form:
|
||||||
# u-boot-<platform>-<config>.<ext>
|
# u-boot-<platform>-<config>.<ext>
|
||||||
if [ -n "${UBOOT_CONFIG}" ] && [ "${TRUSTFENCE_SIGN}" = "1" ]
|
if [ -n "${UBOOT_CONFIG}" ]
|
||||||
then
|
then
|
||||||
for config in ${UBOOT_MACHINE}; do
|
for config in ${UBOOT_MACHINE}; do
|
||||||
i=$(expr $i + 1);
|
i=$(expr $i + 1);
|
||||||
for type in ${UBOOT_CONFIG}; do
|
for type in ${UBOOT_CONFIG}; do
|
||||||
j=$(expr $j + 1);
|
j=$(expr $j + 1);
|
||||||
if [ $j -eq $i ]
|
if [ $j -eq $i ]
|
||||||
|
then
|
||||||
|
cd ${DEPLOYDIR}
|
||||||
|
rm -r ${UBOOT_BINARY}-${type}
|
||||||
|
ln -sf u-boot-${type}-${PV}-${PR}.${UBOOT_SUFFIX} u-boot-${type}.${UBOOT_SUFFIX}
|
||||||
|
if [ "${TRUSTFENCE_SIGN}" = "1" ]
|
||||||
then
|
then
|
||||||
install ${B}/${config}/SRK_efuses.bin SRK_efuses-${PV}-${PR}.bin
|
install ${B}/${config}/SRK_efuses.bin SRK_efuses-${PV}-${PR}.bin
|
||||||
ln -sf SRK_efuses-${PV}-${PR}.bin SRK_efuses.bin
|
ln -sf SRK_efuses-${PV}-${PR}.bin SRK_efuses.bin
|
||||||
|
|
@ -140,6 +145,7 @@ do_deploy_append() {
|
||||||
ln -sf u-boot-dtb-encrypted-${type}-${PV}-${PR}.${UBOOT_SUFFIX} u-boot-dtb-encrypted-${type}.${UBOOT_SUFFIX}
|
ln -sf u-boot-dtb-encrypted-${type}-${PV}-${PR}.${UBOOT_SUFFIX} u-boot-dtb-encrypted-${type}.${UBOOT_SUFFIX}
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
unset j
|
unset j
|
||||||
done
|
done
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue