[Yum] createrepo woes

Brian Long brilong at cisco.com
Wed May 18 12:28:02 UTC 2005


On Wed, 2005-05-18 at 08:40 +0800, Arun Bhanu wrote:
<snip>

> The createrepo created repodata in RPMS folder for me. But under
> linux.duke ftp mirror repodata exists under the arch(e.g. i386) folder
> and <location href> in primary.xml correctly points to
> "Fedora/RPMS/foo.rpm". 
> 
> How can I do the same?

cd /var/www/fc4 && createrepo -g Fedora/base/comps.xml .

It will traverse all subdirectories when making the repo.  It will place
repodata into the current working directory (fc4).

/Brian/

-- 
       Brian Long                      |         |           |
       IT Data Center Systems          |       .|||.       .|||.
       Cisco Linux Developer           |   ..:|||||||:...:|||||||:..
       Phone: (919) 392-7363           |   C i s c o   S y s t e m s




More information about the Yum mailing list