pengutronix / genimage

tool to generate multiple filesystem and flash images from a tree
GNU General Public License v2.0
309 stars 110 forks source link

Guarantee 0-holes in sparse files are filled with `0` bytes in flash images #222

Closed hudson-ayers-cruise closed 1 year ago

hudson-ayers-cruise commented 1 year ago

Fixes #221

Tested this fix using the example that inspired #221, verified that holes in sparse input files are now correctly populated with 0-bytes in the generated flash image, and that nothing else in the generated image changed.

michaelolbrich commented 1 year ago

Can you please add your signed-off-by?

hudson-ayers-cruise commented 1 year ago

Can you please add your signed-off-by?

Done, sorry about that

hudson-ayers-cruise commented 1 year ago

I verified via some basic testing that the updated change does the same thing as the original