[Yum] yum and multi architectures ???
seth vidal
skvidal at phy.duke.edu
Tue Feb 18 21:26:51 UTC 2003
On Tue, 2003-02-18 at 16: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.
It might be the only way to do it.
But I loathe having to find this file, especially if it's not installed
in /usr/lib/rpm/
hmm. I guess it's something I might consider passing to autoconf
(speaking of loathing) :)
-sv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.baseurl.org/pipermail/yum/attachments/20030218/b5f525b4/attachment-0001.pgp
More information about the Yum
mailing list