Hello Sory for crosspost ... i just think #633077 and #635602 are duplicate bug.
When we not specify --arch, arch is set to i386 it's same as setting --arch
i386 on command line the real problem is in chroot, yum download x86_64
packages ... and not i386 :-(
in fact yum use the os.uname() python command (cf yum.conf man page) and
on my debian os.uname() say :
('Linux', 'azae02.azae.net', '3.2.0-2-amd64', '#1 SMP Wed Mar 28
13:28:04 UTC 2012', 'x86_64')
The man page of yum.conf says we can overwrite all yum variables in
setting files /etc/yum/vars/variable .... but that not work.
In fact with this patch, that work fine :
cat /usr/lib/rinse/common/30-etc-rpm-platform.sh
#!/bin/sh
prefix=$1
#
# Ensure it exists.
#
if [ ! -d "${prefix}" ]; then
echo "Serious error - the named directory doesn't exist."
exit
fi
echo "${ARCH}-${dist}-linux" > ${prefix}/etc/rpm/platform
--
Thomas Clavier http://www.tcweb.org
Jabber/XMPP/MSN/Gtalk : [email protected]
+33 (0)6 20 81 81 30 +33 (0)950 783 783
signature.asc
Description: OpenPGP digital signature

