On Sat, Aug 19, 2017 at 06:51:11PM -0400, Theodore Ts'o wrote: > > There is one thing I can very quickly and easily do to to improve the > minbase set. We can significantly reduce the size of e2fsprogs (by > more half) by simply moving all of its locale files to a new package, > e2fsprogs-l10n. That shrinks installed size of e2fsprogs from 2825k > to 1330k.
By the way, I was just taking a quick look, and e2fsprogs isn't the only offender in this regard. Out of a 201 MB i386 minbase chroot, 33 MB, or over 16% can be found in /usr/share/locale. The next largest hierarchies under /usr/share are /usr/share/doc, at 9.4 MB, and /usr/share/man, at 6.1 MB. So if the goal is to shrink minbase, that might be a really good place to start. Packages that might be good initial first targets would probably be coreutils, dpkg, and gnupg. Cheers, - Ted