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

Minimize rootfs generated by mk_rootfs.sh #4

Open
alevy opened this issue Jul 31, 2019 · 0 comments
Open

Minimize rootfs generated by mk_rootfs.sh #4

alevy opened this issue Jul 31, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@alevy
Copy link
Contributor

alevy commented Jul 31, 2019

Resize the rootfs filesystem generated by mk_rootfs.sh to match it’s contents rather than use a fixed (large) size.

This should be doable by figuring out the size actually used by the filesystem, then truncating the file and using resize2fs to fix up the ext4 headers for the new size.

@LedgeDash LedgeDash added the enhancement New feature or request label Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants