diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-07 13:43:07 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-10-07 13:43:07 +0000 |
commit | f9b9e314eb4502fbdfa69ed22ae6452d9e285392 (patch) | |
tree | 3423f28983c5779ee9058053e02e882bf8dd287e /meta/classes | |
parent | 21cdfe2a8a630b6e42c3499322aa92e1dfa69a65 (diff) | |
download | poky-f9b9e314eb4502fbdfa69ed22ae6452d9e285392.tar.gz |
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.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 () { | |||
19 | set -x | 19 | set -x |
20 | 20 | ||
21 | mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ | 21 | mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ |
22 | echo ${TARGET_ARCH} >${IMAGE_ROOTFS}/etc/rpm/platform | 22 | echo "${TARGET_ARCH}-linux" >${IMAGE_ROOTFS}/etc/rpm/platform |
23 | 23 | ||
24 | # Generate an apprpriate yum.conf | 24 | # Generate an apprpriate yum.conf |
25 | rm -rf ${YUMCONF} | 25 | rm -rf ${YUMCONF} |