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]

 



> 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.

> if I'm missing something about what the goal is here, let me know.

The goal is simply to tell whether or not there's anything installed
that provides service(graphical-login) so we know to set the default
runlevel to 5.

- Chris

_______________________________________________
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