diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-02 20:43:59 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-02 20:43:59 +0000 |
commit | e5e21ca415095c805370a42daa0d3ddb3bd84da0 (patch) | |
tree | 15315f5655af15e8a3a3ad137fc14a3287840b41 | |
parent | 3c5eae8fec67fd733fb5662097f6cd509e8274fc (diff) | |
download | poky-e5e21ca415095c805370a42daa0d3ddb3bd84da0.tar.gz |
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
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 16a96046d2..88b2ae81bf 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass | |||
@@ -18,7 +18,7 @@ fakeroot rootfs_rpm_do_rootfs () { | |||
18 | set -x | 18 | set -x |
19 | 19 | ||
20 | mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ | 20 | mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ |
21 | #echo "arm" > ${IMAGE_ROOTFS}/etc/rpm/platform | 21 | echo ${TARGET_ARCH} >${IMAGE_ROOTFS}/etc/rpm/platform |
22 | 22 | ||
23 | # Generate an apprpriate yum.conf | 23 | # Generate an apprpriate yum.conf |
24 | rm -rf ${YUMCONF} | 24 | rm -rf ${YUMCONF} |
@@ -31,8 +31,6 @@ logfile=/var/log2/yum.log | |||
31 | exactarch=0 | 31 | exactarch=0 |
32 | obsoletes=1 | 32 | obsoletes=1 |
33 | tolerant=1 | 33 | tolerant=1 |
34 | arch=arm | ||
35 | basearch=arm | ||
36 | 34 | ||
37 | EOF | 35 | EOF |
38 | 36 | ||