mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
rootfs_rpm: set target architecture and do not tell yum which arch we will use
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5391 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -18,7 +18,7 @@ fakeroot rootfs_rpm_do_rootfs () {
|
|||||||
set -x
|
set -x
|
||||||
|
|
||||||
mkdir -p ${IMAGE_ROOTFS}/etc/rpm/
|
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
|
# Generate an apprpriate yum.conf
|
||||||
rm -rf ${YUMCONF}
|
rm -rf ${YUMCONF}
|
||||||
@@ -31,8 +31,6 @@ logfile=/var/log2/yum.log
|
|||||||
exactarch=0
|
exactarch=0
|
||||||
obsoletes=1
|
obsoletes=1
|
||||||
tolerant=1
|
tolerant=1
|
||||||
arch=arm
|
|
||||||
basearch=arm
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user