Skip to content
Commit 098195ec authored by Alexander Kanavin's avatar Alexander Kanavin Committed by Steve Sakoman
Browse files

wic: keep rootfs_size as integer



The corrected line accidentally converted it to float,
which causes problems later on with python 3.10:

|   File "/home/alex/development/poky/scripts/lib/wic/partition.py", line 278, in prepare_rootfs_ext
|     os.ftruncate(sparse.fileno(), rootfs_size * 1024)
| TypeError: 'float' object cannot be interpreted as an integer

Signed-off-by: default avatarAlexander Kanavin <alex@linutronix.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d1d260dd)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 4b4131f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment