[oe] [PATCH 56/70] rootfs_rpm.bbclass: fix platform so rpm will be usable on device (from Poky)

Marcin Juszkiewicz openembedded at haerwu.biz
Wed Mar 4 15:53:11 UTC 2009


From: Marcin Juszkiewicz <hrw at openedhand.com>

git-svn-id: https://svn.o-hand.com/repos/poky@5432 311d38ba-8fff-0310-9ca6-ca027cbcb966
---
 classes/rootfs_rpm.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/rootfs_rpm.bbclass b/classes/rootfs_rpm.bbclass
index bedd71c..292e3bb 100644
--- a/classes/rootfs_rpm.bbclass
+++ b/classes/rootfs_rpm.bbclass
@@ -44,7 +44,7 @@ fakeroot rootfs_rpm_do_rootfs () {
 	set -x
 
 	mkdir -p ${IMAGE_ROOTFS}/etc/rpm/
-	echo ${TARGET_ARCH} >${IMAGE_ROOTFS}/etc/rpm/platform
+	echo "${TARGET_ARCH}-linux" >${IMAGE_ROOTFS}/etc/rpm/platform
 
 	# Generate an apprpriate yum.conf
 	rm -rf ${YUMCONF}
-- 
1.6.1.3







More information about the Openembedded-devel mailing list