From: Marcin Juszkiewicz Date: Tue, 7 Oct 2008 13:43:07 +0000 (+0000) Subject: rootfs_rpm.bbclass: fix platform so rpm will be usable on device X-Git-Tag: 2011-1~8091 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f9b9e314eb4502fbdfa69ed22ae6452d9e285392;p=openembedded-core.git 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 --- diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 876036ae60..3b40f7845c 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}