On Mon, May 17, 2021, at 6:05 AM, Karel Zak wrote:
On Thu, Apr 01, 2021 at 02:22:31PM -0400, Ben Cotton wrote:
>
https://fedoraproject.org/wiki/Changes/SmallerContainerBase
>
> == Summary ==
> This change proposes to remove 3 packages (sssd-client, util-linux,
> shadow-utils) from the Container Base Image (including the minimal
> image). The Fedora Base Image is still quite large compared to other
> distributions and the tools offered by these packages are not
> essential in base image.
I do not understand how do you want to use any system without for example
mount(8), umount(8), ... ;-)
> The installed size of each package is :
>
> {| class="wikitable"
> |-
> ! Package !! Installed Size
> |-
> | util-linux || 13018140
My plan is to create more sub-packages from util-linux and create
util-linux-core where will be essential tools like mount, losetup,
blkid, lsblk, findmnt, etc.
The change will be backwardly compatible. The classic util-linux.rpm
will depend on this small util-linux-core package , so for all
use-cases where is hardcoded util-linux we will not see a change. For
use-cases where minimal installation is important will be possible to
use alone util-linux-core.
I also plan to move some less often used tools, like
mcookie
mesg
raw
isosize
namei
hardlink
I often use hardlink during container build to make the image smaller by hardlinking the
identical files within.
fincore
wall
readprofile
ctrlaltdel
fsck.cramfs
fsck.minix
mkfs.cramfs
mkfs.minix
fdformat
to util-linux-optional package.
Does it make sense?
I'm fine with all of them except hardlink being moved to an -optional package.
V/r,
James Cassell