I'm trying to build an unattended F8 install CD using pungi. I'm on F8, running the pungi rpm (pungi-1.1.10-1.fc8). I always get the following error:
Pungi.Gather:INFO: Finished downloading packages. Pungi.Gather:WARNING: No group data found for rawhide-source Pungi.Gather:INFO: Running /usr/bin/xsltproc --novalid -o /root/work/i386/Fedora-20080305-comps.xml /usr/share/pungi/comps-cleanup.xsl/root/work/i386/Fedora- 20080305-comps.xml Pungi.Pungi:INFO: Running /usr/bin/createrepo --quiet --database --groupfile /root/work/i386/Fedora-20080305-comps.xml /root/20080305/i386/os Pungi.Pungi:INFO: Running /usr/bin/repoview --quiet --title Fedora 20080305 - i386 /root/20080305/i386/os Pungi.Pungi:INFO: Running /usr/lib/anaconda-runtime/buildinstall --product Fedora --version 20080305 --release Fedora 20080305 --prodpath Packages --bugurl http://bugzilla.redhat.com /root/20080305/i386/os Traceback (most recent call last): File "/usr/bin/pungi", line 178, in <module> main() File "/usr/bin/pungi", line 91, in main mypungi.doCreateSplitrepo() File "/usr/lib/python2.5/site-packages/pypungi/pungi.py", line 299, in doCreateSplitrepo discinfo = open(os.path.join(self.topdir, '.discinfo'), 'r').readlines() IOError: [Errno 2] No such file or directory: '/root/20080305/i386/os/.discinfo'
Some googling found the post where it was mentioned that i386 can't build x86_64, but I'm on i386 trying to build for i386. My uname is: [root@arohner-fc8-vm ~]# uname -a Linux arohner-fc8-vm 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:55:12 EDT 2007 i686 i686 i386 GNU/Linux
Running "setarch i386 pungi -c fc8-ks.cfg" did not help either.
My kickstart file is:
repo --name=fedora --mirrorlist= http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-8&arch=$basearch repo --name=fedora-source --mirrorlist= http://mirrors.fedoraproject.org/mirrorlist?repo=feodra-8-source&arch=$b...
%packages @base x86info postgresql-server python-sqlalchemy ruby ruby-irb rubygem-rails mod_python %end
Running with the rawhide repository gives the exact same error.
Thanks for your help
Allen Rohner
On Wed, 2008-03-05 at 14:11 -0600, Allen Rohner wrote:
%packages @base x86info postgresql-server python-sqlalchemy ruby ruby-irb rubygem-rails mod_python %end
Running with the rawhide repository gives the exact same error.
This is a very small package set, you need at least a kernel, the anaconda packages and a few other things. See the 'compose needs' section on the shipped kickstart file.
Right now, pungi doesn't separate the "things we need to compose" from "things we want in the compose" so you need to add those things into the manifest.
buildsys@lists.fedoraproject.org