kickstart vs. yum

seth vidal skvidal at fedoraproject.org
Sun Feb 12 01:03:29 UTC 2012


On Sat, 11 Feb 2012 16:35:00 -0500 (EST)
Bryan Smith <bjs at redhat.com> wrote:

> Understood.  I was referring more to piping the information out as
> you desire, hence the "P.S." (and not really part of my response).
> But thank you for pointing out one should script around repoquery
> instead of yum, and that was an oversight on my part.
> 
> I also noted the comps.xml file in my "P.S.," which I've written Perl
> around in the past.  I've also done some custom Anaconda Python
> modification, but that was years ago (FC6/RHEL5 timeframe, long
> story, you might remember some of it).  I guess I was referring more
> to modifying the comps.xml file directly, to add new groups.  Is
> there a better method via the Python API to do such?  Or is it okay
> (or even best) to do it off-line, on the comps.xml file directly?



yum-groups-manager lets you edit/add groups to a comps file.
It's in yum-utils. however, let's be clear -it's just xml and not
terrible complicated xml, especially if you only care about one
language.

-sv




More information about the Kickstart-list mailing list