summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
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}