Glory be! I’ve found my own answer… http://rhlinux.redhat.com/anaconda/comps.html This handy python script showed where my
typo was in my comps.xml file. genhd is working once again! The world
has been saved ;-D #!/usr/bin/python
import rhpl.comps import sys
comps = rhpl.comps.Comps(sys.argv[1]) for group in comps.groups.values(): pkgs = [] for (type, pkg) in group.packages.values(): if type == u'mandatory': pkgs.append(pkg) print group.name, pkgs
--Dan From: kickstart-list-bounces@xxxxxxxxxx
[mailto:kickstart-list-bounces@xxxxxxxxxx] On
Behalf Of Fellow systems builders, I have been happily PXE booting Linux boxes with custom
package lists via kickstart and a little cfengine. I was doing what I thought was a typical cycle:
Added a few custom groups to ks.cfg, create rpm’s copy rpm’s to my netboot RPMS
directory edit comps.xml - add rpms to my
custom groups run genhdlist (
/usr/lib/anaconda-runtime/genhdlist --withnumbers --hdlist
/i386/linux4.4/RedHat/base/hdlist /i386/linux4.4) I have been doing this awhile without incident (and enjoying
the benefits ;-) until my build system suddenly broke while parsing comps.xml
(although there doesn’t appear to be anything wrong with my comps.xml). From anacdump.txt… Traceback (most recent call last): File
"/usr/bin/anaconda", line 1181, in ? intf.run(id,
dispatch, configFileData) …snip… File
"/usr/lib/python2.3/site-packages/libxml2.py", line 1175, in
parseMemory if ret is
None:raise parserError('xmlParseMemory() failed') parserError: xmlParseMemory() failed I’m seeing that folks are saying the “genhdlist” is
outdated. Maybe I should be generating hdlist in another way? What is the best way to generate hdlist*? How can I
tell if my comps.xml is not matching up with my RPM repo? Thanks! -- No virus found in this outgoing message. No virus found in this incoming message.
No virus found in this outgoing message. |
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list