diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2021-07-22 22:52:05 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-07-28 20:46:34 -0400 |
commit | 89795ef3b6b2d12cffb840a98ee374d2e806aa64 (patch) | |
tree | ee50f6d86aea7c9e3f76ca901be42ca925d46261 /examples | |
parent | ff7852d5442ab48c71cce69e19bac3d6a5183496 (diff) | |
download | u-boot-89795ef3b6b2d12cffb840a98ee374d2e806aa64.tar.gz |
test/py: Improve check for mksquashfs version
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@nic.cz>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions