[Yum] yum and multi architectures ???
Dan Burcaw
dburcaw at terrasoftsolutions.com
Tue Feb 18 21:16:24 UTC 2003
On Tue, 2003-02-18 at 14:10, R P Herrold wrote:
> On Tue, 18 Feb 2003, Eddie Bindt wrote:
>
> > i tried 0.9.3 and it crashed on not knowing "s390" as arch
> >
> > in archwork.py
> >
> > def availablearchs(hinevral, name):
> > archdict = {}
> > archdict['i386']=['i386','i486','i586','i686','athlon','noarch']
> > archdict['alpha']=['alpha','alphaev6','noarch']
> > archdict['sparc']=['sparc','sparc64','noarch']
> > archdict['ppc']=['ppc','noarch']
> > archdict['ia64']=['ia64','noarch']
> > myarch=getArch()
> > archlist = []
> >
> > there is no "s390"
> >
> > is this the only place to add it ?
>
> it would seem more effective to use some variant on:
>
> grep ^arch_compa /usr/lib/rpm/rpmrc
>
> inside a loop construct to build this list. That way, as the
> future unfolds, updates will 'just happen' automatically.
Agreed. In fact, the current list would already need to be modified for
'ppc64' unless your suggestion is implemented :-)
-Dan
More information about the Yum
mailing list