]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: mkimage_fit_atf: fix file size reporting
authorTim Harvey <tharvey@gateworks.com>
Wed, 7 Apr 2021 04:04:09 +0000 (21:04 -0700)
committerStefano Babic <sbabic@denx.de>
Sun, 2 May 2021 10:46:54 +0000 (12:46 +0200)
commit35fc3713a39e70af3c8a4ce606c758d4f9af0800
tree62aaa922a5ed8ec0b09896dc74502c64722a8c2b
parentf94ce9eb0500825ee37cb2c0a5846e3fd11eaaef
imx: mkimage_fit_atf: fix file size reporting

instead using ls and awk to determine file size use stat instead.
This fixes an invalid size reporting for user or group names that have
spaces in them.

This adds a dependency on the stat application which is part of
the coreutils package which also includes ls.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
arch/arm/mach-imx/mkimage_fit_atf.sh