mirror of
https://git.yoctoproject.org/poky
synced 2026-09-29 07:36:20 +02:00
rootfs_deb.bbclass: Use DPKG_ARCH for the architecture field, not TARGET_ARCH since it breaks x86
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4520 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -42,7 +42,7 @@ fakeroot rootfs_deb_do_rootfs () {
|
|||||||
tac ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev > ${STAGING_ETCDIR_NATIVE}/apt/sources.list
|
tac ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev > ${STAGING_ETCDIR_NATIVE}/apt/sources.list
|
||||||
|
|
||||||
cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \
|
cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \
|
||||||
| sed -e 's#Architecture ".*";#Architecture "${TARGET_ARCH}";#' \
|
| sed -e 's#Architecture ".*";#Architecture "${DPKG_ARCH}";#' \
|
||||||
> "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
|
> "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
|
||||||
|
|
||||||
export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
|
export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
|
||||||
|
|||||||
Reference in New Issue
Block a user