Comment 4 for bug 626567

Revision history for this message
Tobias Gerschner (tobias-gerschner) wrote :

After talking to Matt D (mdawkins from UL ) I added the archscore patch and played around a bit. Does not look promising so far.

From what I read so far , smart and rpm5 do have different approaches to determine the archscore, is there any information what the 'right way' is?

root@Yoper ~ # for s in i686 i686-linux-gnu i686-linux i686-yoper-linux-gnu ; do echo $s |tee /etc/rpm/platform ; python -c 'import rpm; print rpm.archscore("i686")'; rm -f /var/lib/smart/channels/* /var/lib/smart/cache ; smart update 2>&1 |grep ^Channels ; smart search rsync ;done

i686
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]

i686-linux-gnu
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]

i686-linux
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]

i686-yoper-linux-gnu
0
Channels have no new packages.
Loading cache...
Updating cache... ############################################################# [100%]

root@Yoper ~ # rpm --eval '%_target'
i686-linux

root@Yoper ~ # smart channel --show
[yoper]
type = apt-rpm
baseurl = http://ftp.yoper.com/pub/yoper/pkg
components = rocketfuel

[rpm-sys]
type = rpm-sys
name = RPM Database