[Fedora-livecd-list] building fc6 livecds

Holger Levsen holger at layer-acht.org
Tue Mar 27 10:09:10 UTC 2007


Hi,

some progress, or rather some more strangeness... :/

The below report is pretty strange, I'll try later today with a newer yum 
version (or anything else you might suggest). In fact I was thinking about 
not this, before doing so, but then I would be curious if you can comment on 
the second issue ("name 'GROUP_DEFAULT' is not defined") described in this 
mail..

On Monday 26 March 2007 16:53, Holger Levsen wrote:
> running dc6... and based on your feedback, I'll try a newer version of yum,
> maybe that helps.

Before doing so, I gave it another try and just moved /etc/yum.repos.d/ away 
and ran livecd-creator with specifying the core, extras and updates fedora 6 
repositories on the command line. This time it ended here:

  Installing: fonts-korean                 ####################### [76/78] 
  Installing: fonts-hebrew                 ####################### [77/78] 
  Installing: gnumeric                     ####################### [78/78] 


ERROR during installation...
Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 843, in main
    target.configureSystem(ksparser)
  File "/usr/bin/livecd-creator", line 484, in configureSystem
    f = open("%s/etc/sysconfig/i18n" %(instroot,), "w+")
IOError: [Errno 2] No such file or 
directory: '/var/tmp/livecd-creator/build-tmpBQhxxW/install_root/etc/sysconfig/i18n'

Ok, so I fired up an editor, and commented those 4 lines out (just to see, if 
I can build the cd). Then I ran livecd-creator again, and it immediatly gave 
me this:

Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 167, in ?
    class LiveCDYum(yum.YumBase):
  File "/usr/bin/livecd-creator", line 217, in LiveCDYum
    def selectGroup(self, grp, include = GROUP_DEFAULT):
NameError: name 'GROUP_DEFAULT' is not defined

De-commenting those 4 lines didnt help, a reboot didnt help (which 
cleans /var/tmp and the loop mounts), I still get this when I run 
livecd-creator. Anyone any clues why?

Anyway, so I switched to another build host :) Ran livecd-creator again, with 
those 4 lines commented out and it fails here:

ERROR during installation...
Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 844, in main
    target.configureSystem(ksparser)
  File "/usr/bin/livecd-creator", line 496, in configureSystem
    k.write(instroot)
  File "/usr/lib/python2.4/site-packages/rhpl/keyboard.py", line 104, in write
    SimpleConfigFile.write(self, instPath + "/etc/sysconfig/keyboard")
  File "/usr/lib/python2.4/site-packages/rhpl/simpleconfig.py", line 47, in 
write
    f = open(file, "w")
IOError: [Errno 2] No such file or 
directory: '/var/tmp/livecd-creator/build-tmpd5Vz1y/install_root/etc/sysconfig/keyboard'

Well, this made me suspicious, and I looked 
into /var/tmp/livecd-creator/build-tmpd5Vz1y and saw that directory doesnt 
exist?!!

Thats my build-command:
sudo 
livecd-creator   --config=/usr/share/livecd-tools/livecd-fedora-6-desktop.ks   --fslabel=Fedora-6-Test1-LiveCD  --repo=c6,ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/6/i386/os/ --repo=e6,ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/extras/6/i386/ --repo=u6,ftp://ftp.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/updates/6/i386/

Thats my yum.conf:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

And /etc/yum.repos.d doesnt exist.


regards,
	Holger




More information about the Fedora-livecd-list mailing list