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

David Timms dtimms at iinet.net.au
Wed Nov 8 12:32:10 UTC 2006


Kimmo Koivisto wrote:
> On Monday 06 November 2006 15:43, David Timms wrote:
>> 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.
> 
> Hello
> 
> This is how I have done it:
> 
> #mkdir /var/www/html/rhel4es/en/os/i386/RedHat/RPMS
> #mount /dev/cdrom /mnt/dvdiso
> #cd /var/www/html/rhel4es/en/os/i386/RedHat/RPMS
> #ln -s /mnt/dvdiso/RedHat/RPMS/*.rpm .
> #cd /var/www/html/
> #createrepo rhel4es
I am sure that would work because you have symlinks to every rpm on a rw
space. But there has to be a more direct / easier route ?

How would the fedora CD itself be created ? {it has /Fedora/RPMS/ as the
  path for all the rpms - and also the problematic media://random-number
URL}

DaveT.



More information about the Yum mailing list