You are not logged in.
Hello, I have searched for an answer to this but have been unable to find one.
I want to build a personal repo for some packages. I have read how to do this using repo-add but I am unclear on where architecture-independent packages should be stored. What I understand from looking at official repos is the structure is along the lines of:
repo/
----os/
----686/
----x86_64/Older posts on the forum like this one suggest a separate subdirectory for the "any" packages but, looking at the official repos, that doesn't appear to be current practice. It looks to me like these packages are duplicated in the architecture-specific subdirectories. For example:
.../core/os/x86_64/man-pages-3.51-1-any.pkg.tar.xz
.../core/os/x86_64/man-pages-3.51-1-any.pkg.tar.xz.sig
and
.../core/os/i686/man-pages-3.51-1-any.pkg.tar.xz
.../core/os/i686/man-pages-3.51-1-any.pkg.tar.xz.sig
From a saving diskspace perspective, it would be better not to have this duplication but I guess you could use hard links.
Another repo that I have used in the past is archlinuxfr and this does have a separate "any" tree.
So, I'd like to understand if it's supported to have a spearate "any" subtree ?
Last edited by starfry (2013-05-11 09:54:04)
Offline
If you have a look at the repos at archlinux.fr, you will find the packages in "any" also duplicated in the other repos. As far as I understand, pacman only looks at the folder with the same architecture: http://url.to.mirror/archlinux.org/$repo/os/$arch
Offline
For the official repo, there is no duplication. All packages (i686, x86_64, any) go in the pool directory. See ftp://ftp.archlinux.org/pool/ for example. Then a symlink is placed in the appropriate $repo/os/$arch/ directories.
Offline
ah yes, that makes sense. thanks @snowman.
Offline