[PATCH] test/py: Improve check for mksquashfs version

Tom Rini trini at konsulko.com
Thu Jul 29 18:49:59 CEST 2021


On Thu, Jul 22, 2021 at 10:52:05PM +0200, Marek Behún 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>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Joao Marcos Costa <jmcosta944 at gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210729/fba1d2be/attachment.sig>


More information about the U-Boot mailing list