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:
parent
831cf524fc
commit
fe1c075411
|
@ -42,7 +42,7 @@ fakeroot rootfs_deb_do_rootfs () {
|
|||
tac ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev > ${STAGING_ETCDIR_NATIVE}/apt/sources.list
|
||||
|
||||
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"
|
||||
|
||||
export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
|
||||
|
|
Loading…
Reference in New Issue