summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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}