Re: [PATCH] Use rpm to determine how to set bootloader args and default runlevel (#527520).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Tue, 20 Oct 2009, Chris Lumens wrote:

maybe instead of using rpm - you could still do this using yum?

import yum.rpmsack
r = yum.rpmsack.RPMDBPackageSack()
r.searchProvides(....)

or something to that effect?

Yes, we could still do it with yum.  But if we do that in livecd, that
means the livecd backend requires yum which isn't so good.  And if we do
it in packages.py like Jeremy suggests, but with yum, then all possible
backends will require yum, which is even worse.

Practically, it makes little difference.  We don't have any other
backends in anaconda that use something other than rpm+yum, and our
separation is really pretty half-assed.  But it's what we've got to work
with.


understood - I was just trying to protect anaconda from api changes in rpm, I didn't see the other abstraction requirements for the other backends.

-sv

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux