Save space by ungzipping gzip files
Bug #902691 reported by
Ryan Finnie
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Finnix |
Fix Released
|
Wishlist
|
Ryan Finnie |
Bug Description
Significant space can be saved by uncompressing gzip files in the root, then relying on the compressed root's xz squashfs to provider a higher compression level.
For this to work, the original data must appear within the files, that is "gzip -1" would not produce a file that xz could compress further. GNU gzip does not have a -0 option, but Perl's IO::Compress::Gzip does.
We'd need to decompress during stage1, update /var/lib/
Changed in finnix: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Damn thing took 150 lines of Perl to do completely and safely, but it works. 1.75MB saved on the x86 CD by recompressing.