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

add support for zerofree the partitions #45

Open
rgl opened this issue Dec 29, 2019 · 0 comments
Open

add support for zerofree the partitions #45

rgl opened this issue Dec 29, 2019 · 0 comments

Comments

@rgl
Copy link

rgl commented Dec 29, 2019

it would be nice to be able to call zerofree on the rootfs device before detaching the loop device.

doing that makes the img more compressible when we do a apt-get dist-upgrade while provision the image.

for example, after zerofree the image manually, the zip file went from 826306919 to 509377581 bytes.

BTW, this is also done on the upstream raspbian images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants