From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016 Description of problem: running pkgorder ./i386/ i386 > ./pkgorder.txt gives the a file not found error for: /RedHat/base/comps.xml That is an absolute path. It should be /$PATH_TO_DISTRIB_TREE/RedHat/base/comps.xml instead. The exec problem is in the /usr/lib/anaconda/hdrlist.py at line 882, where, due to my lack of python knowledge and time, to make the script work I had to write the path like below: file = urllib2.urlopen("file:///mnt/distrib/linux360-1.0test0/i386/RedHat/base/comps.xml") Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Get a distribution tree! 2. start building it. 3. At pkgorder the crash occurs. Actual Results: The script crashes. Expected Results: The script should have opened the "RedHat/base/comps.xml" file instead of the /RedHat/base/comps.xml.
Looks like the "RedHat" should be replaced with "Fedora"
I already created a sym-link from RedHat to Fedora because anaconda wanted RedHat and not fedora. Weird.
You need to add another argument to your pkgorder invocation, eg pkgorder ./i386/ i386 Fedora