iop: ssh_upgrade now defaults to use the last.pkgtb file.

This commit is contained in:
Kenneth Johansson 2020-10-13 21:46:16 +02:00
parent 7837417219
commit 640535a2ef

View file

@ -285,7 +285,7 @@ function ssh_upgrade {
then
# pkgtb files can not be streamed so copy over the file witch scp
use_scp=1
firmwares=$(cd bin/targets/$CONFIG_TARGET_BOARD/generic/; ls -t *[0-9].pkgtb)
firmwares=$(cd bin/targets/$CONFIG_TARGET_BOARD/generic/; ls -t last.pkgtb)
fi
for upd_fw_base in $firmwares