Re: Readonly Repo - createrepo a folder up.
"Fajar A. Nugraha" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
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 _______________________________________________ Yum mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum
smime.p7s
(application/x-pkcs7-signature, 3.2 KB) - not displayed