Run zerofree to make images smaller.
This is not a definitive survey, but things are looking much better! +--------------------------------+------+------+ | Image type | Old | New | +--------------------------------+------+------+ | PiRogue-OS-12-Pi3_and_Pi4 | 491M | 255M | | PiRogue-OS-12-Pi5-Experimental | 594M | 313M | +--------------------------------+------+------+
This commit is contained in:
parent
97469570c5
commit
8159cfc032
@ -87,6 +87,7 @@ toast_me
|
|||||||
# Free all resources:
|
# Free all resources:
|
||||||
echo "🍞 Cleaning up"
|
echo "🍞 Cleaning up"
|
||||||
umount -R "$MNT"
|
umount -R "$MNT"
|
||||||
|
zerofree "/dev/mapper/${loop}p2"
|
||||||
kpartx -dsv "$out"
|
kpartx -dsv "$out"
|
||||||
rmdir "$MNT"
|
rmdir "$MNT"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user