diff options
| author | Sean Anderson <sean.anderson@seco.com> | 2022-08-12 15:44:03 -0400 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-08-13 07:05:31 -0700 |
| commit | fb331cb62eafd1e534dee292525084ccee0ef3e1 (patch) | |
| tree | d13fca8d63365652f8ad36ad78d2314c4a331d1f /meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch | |
| parent | d2e903b5d60c72e4afe79fd317f321314892d19a (diff) | |
| download | meta-openembedded-fb331cb62eafd1e534dee292525084ccee0ef3e1.tar.gz | |
image_types_sparse: 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.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pybind11/0001-Do-not-check-pointer-size-when-cross-compiling.patch')
0 files changed, 0 insertions, 0 deletions
