RPM Community Forums

Mailing List Message of <rpm-devel>

Re: changing install arch, compatible arch from api

From: Anders F Björklund <afb@rpm5.org>
Date: Tue 08 Apr 2008 - 10:25:35 CEST
Message-Id: <F10CBB31-EC8E-4D5B-AFBD-BD6E6C81719D@rpm5.org>
Pazzo Da Legare wrote:

> I'm having problem with archs. I found the function rpmSetMachine
> which change build_arch (of --showrc) I would like to change
> programmatically (or better at compile time of my version of librpm)
> other parameters: compatible build archs, install arch, install os,
> compatible archs and compatible os's.
> Could you please indicate which function/s should I use?
> If possible, how to compile a library with archs' definitions?
> What about compatibility with rpm version 4.4.x?

I believe you should be changing /etc/rpm/platform for those now.

--anders
Received on Tue Apr 8 10:25:42 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.