Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image-android-sparse: Fix #224: truncated image generated #229

Merged

Conversation

michaelolbrich
Copy link
Member

This is #225 with tests and another fix.

niziak and others added 3 commits October 11, 2023 08:53
When source image file ends with empty (sparse) area, this area is
skipped and incomplete sparse file is generated.

Signed-off-by: Wojciech Nizinski <wojciech.nizinski@grinn-global.com>
…e of the block-size

Round up instead of down, otherwise an don't care block is appended.

Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
@michaelolbrich michaelolbrich merged commit b4e4b18 into pengutronix:master Jan 5, 2024
4 checks passed
@michaelolbrich michaelolbrich deleted the android-sparse-fix branch March 22, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants