From e5e21ca415095c805370a42daa0d3ddb3bd84da0 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 2 Oct 2008 20:43:59 +0000 Subject: rootfs_rpm: set target architecture and do not tell yum which arch we will use git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5391 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/classes/rootfs_rpm.bbclass | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'meta') diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 16a96046d..88b2ae81b 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -18,7 +18,7 @@ fakeroot rootfs_rpm_do_rootfs () { set -x mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ - #echo "arm" > ${IMAGE_ROOTFS}/etc/rpm/platform + echo ${TARGET_ARCH} >${IMAGE_ROOTFS}/etc/rpm/platform # Generate an apprpriate yum.conf rm -rf ${YUMCONF} @@ -31,8 +31,6 @@ logfile=/var/log2/yum.log exactarch=0 obsoletes=1 tolerant=1 -arch=arm -basearch=arm EOF -- cgit v1.2.3