summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
authorSean Anderson <sean.anderson@seco.com>2025-09-25 22:59:29 +0530
committerGyorgy Sarvari <skandigraun@gmail.com>2025-09-26 13:19:48 +0200
commitb414502a084681cd2c4104c482aa9c30f97a1fb2 (patch)
treea670db96ede93569baacd1b3e043f3c22fb88f0c /meta-python
parent033f224986c46c111fd3cff4ce4a25b1875b39c3 (diff)
downloadmeta-openembedded-b414502a084681cd2c4104c482aa9c30f97a1fb2.tar.gz
image_types_sparse: backport fix pad source image to block size
If the source image's size is not aligned to the sparse image's block size, then conversion will fail with img2simg: libsparse/sparse.cpp:133: int write_all_blocks(sparse_file*, output_file*): Assertion `pad >= 0' failed. This is a bug in img2simg, but an easy way to work around it is to pad the source image ourselves. The default block size of 4096 matches img2simg's default block size. This change corresponds to upstream fb331cb62eafd1e534dee292525084ccee0ef3e1 Signed-off-by: Sean Anderson <sean.anderson@seco.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com> Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Diffstat (limited to 'meta-python')
0 files changed, 0 insertions, 0 deletions