Drewsif / PiShrink

Make your pi images smaller!
MIT License
3.5k stars 644 forks source link

Calculating add. free space #262

Closed dolorosus closed 1 month ago

dolorosus commented 1 year ago

Calculating free space instead of adding a fixed amount of free space.

Drewsif commented 1 month ago

Thank you for the PR. The idea with adding free space to the end is only to allow the system to boot the first round. I ran into some issues with there being zero free space so the intent is to add a minor amount to let the system breath. 5% could be rather large on things like emulator setups so I prefer it to stay a static, small size. But I appreciate your efforts.