RPM Community Forums

Mailing List Message of <rpm-devel>

Re: changing install arch, compatible arch from api

From: Pazzo Da Legare <pazzodalegare@gmail.com>
Date: Tue 08 Apr 2008 - 11:50:01 CEST
Message-ID: <1a26b4920804080250n46bf57aby89386761d9e52c39@mail.gmail.com>
Thank you for your answers, my friends.


devzero200, I'm using 4.4.2.2. I don't understand from where one can
setup information about "custom" architecture (as x86_586). I tried
you like but it seems broken.

It seems that those infos, about arch, are used at compile time from
librpm. I found this page about /usr/lib/rpm/rpmrc
(http://rpm.org/api/4.4.2.2/config_rpmrc.html): it contains infos
about archs' compatibility table. It will be useful  to
override/define at runtime new entries. Which api set should I look
at?

Do you know how to disable arch test during installation/update, (like
--ignorearch from command line)?

TIA,

pazzo

2008/4/8, devzero2000 <pinto.elia@gmail.com>:
> Which rpm version are you using ? For example rpm5 already have dropped
> support
> for builtin arch table  and  ancient  rpmrc  translation based on, possibily
> faulty, uname(2).
> From rpm-4.4.7 the --target option can also be used to set the arch.
>
> Better info on this
>
> https://lists.dulug.duke.edu/pipermail/rpm-devel/2006-April/000996.html
>
> hth
>
>
>
Received on Tue Apr 8 11:50:03 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.