Yum/rpm respect a platform setting in /etc/rpm/platform. So an alternative to this fix would be to create that file with the appropriate contents in the post-install.sh script before the 'yum install yum' step is run. It might look something like this...
# specify platform arch=i386 if [ "${ARCH}" = "amd64" ] ; then arch=x86_64 fi echo $arch-redhat-linux >> ${prefix}/etc/rpm/platform Note as a workaround you don't need to patch the setup to get it to work. Just run the rinse command with linux32. $ linux32 rinse --arch i386 --distribution centos-5 ... -- John Eikenberry [...@zhar.net - http://zhar.net] [PGP public key @ http://zhar.net/jae_at_zhar_net.gpg] ______________________________________________________________ "Perfection is attained, not when no more can be added, but when no more can be removed." -- Antoine de Saint-Exupery
signature.asc
Description: Digital signature