I used pungi on ia64 to try to build CD/DVD images for the FC development tree,
and ran into a couple of issues.
1) I used the mirrors/fedora/linux/core/development/ia64/os/repodata/comps.xml. Got below error:
/mnt/tmp2/soft/pungi-0.1.0/work/iso/FedoraCore-test/ia64/os/buildinstall.tree.1229 /mnt/tmp2/soft/pungi-0.1
.0/work
rpm2cpio: /mnt/tmp2/soft/pungi-0.1.0/work/iso/FedoraCore-test/ia64/os/Fedora/anaconda-runtime-[0-9]*: No su
ch file or directory
cpio: premature end of archive
/mnt/tmp2/soft/pungi-0.1.0/work
So anaconda and anaconda-runtime were missed. I changed the comps.xml manually by adding
anaconda and anaconda-runtime into base group. The issue disappeared.
2) Then, restarted pungi, but got below error:
Wrote /mnt/tmp2/soft/pungi-0.1.0/work/iso/FedoraCore-test/ia64/os/images/stage2.img (94676k)
Writing .discinfo file
timestamp not specified; using the current time
** Message: sqlite cache needs updating, reading in metadata
** Message: sqlite cache needs updating, reading in metadata
du: cannot access `/mnt/tmp2/soft/pungi-0.1.0/work/iso/FedoraCore-test/ia64/os-disc0': No such file or directory
Traceback (most recent call last):
File "/usr/bin/pungi", line 100, in ?
main()
File "/usr/bin/pungi", line 47, in main
mypungi.doSplittree()
File "/usr/lib/python2.4/site-packages/pypungi/pungi.py", line 54, in doSplittree
output = timber.main()
File "/usr/lib/python2.4/site-packages/pypungi/splittree.py", line 394, in main
self.splitRPMS()
File "/usr/lib/python2.4/site-packages/pypungi/splittree.py", line 301, in splitRPMS
curused = self.getSize("%s-disc%s" % (self.dist_dir, disc), blocksize=1)
File "/usr/lib/python2.4/site-packages/pypungi/splittree.py", line 113, in getSize
thesize = long(string.split(thesize)[0])
IndexError: list index out of range
Yanmin