[Yum] Readonly Repo - createrepo a folder up.

Fajar A. Nugraha fajar at fajar.net
Wed Feb 13 10:08:41 UTC 2008


David Timms wrote:
> Gerd Bitzer wrote:
> Note the _relative_ above. The repodata stores the position of files
> relative to folder you run createrepo on. I don't think controlling the
> -o output dir can help; it just lets you put the same information in a 
> different place - at which point the paths are incorrect.
>
>> My repo is under '/etc/yum.repos.d/rhel4' Meanwhile I have created a
>> symlink from '/etc/yum.repos.d/rhel4/RPMS' pointing to
>> '/mnt/rhel4/RedHat/repodata/RPMS/', and have created new metadata
>> with 'createrepo -p -v -o ./rhel4/ ./rhel4/RPMS/' being in
> So:
> createrepo -p -v ./rhel4/
Hi David,
createrepo -p -v ./rhel4/ wouldn't work as createrepo will ignore 
./rhel4/RPMS, which is a symlinked dir. Seems that createrepo can 
process file symlinks just fine, but it ignores directory symlinks.

Regards,

Fajar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3242 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.baseurl.org/pipermail/yum/attachments/20080213/a9204a63/attachment-0001.bin 


More information about the Yum mailing list