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

Kimmo Koivisto koippa at gmail.com
Tue Nov 7 17:32:54 UTC 2006

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.


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

Best Regards
Kimmo Koivisto

More information about the Yum mailing list