Hello,
On Fri, Sep 12, 2008 at 07:31:05PM -0400, Jeff Johnson wrote:
> On Sep 11, 2008, at 7:53 AM, Frank Fegert wrote:
> >Hello,
> >
> >On Wed, Sep 10, 2008 at 11:49:22PM +0200, Frank Fegert wrote:
> >>RPM does however mess up %{arch}, so that e.g. package names are
> >>e.g.:
> >> $ rpm -q rpm
> >> rpm-5.1.4-1.005e3e6c4c00
> >>instead of:
> >> $ rpm -q gdb
> >> gdb-6.6-1.ppc
> >>with a package build with rpm-4.4.9. lib/rpmrc.c seems to pull the
> >>string "005e3e6c4c00" from utsname.machine via uname(). On AIX this
> >>is more of a machine/node-ID rather than the platform. I recall a
> >>mail on rpm5-devel about ripping out some heuristics to determine
> >>the platform/arch.
> >
> >i put some code from an earlier CVS version back into lib/rpmrc.c
> >to determine the platform/arch on AIX. Together with other minor
> >changes (please see attached patch file) rpm5 now works fine on AIX.
> >But i've only tested the build, rpmbuild and rpm -q|-i|-U|-e so far.
> >
>
> You can of course revert whatever patches you wish ,,,
>
> BUT
>
> try echo "ppc-ibm-aix" > /etc/rpm/platform
>
> You can easily change that CPU-VENDOR-OS string to be whatever you
> wish without recompiling rpm.
thanks, that is of course much more convenient!
Thanks & Regards,
Frank
Received on Sun Sep 14 11:07:54 2008