trimming down Fedora installed size
James Antill
james at fedoraproject.org
Wed Apr 9 19:57:27 UTC 2014
On Wed, 2014-04-09 at 12:37 +0300, Ville Skyttä wrote:
> On Wed, Apr 9, 2014 at 10:33 AM, Marius A <marius1439 at gmail.com> wrote:
> > 1. remove /usr/share/docs
>
> Try this in /etc/rpm/macros.whatever:
> %_excludedocs 1
For recent yum it's significantly better to do:
yum fs filter nodocs
> Try this in /etc/rpm/macros.whatever:
> %_install_langs en
Dito. to get rid of extra languages by:
yum fs filter langs en
...then you can yum fs refilter / yum fs refilter-cleanup.
> It's possible that these settings break some things such as scriptlets
> that do not take missing files into account, but at least they're
> cleaner attempts than simply deleting installed files/dirs.
This can still be true though.
More information about the devel
mailing list