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-09 22:05:17 +0100
commit1a7c0a275dac35e2184bf495b4425cdfa63cbdf3 (patch)
tree57b6a6ad407f372cc53df5f91cd5c63173ee7ac0 /scripts/lib/wic/engine.py
parent7514b9475170c01a193ade67de60e4b4a8d88a96 (diff)
downloadpoky-1a7c0a275dac35e2184bf495b4425cdfa63cbdf3.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: ec1a0afd97f9a49558dda01a0f3600f885f78fe3) 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