aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/rootfs_rpm.bbclass
diff options
context:
space:
mode:
authorLei Liu <layliu@gmail.com>2013-11-21 01:30:58 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-22 13:43:59 +0000
commitd9489c44ee4f195ae1b09f340b9545cddba58145 (patch)
tree8f3e4adacc3562f3efd293bad711a5d8a6dba3f5 /meta/classes/rootfs_rpm.bbclass
parentf1721553a873b242bc26ad3e4d618aea39dfd507 (diff)
downloadopenembedded-core-contrib-d9489c44ee4f195ae1b09f340b9545cddba58145.tar.gz
package_rpm.bbclass: Replace -linux-gnun32 with -linux.* in RPM platform file
On a multilib system when one of the multibs has a different OS then other multilibs a failure can occur during the install process because RPM assumes all systems have the same OS. When an n32 platform is selected as an alternative multilib, it shows up as mips64_n32-.*-linux-gnun32 in /etc/rpm/platform. This causes problems when the smart tool tries to add a channel for the multilib. RPM archScore call always returns zero for arch "mips64_n32" - after appending default vendor and os, it finds "mips64_n32-wrs-linux" doesn't match any predefined platforms. Fix this by removing the restriction of -gnun32 suffix in platform file. Signed-off-by: Lei Liu <lei.liu2@windriver.com> Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Jeff Polk <jeff.polk@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
0 files changed, 0 insertions, 0 deletions