diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-07-12 16:34:48 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-10-03 18:22:40 +0200 |
commit | 49ccf02a0a04607045f560d682df97a341e1170b (patch) | |
tree | 02521cf597426e5e62e643d5848030097237608a /recipes-graphics/xinput-calibrator | |
parent | 3ea215d6215bb3250fb4d810c8f78feaffb106d7 (diff) |
flash_blk/eth.scr: fix exit condition in the emmc rootfs flashing loop
If an image creates a rootfs which is exactly a multiple of 64 MByte then
the scripts never detects that the last chunk has been read and
'run update' never completes.
Fix that by explicitely setting filesize to 0 when a file read fails.
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'recipes-graphics/xinput-calibrator')
0 files changed, 0 insertions, 0 deletions