On Thu, 2022-12-08 at 07:57 +0100, Florian Weimer wrote:
* Adam Williamson:
> 1. /usr/lib/locale/locale-archive , from glibc-all-langpacks - this is
> 224M uncompressed. A quick test just compressing the file with xz on my
> system shows it compresses to around 11M, though, so that's probably
> all it adds up to after compression (the image is an xz-compressed
> squashfs)
Isn't the compression block-based? I think it would be interesting to
measure the image size with the file removed.
I'll try it tomorrow, it's not too hard.
For the non-live installer, we can *significantly* cut down its size,
without degrading localization of the installer itself.
> 2. /usr/lib64/libLLVM-15.so, which is 114M on its own, compresses to
> 23M. We are, I think, basically stuck with this for mesa-dri-drivers ,
> but does it have to be so *big*?
It has all the targets in it. As it's for JIT, we'd only need one
target.
That sounds interesting, though of course the details of how to
implement it could be a bit tricky, I guess...
Thanks for the ideas!
--
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net