Skip to contentSkip to conversation

LSB_Test.sh: update rpm platform file

PATCH New Kai Kang 1 participant 2 messages Nov 19, 2013

lore
Share & tools
lore

Kai Kang

author
#0 lore raw

cover LSB_Test.sh: update rpm platform file

LSB_Test.sh: update rpm platform file to enable install i486 packages on x86-64 bsps when multlib is enabled.

The following changes since commit e15893adf9268b2920b24c52d5c2bb777c6f778e:

bitbake: serv.py: Give pr-server up to 5 seconds to commit data (2013-11-18 17:19:11 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib kangkai/lsb_test
http://git.yoctoproject.org/cgit.cgi//log/?h=kangkai/lsb_test

Kai Kang (1):
LSB_Test.sh: update rpm platform file when enable multilib

 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
Signature · 1 line
1.8.1.2
author
#1 lore raw

PATCH 1/1 LSB_Test.sh: update rpm platform file when enable multilib

When enable multilib for x86_64, lsb rpm packages both for archs x86_64 and i486 will be installed. But i486 target packages could not be installed that no such pattern in rpm platform file. Update platform file to enable install i486 rpm packages.

---
 meta/recipes-extended/lsb/lsbtest/LSB_Test.sh | 8 ++++++++
 1 file changed, 8 insertions(+)
meta/recipes-extended/lsb/lsbtest/LSB_Test.sh +8 -0
index af1d61c..19116e2 100644
@@ -277,6 +277,14 @@ 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 "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}
Signature · 1 line
1.8.1.2