]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_rpm.bbclass: fix platform so rpm will be usable on device
authorMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 7 Oct 2008 13:43:07 +0000 (13:43 +0000)
committerMarcin Juszkiewicz <hrw@openedhand.com>
Tue, 7 Oct 2008 13:43:07 +0000 (13:43 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5432 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/rootfs_rpm.bbclass

index 876036ae6094919595dde5286219a51e49f67675..3b40f7845c2901f36bf260d3d105b26ae67dcea5 100644 (file)
@@ -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}