diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-09-17 14:59:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-19 11:33:14 +0100 |
commit | 2697d3984f8144ab001ed70ca713a10f6d1d83be (patch) | |
tree | de4443503e0a03c45526158e38357e7bae60786e /meta/classes/rust-common.bbclass | |
parent | 5128defbc3996af5f8e28f5681ba4ad5b3c5d023 (diff) | |
download | poky-2697d3984f8144ab001ed70ca713a10f6d1d83be.tar.gz |
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
(From OE-Core rev: d1d260dd2d196d10379ed9e238bcb34f39f3a3b7)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rust-common.bbclass')
0 files changed, 0 insertions, 0 deletions