Closed niziak closed 6 months ago
So I tried to test this and it failed in some cases. This breaks images that are not a multiple of the block size. I've fixed it and extended the tests here: https://github.com/michaelolbrich/genimage/commits/android-sparse-fix
Can you please add the two commits to the pull request so we can merge it together?
I've merged the commits together in a separate MR.
When source image file ends with empty (sparse) area, this area is skipped and incomplete sparse file is generated.