[Yum] yum and multi architectures ???
R P Herrold
herrold at owlriver.com
Tue Feb 18 21:10:12 UTC 2003
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.
- Russ Herrold
More information about the Yum
mailing list