On 17/11/15 17:03, Pádraig Brady wrote:
On 17/11/15 01:39, Stephen Gallagher wrote:
> (Please keep responses on the devel@ list; I've set it in the Reply-To.)
>
> To jump right to the premise: The default Fedora Server install is Way
> Too Big(TM) and the minimal install (also available on the Fedora
> Server install media) is also Too Big.
> Some highlights of my initial research (with a lot of my raw data
in
> the tarball attached to this email):
>
>
> == Minimal ==
>
> === Disk Usage ===
> /boot: 79MB
> /: 755MB
>
>
> === Packages ===
> Total count: 270
>
> ==== Largest 10 packages ====
> 14288083: coreutils
We might create a coreutils-singlebin package that is built with
./configure --enable-single-binary
which would include only the single binary and stubs.
I think chromium is using this setup.
coreutils-singlebin could Recommends: coreutils-doc, while the
standard coreutils package would require coreutils-doc.
That would save about 13MB in the install.
Caveat is that the single binary would dynamically link
all shared libs, which associated startup and mem overhead.
Attached is a proposed split for coreutils.
Original coreutils (14.2MB) is now split to:
coreutils (5.5MB), coreutils-single (1.2MB)
and an optional coreutils-common (8.7MB)
coreutils and coreutils-single are mutually exclusive.
coreutils requires coreutils-common, though it
can be forcefully removed if desired, and only
docs and translations are degraded.
I.E. there are 4 possible setups now:
coreutils-single (1.2MB)
coreutils-single + coreutils-common (9.9MB)
coreutils (5.5MB)
coreutils + coreutils-common (14.2MB)
cheers,
Pádraig.