[Yum] yum and multi architectures ???

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

 



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




[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux