meta-openembedded/meta-oe/classes
Sean Anderson fb331cb62e 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>
2022-08-13 07:05:31 -07:00
..
breakpad.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
gitpkgv.bbclass gitpkgv.bbclass: Add support for extending the supported tag formats 2020-01-17 15:44:06 -08:00
gitver.bbclass gitver: Pass git directory argument to gitrev_run 2019-06-15 17:17:09 -07:00
gpe.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
image_types_sparse.bbclass image_types_sparse: Pad source image to block size 2022-08-13 07:05:31 -07:00
itstool.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00
machine_kernel_pr.bbclass remove True option to getVar calls 2016-12-02 09:16:17 +01:00
scancode.bbclass meta-oe: remove True option to getVar calls (again) 2019-01-13 10:28:01 -08:00
socorro-syms.bbclass Convert to new override syntax 2021-08-03 10:21:25 -07:00