[Yum] using createrepo to provide repodata for fedora-core iso

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anyone know how to use createrepo {or is there another tool} to create 
useful repodata for a mounted dvd.iso image for say fedora core.

It seems that while the image includes a toplevel /repodata folder, when 
it is mounted and yum.repos.d/fedora-core.repo is pointed at the / of 
the mounted iso image, yum is not happy with what it finds.

I have used createrepo folder option to create a new repodata directory 
and repo one folder above where the iso is mounted, so that the folder 
is read/write, and the create can succeed.

createrepo -o . disc/Fedora/RPMS/

What I find is that primary.xml does not include the relative path from 
the folder above the new repodata directory, and hence fails. {actually 
it includes only the filename of the rpm files not any path at all.}

folder where iso is mounted:
/home/install/software/linux/fedora/core/6/yum/i386/disc

location of rpms:
/home/install/software/linux/fedora/core/6/yum/i386/disc/Fedora/RPMS

writable location: {where yum.repos.d/fedora-core.repo baseurl will point}
/home/install/software/linux/fedora/core/6/yum/i386/

What is the appropriate command to generate usable repodata ?

DaveT.

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux