diff options
| author | Jon Mason <jon.mason@arm.com> | 2025-10-06 10:24:37 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-11-07 13:15:35 +0000 |
| commit | adf7b710d781600e4bb7e65e93a2fa6e3046dd6c (patch) | |
| tree | 5807166d734ccff9c63c49b83b571c454af0f27f /meta/classes-recipe/debug_build.bbclass | |
| parent | 26a27a3037530ca970bc2d9ec902d722a857a4bb (diff) | |
| download | poky-adf7b710d781600e4bb7e65e93a2fa6e3046dd6c.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: 4e2f75f89843d629d9e0b9d3f7a68414091f2b70)
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 'meta/classes-recipe/debug_build.bbclass')
0 files changed, 0 insertions, 0 deletions
