Re: Factoring RPM sets (and parsing comps.xml)

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

 



Oden, James wrote:

>  
>
>>-----Original Message-----
>>From: kickstart-list-bounces@xxxxxxxxxx [mailto:kickstart-list-
>>bounces@xxxxxxxxxx] On Behalf Of Philip Prindeville
>>Sent: Thursday, October 26, 2006 3:25 PM
>>To: kickstart-list@xxxxxxxxxx
>>Subject: Factoring RPM sets (and parsing comps.xml)
>>
>>[previously asked on anaconda-devel without seeing a response...]
>>
>>I may have asked this question before, but I don't remember seeing
>>an answer that I grokked.  Maybe I didn't ask the question correctly.
>>
>>My question is this:
>>
>>Suppose we have an install disk with a repo on it that specifies the
>>following package sets (hypothetically)
>>
>>@SYSTEM = sbin sbin-utils sbin-diags devices core modsupport
>>@DEVEL-BASE = gcc bin-utils gdb gprof gld
>>...
>>
>>I'd like to be able to come up with a compact notation for expressing
>>what is on an installed system using the package sets with additions/
>>deletions.  For example, suppose the running system has:
>>    
>>
>It does not exist, that is why no one answered (at least to my
>knowledge).
>
>What your looking for is a way of representing sets of
>packages/components and then seeing how other sets of
>packages/components compare to them.  Perl or Python would be a good
>starting place.  
>
>Good Luck...james
>  
>

Ok, understood.

Well, the code to read the comps.xml file and stick it into a reasonably
meaningful datastructure must exist at least, right?

I'll dig around the Anaconda and Kickstart sources when I'm back in
front of a development machine...  hopefully there'll be something that
can be reused.

-Philip


[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux