[Yum] Run yum install with RPM Options "--force --nodeps --noscripts" ?

Steven Shiau steven at nchc.org.tw
Wed Feb 23 15:59:25 UTC 2005


Hi,
I need to install kernel in different root directory so that it can be
shared with some other diskles clients.

Is that possible to run 
yum install 
with some RPM options ? like "--root /tftpboot/node_root/ --force --nodeps --noscripts"

Thanks.

PS. in apt, I did that like this:
apt-get -y --reinstall -o RPM::RootDir="/tftpboot/node_root/" -o \
RPM::Install-Options::="--force" -o RPM::Install-Options::="--nodeps" -o \
RPM::Install-Options::="--noscripts" install kernel-2.x

-- 
Steven Shiau




More information about the Yum mailing list