runtime-cleanup: drop mtools and glibc-gconv-extra

AFAICS, this dep chain (syslinux->mtools->glibc-gconv-extra) is
the only reason glibc-gconv-extra is in the installer env. It's
quite large (8M). syslinux's dep on mtools seems to be due to
(one of) its installer(s) using mtools, but I don't think we
ever run that from the installer env; we only pull syslinux into
it to set up bootloader stuff for the installer image itself,
which happens in x86.tmpl and doesn't involve actually running
a syslinux installer, just copying files around.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-02-08 18:32:07 -08:00
parent 0f7fad6309
commit 371c25bf39
1 changed files with 5 additions and 0 deletions

View File

@ -50,6 +50,11 @@ removefrom isomd5sum --allbut /usr/bin/checkisomd5
## and there's no need for a bunch of zsh files without zsh
removefrom systemd /usr/share/zsh/site-functions/*
## we only need syslinux to make the installer image bootable, we don't
## run anything from it that uses mtools, and that's the only thing
## that pulls in glibc-gconv-extra
removepkg mtools glibc-gconv-extra
## various other things we remove to save space
removepkg diffutils file
removepkg jasper-libs