[Yum-devel] more new misc things in yum-HEAD

Bob Kashani bobk at ocf.berkeley.edu
Tue Feb 1 08:07:03 UTC 2005


On Tue, 2005-02-01 at 02:19 -0500, seth vidal wrote:
> On Mon, 2005-01-31 at 23:15 -0800, Bob Kashani wrote:
> > On Tue, 2005-02-01 at 00:31 -0500, seth vidal wrote:
> > > Hey,
> > >  I had a request for a feature i've sorta been meaning to add so I put
> > > it in tonight.
> > > 
> > > in the [main] section of the yum.conf you can now add a
> > > tsflags option. This option is a list of strings. The strings specify
> > > transaction flags to pass to the rpm transaction set.
> > > 
> > > I've only implemented 4 of them  - but I think they're the most commonly
> > > used ones:
> > > 
> > > noscripts
> > > notriggers
> > > nodocs
> > > test
> > 
> > Seth, is there a way to pass these from the commandline (--tsflags???)?
> 
> no. there's not and I don't really see a strong reason to do. It just
> clutters up and confuses the cli, I've found. What's so bad about this
> being in the config file?
> 
> > It would be really cool if I could pass a tsflags for a specific rpm
> > during an install/update.
> 
> for a SPECIFIC rpm? that's not even possible in the rpmlib.
> 
> it's either a tsflag for the whole transaction or not at all.
> you don't get to pick and choose the flags for the packages in the ts.

Oh, okay. I was thinking about something equivalent to a simple:

rpm -Uvh --noscripts somepackage.rpm

I guess I misunderstood what a 'ts' is...I understand now. :-)

Bob

-- 
Bob Kashani
http://www.ocf.berkeley.edu/~bobk/garnome




More information about the Yum-devel mailing list