Excessive package interdependency

Lamont R. Peterson lamont at gurulabs.com
Mon Dec 22 22:35:08 UTC 2003


On Fri, 2003-12-19 at 13:01, Nicolas Mailhot wrote:
> Le ven 19/12/2003 à 19:04, Lamont R. Peterson a écrit :
> > I would just take a look at /root/anaconda-ks.cfg for that information.
> 
> That's ok for a human
> For an automated process, that's an incredibly brittle way of doing
> things. =$;

How so?

It should not be difficult to read the list of package groups
(components) from the anaconda-ks.cfg file.  Just parse for the
"%packages" section and read the lines that follow beginning with "@ "
and stop looping your parser when you reach either the end of the file
or another section (like "%post").  How much easier do you want it to
be?
-- 
Lamont Peterson <lamont at gurulabs.com>
Senior Instructor
Guru Labs <http://www.gurulabs.com/>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20031222/236f7ddd/attachment-0002.bin 


More information about the devel mailing list