Hi,
I am trying to rebuild a distribution from a local mirror. This local
mirror does not following the standard RedHat 7.3 directory naming
scheme, i.e. is it NOT 7.3/en/os/i386. I changed the directory naming
scheme in the appropriate rocks.build and rocks.dist python modules and
I was able to successfully mirror the local RedHat distribution even
with it's wacky naming scheme. However,
when I do this:
rocks-dist -d fermi dist
I get this:
Cleaning distribution
Resolving versions (RPMs)
Resolving versions (SRPMs)
Creating files (symbolic links - fast)
Creating symlinks to kickstart files
Fixing Comps Database
Traceback (innermost last):
File "/opt/rocks/bin/rocks-dist", line 660, in ?
app.run()
File "/opt/rocks/bin/rocks-dist", line 539, in run
eval('self.command_%s()' % (command))
File "<string>", line 0, in ?
File "/opt/rocks/bin/rocks-dist", line 569, in command_dist
builder.build()
File "/usr/lib/python1.5/site-packages/rocks/build.py", line 487, in
build
self.fixCompsDatabase()
File "/usr/lib/python1.5/site-packages/rocks/build.py", line 492, in
fixCompsDatabase
self.dist.getCompsFile().explode() # copy the file to the distro
AttributeError: 'None' object has no attribute 'explode'
Now I am wondering if there are hardcoded directory paths somewhere that
I have screwed up. Any idea?
Thanks,
Joe
--
===================================================================
Joe Kaiser - Systems Administrator
Fermi Lab
CD/OSS-SCS Never laugh at live dragons.
630-840-6444
[EMAIL PROTECTED]
===================================================================