diff options
Diffstat (limited to 'meta/classes/rootfs_rpm.bbclass')
-rw-r--r-- | meta/classes/rootfs_rpm.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass index 16a96046d2..88b2ae81bf 100644 --- a/meta/classes/rootfs_rpm.bbclass +++ b/meta/classes/rootfs_rpm.bbclass @@ -18,7 +18,7 @@ fakeroot rootfs_rpm_do_rootfs () { set -x mkdir -p ${IMAGE_ROOTFS}/etc/rpm/ - #echo "arm" > ${IMAGE_ROOTFS}/etc/rpm/platform + echo ${TARGET_ARCH} >${IMAGE_ROOTFS}/etc/rpm/platform # Generate an apprpriate yum.conf rm -rf ${YUMCONF} @@ -31,8 +31,6 @@ logfile=/var/log2/yum.log exactarch=0 obsoletes=1 tolerant=1 -arch=arm -basearch=arm EOF |