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 17:42:08 +0100
commit4b0a3b0f3cab0fa002925bd45a31defac7a679fe (patch)
tree2a2301ad8dcea5d076745fad1c95ae62cefba46b /scripts/lib/wic/engine.py
parent128505d6535685c2b086f5584b1656bc37ead302 (diff)
downloadpoky-4b0a3b0f3cab0fa002925bd45a31defac7a679fe.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: bccc8944d6865be7f0ce9f5ce52c964818111f70) 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