On Tue, Dec 06, 2005 at 01:22:42PM +0000, David Woodhouse wrote:
A workaround is to edit /etc/rpm/platform before building 32-bit packages on a 64-bit machine. And then remember to put it back again before running 'yum update' on that machine :)
Setting up an alternate build environment is the type of thing that I like to do with bind mounts in a private namespace. There's no standard tool yet to create a private namespace, I simply use one that I hacked up; with the merging of shared subtrees into 2.6.15, that ought to change. The v9fs folks may have a set of userland tools available.
First,
sed -e 's/x86_64/i686/;s/ppc64/ppc32/;s/s390x/s390/' \ /etc/rpm/platform > /etc/rpm/platform32
In a private namespace, you can do something like:
mount -n --bind /etc/rpm/plaform32 /etc/rpm/platform ...
Regards,
Bill Rugolsky