Re: Readonly Repo - createrepo a folder up.

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

 



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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/mailman/listinfo/yum

[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