Skip to content

Make system.img the right size for the device #4

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UniversalSuperBox
Copy link
Member

@UniversalSuperBox UniversalSuperBox commented Dec 26, 2017

In some builds (especially very early / testing ones), the Android system.img can take up a lot of space. Rootstock-touch-install doesn't account for this and just makes a 160MB one no matter what. This patch uses wc to get the size of the sparse system.img and makes the contiguous image this size. This way we won't run into strange errors such as error: ext4_allocate_best_fit_partial: failed to allocate 48 blocks, out of space?.

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.

1 participant