[Mageia-dev] Mirror tree structure

Michael Scherer misc at zarb.org
Fri Oct 22 08:19:43 CEST 2010


Le vendredi 22 octobre 2010 à 00:26 +0200, J.A. Magallón a écrit :
> On Thu, 21 Oct 2010 17:16:06 +0100, Buchan Milne <bgmilne at multilinks.com> wrote:
> 
> > On Thursday, 21 October 2010 06:37:37 Olivier Thauvin wrote:
> > > * J.A. Magallón (jamagallon at ono.com) wrote:
> > > > On Wed, 20 Oct 2010 18:34:24 +0200, Olivier Thauvin 
> ...
> > > 
> > > > - could be the arch names more uniform ? in my personal scripts/setups
> > > > 
> > > >   I use x86-32 and x86-64.
> > 
> > Is x86-32 a valid architecture for rpm etc.? While uniformity might be nice, 
> > unfortunately vendors don't necessarily choose uniform architecure names, and 
> > it might be better to match the repo structure to values that can be 
> > determined directly (and not heuristcally) . 
> > 
> > I've also never seen 'uname -m' report x86-32 or x86_32.
> > 
> > > >   Moreover, perhaps in a not so near future some
> > > >   adventurous soul builds Mageia on ARM or Sparc, so why not sort things
> > > >   like
> > > >   
> > > >     distrib/cauldron/srpm
> > > >     distrib/cauldron/x86/32/iso
> > > >     
> > > >                            /rpm
> > > >                         
> > > >                         /64
> > > >                     
> > > >                     /arm/32
> > > >                     
> > > >                         /64
> > 
> > I don't know if memory address space is a useful differentiator here, as 
> > features differ substantially in different ARM cores of the same family or 
> > architecture version. E.g., Fedora has an 'armv5tel' architecture, N900 ships 
> > .deb's with 'armel' as the architecture. See 
> > http://en.wikipedia.org/wiki/ARM_architecture
> > 
> > > >                     
> > > >                     /sparc/32
> > > >                     
> > > >                           /64
> > 
> > AFAIK, the valid architecture names for sparc are sparc,sparc64,sparcv9.
> > 
> 
> I was just thinking of people navigating the tree structure looking for what
> to download and install. Directory names have not to be the same as RPMs
> architecture, isn't it ? And is more neutral, you can decide you build the
> distro for Pentium3 at least and dont have to change the folder names... ;)
> 

This will have a impact on the usability of the $ARCH keyword in url for
urpmi. Ie, the name must be derived from what we use for name of arch in
rpm, given the way this feature was coded.

Which in turn is arbitrary, iirc, but we may need to keep compatibility
with previous mandriva version, as we plan to offer a upgrade path.

-- 
Michael Scherer



More information about the Mageia-dev mailing list