mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
rootfs_deb.bbclass: Backport architecture fix so x86 builds work in pinky
git-svn-id: https://svn.o-hand.com/repos/poky/branches/pinky@4521 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -39,7 +39,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