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

Re: Legacy mirror structure



Jesse Keating wrote :

> > I think the solution I like most is :
> >
> > [...]/SRPMS/repodata/
> > [...]/SRPMS/*.rpm
> > [...]/$basearch/repodata/
> > [...]/$basearch/*.rpm
> 
> I think you're missing a few directories there.  Try this:
> 
> [...]/SRPMS/repodata
> [...]/SRPMS/base/*.rpm
> [...]/SRPMS/updates-testing/*.rpm
> [...]/SRPMS/updates/*.rpm
> 
> [...]/i386/repodata
> [...]/i386/base/*.rpm
> [...]/i386/updates-testing/*.rpm
> [...]/i386/updates/*.rpm
> 
> I'm making an assumption here that the repo data can be ran at a higher 
> level than yum-arch can, and hold info about different repo subdirs.

Aha! So I guess the major question left is :

- arch then module, e.g. redhat/7.3/i386/updates/
  - or -
- module then arch, e.g. redhat/7.3/updates/i386/

You seem to prefer the former, while the latter is the one closest to what
Red Hat has been using for RHL and FC. Oh, and in the above, "base" should
probably be avoided to not be confused with apt's special directory. The
other suggestions I have (what I've been using) for it would be "os" or
"core".

I guess I just truncated my final suggestion too much, here would be a
longer example :

[...]/fedoralegacy/redhat/7.3/os/SRPMS/repodata/
[...]/fedoralegacy/redhat/7.3/os/SRPMS/*.rpm
[...]/fedoralegacy/redhat/7.3/os/i386/repodata/
[...]/fedoralegacy/redhat/7.3/os/i386/*.rpm
[...]/fedoralegacy/redhat/7.3/updates/SRPMS/repodata/
[...]/fedoralegacy/redhat/7.3/updates/SRPMS/*.rpm
[...]/fedoralegacy/redhat/7.3/updates/i386/repodata/
[...]/fedoralegacy/redhat/7.3/updates/i386/*.rpm

etc. with testing-updates and legacy-addons.

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 1 (Yarrow) - Linux kernel 2.4.22-1.2163.nptl
Load : 0.01 0.07 0.14




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