[PATCH] test/py: Improve check for mksquashfs version
Simon Glass
sjg at chromium.org
Fri Jul 23 05:07:42 CEST 2021
On Thu, 22 Jul 2021 at 14:52, Marek Behún <marek.behun at nic.cz> wrote:
>
> Some builds of squashfs-tools append version string with "-git" or
> similar. The float() conversion will fail in this case.
>
> Improve the code to only convert to float() the string before the '-'
> character.
>
> Signed-off-by: Marek Behún <marek.behun at nic.cz>
> ---
> test/py/tests/test_fs/test_squashfs/sqfs_common.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
Thanks, I hit that on rpi actually.
More information about the U-Boot
mailing list