rootfs_rpm.bbclass: normalize arch output of list_installed_packages
authorMing Liu <ming.liu@windriver.com>
Mon, 26 Nov 2012 02:24:03 +0000 (10:24 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Dec 2012 13:52:07 +0000 (13:52 +0000)
commit6c1a53b31eac5ba6c39d84e8bd5ce72deee06ba1
treeb240721cf0e8a9395fd546857757edc6767392ca
parent74d445119b368918ab98202cc59e29a89d579859
rootfs_rpm.bbclass: normalize arch output of list_installed_packages

list_installed_packages should output uniform formatted archs for all
packaging system(deb, rpm and ipk), for they are used by common code to
grab the package infos. Otherwise, it will lead some -dbg packages to be
missed processing in come cases.

It's introduced by commit: fc985f51, package_rpm.bbclass: fix the arch
(replace "-" with "_").

Fixed by replacing "_" back to "-" in list_installed_packages, make it
output real arch values which can be safely used.

(From OE-Core rev: 554f2436435bf96c6735827f491c1b78b198c016)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs_rpm.bbclass