summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/lsb
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2013-12-11 17:05:53 +0800
committerSaul Wold <sgw@linux.intel.com>2013-12-17 09:05:14 -0800
commit02d3233b57cda03dfef08983c7f9a03285444c83 (patch)
treeb0d3e164b9db75a8c3d3db1548d2bdad3a061840 /meta/recipes-extended/lsb
parentf9c37768caf7edf9343f76f16fa5fd4e7cd772c1 (diff)
downloadopenembedded-core-02d3233b57cda03dfef08983c7f9a03285444c83.tar.gz
openembedded-core-02d3233b57cda03dfef08983c7f9a03285444c83.tar.bz2
openembedded-core-02d3233b57cda03dfef08983c7f9a03285444c83.zip
LSB_Test.sh: update rpm platform file when enable multilib
When enable multilib for x86_64, lsb rpm packages for archs x86_64 and i486 will be installed. But i486 target packages fail to be installed that no such pattern in rpm platform file. Update platform file to enable install i486 rpm packages as well. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-extended/lsb')
-rw-r--r--meta/recipes-extended/lsb/lsbtest/LSB_Test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
index af1d61c0ce..db4e7496e5 100644
--- a/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
+++ b/meta/recipes-extended/lsb/lsbtest/LSB_Test.sh
@@ -277,6 +277,15 @@ if ! `grep -F -q "noarch-suse" ${PLATFORM_FILE}`; then
echo "i486-noarch" >> ${PLATFORM_FILE}
echo "i486-pc" >> ${PLATFORM_FILE}
echo "noarch-suse" >> ${PLATFORM_FILE}
+ elif [ ${ARCH} == x86_64 ]; then
+ echo "i486-suse" >> ${PLATFORM_FILE}
+ echo "i486-noarch" >> ${PLATFORM_FILE}
+ echo "i486-pc" >> ${PLATFORM_FILE}
+ echo "i486-.*-linux.*" >> ${PLATFORM_FILE}
+ echo "noarch-suse" >> ${PLATFORM_FILE}
+ echo "${ARCH}-suse" >> ${PLATFORM_FILE}
+ echo "${ARCH}-noarch" >> ${PLATFORM_FILE}
+ echo "${ARCH}-pc" >> ${PLATFORM_FILE}
else
echo "${ARCH}-suse" >> ${PLATFORM_FILE}
echo "${ARCH}-noarch" >> ${PLATFORM_FILE}