summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
authorJon Mason <jon.mason@arm.com>2025-10-06 10:24:37 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-10 10:50:20 +0100
commit03ddebd5f24699f20391d3c6ea5a3210f8c1f34c (patch)
treec9b0bacb1a787fa6ef414422a5d828cd0a148007 /scripts/lib/wic/engine.py
parentace65f03afa2bc01af2ddf6432bf9d107f40af7f (diff)
downloadpoky-03ddebd5f24699f20391d3c6ea5a3210f8c1f34c.tar.gz
runqemu: resize rootfs image to power of 2 for SD or pflash
QEMU requires that SD and pflash images are sized to be a power of 2 (e.g., 32M, 64M, etc). So, if the image being used is not a power of 2 and it's being used for SD or pflash, increase it to the next power of 2 size via the truncate command. This might not be an actual spec requirement, and is being investigated in https://gitlab.com/qemu-project/qemu/-/issues/1754 (From OE-Core rev: 048e1f32f025244c2dd436a9f072faf3fb12d86a) Signed-off-by: Jon Mason <jon.mason@arm.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions