]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_rpm: set target architecture and do not tell yum which arch we will use
authorMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 2 Oct 2008 20:43:59 +0000 (20:43 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Thu, 2 Oct 2008 20:43:59 +0000 (20:43 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5391 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/rootfs_rpm.bbclass

index 16a96046d2f4d19fc7a3a7be14e0eec2bc865b78..88b2ae81bf216cec50773ebc8126d021b5419076 100644 (file)
@@ -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