How to configure yum to not check for free inodes?

David G. Miller dave at davenjudy.org
Wed Apr 24 20:51:45 UTC 2013


poma <pomidorabelisima <at> gmail.com> writes:

> 
> On 24.04.2013 16:58, David G. Miller wrote:
> > Clemens Eisserer <linuxhippy <at> gmail.com> writes:
> 
> […]
> >> What I am looking for is a way to make yum pass "--ignoresize" to rpm
> >> automatically. Is this possible somehow?
> >>
> >> Thank you in advance, Clemens
> >>
> >> 2013/4/24 Clemens Eisserer <linuxhippy <at> gmail.com>:
> > <SNIP>
> > As a workaround you can set rpm options through /etc/rpmrc.  You'll have to
> > do the research to find out how to set it but it would then be used for all
> > rpm transactions.
> > 
> > Cheers,
> > Dave
> 
> rpmbuild != rpm :)
> 
> poma
> 
Actually, /etc/rpmrc is used by rpm; not rpmbuild.  Frpmthe rpm man page:

FILES
   rpmrc Configuration
       /usr/lib/rpm/rpmrc
       /usr/lib/rpm/redhat/rpmrc
       /etc/rpmrc
       ~/.rpmrc

and from /usr/lib/rpm/rpmrc:

[root at bend ~]# cat /usr/lib/rpm/rpmrc
#/*! \page config_rpmrc Default configuration: /usr/lib/rpm/rpmrc
# \verbatim
#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
# should be added to /etc/rpmrc, while per-user configuration should
# be added to ~/.rpmrc.
#
#############################################################

Both rpm and rpmbuild use the same rc files.  Probably not the best design
but take it up with the rpm project folks.

Cheers,
Dave





More information about the users mailing list