Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] package_rpm.bbclass: fix /etc/rpm/platform generation
@ 2013-04-18 14:27 Bogdan Marinescu
  2013-04-18 14:46 ` Mark Hatle
  0 siblings, 1 reply; 10+ messages in thread
From: Bogdan Marinescu @ 2013-04-18 14:27 UTC (permalink / raw)
  To: openembedded-core

For some platforms (for example emenlow) the RPM installer prefers
an invalid package architecture (for example i586 over core2) because
/etc/rpm/platform is not properly generated (for example, i586 is
listed before core2 in /etc/rpm/platform).

[YOCTO #3864]

Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com>
---
 meta/classes/package_rpm.bbclass |    1 -
 1 file changed, 1 deletion(-)

diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 3a29976..1bee4b1 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -276,7 +276,6 @@ package_install_internal_rpm () {
 		# Setup base system configuration
 		echo "Note: configuring RPM platform settings"
 		mkdir -p ${target_rootfs}/etc/rpm/
-		echo "$INSTALL_PLATFORM_RPM" > ${target_rootfs}/etc/rpm/platform
 
 		if [ ! -z "$INSTALL_PLATFORM_EXTRA_RPM" ]; then
 			for pt in $INSTALL_PLATFORM_EXTRA_RPM ; do
-- 
1.7.10.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-04-23 13:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-18 14:27 [PATCH] package_rpm.bbclass: fix /etc/rpm/platform generation Bogdan Marinescu
2013-04-18 14:46 ` Mark Hatle
2013-04-18 15:10   ` Mark Hatle
2013-04-18 16:59     ` Richard Purdie
2013-04-18 17:32       ` Mark Hatle
2013-04-19 12:18         ` Richard Purdie
2013-04-22 12:00   ` Marinescu, Bogdan A
2013-04-22 14:34     ` Marinescu, Bogdan A
2013-04-23 10:11       ` Marinescu, Bogdan A
2013-04-23 13:35         ` Marinescu, Bogdan A

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox