summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-10-07 13:43:07 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-10-07 13:43:07 +0000
commitf9b9e314eb4502fbdfa69ed22ae6452d9e285392 (patch)
tree3423f28983c5779ee9058053e02e882bf8dd287e /meta/classes
parent21cdfe2a8a630b6e42c3499322aa92e1dfa69a65 (diff)
downloadopenembedded-core-f9b9e314eb4502fbdfa69ed22ae6452d9e285392.tar.gz
openembedded-core-f9b9e314eb4502fbdfa69ed22ae6452d9e285392.tar.bz2
openembedded-core-f9b9e314eb4502fbdfa69ed22ae6452d9e285392.tar.xz
openembedded-core-f9b9e314eb4502fbdfa69ed22ae6452d9e285392.zip
rootfs_rpm.bbclass: fix platform so rpm will be usable on device
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5432 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rootfs_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index 876036ae6..3b40f7845 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -19,7 +19,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}