summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2008-05-21 13:17:53 +0000
committerRichard Purdie <richard@openedhand.com>2008-05-21 13:17:53 +0000
commitfe1c0754111169b0a6e6b64c2843eb9be815afc0 (patch)
tree75fea298a328ef6c085f852a3151ecdd1e89c1c7
parent831cf524fca592d8e4b7df033c0e13859d82b9ae (diff)
downloadpoky-fe1c0754111169b0a6e6b64c2843eb9be815afc0.tar.gz
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
-rw-r--r--meta/classes/rootfs_deb.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass
index eb08f4ace4..1b1fa63e77 100644
--- a/meta/classes/rootfs_deb.bbclass
+++ b/meta/classes/rootfs_deb.bbclass
@@ -42,7 +42,7 @@ fakeroot rootfs_deb_do_rootfs () {
42 tac ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev > ${STAGING_ETCDIR_NATIVE}/apt/sources.list 42 tac ${STAGING_ETCDIR_NATIVE}/apt/sources.list.rev > ${STAGING_ETCDIR_NATIVE}/apt/sources.list
43 43
44 cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \ 44 cat "${STAGING_ETCDIR_NATIVE}/apt/apt.conf.sample" \
45 | sed -e 's#Architecture ".*";#Architecture "${TARGET_ARCH}";#' \ 45 | sed -e 's#Architecture ".*";#Architecture "${DPKG_ARCH}";#' \
46 > "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf" 46 > "${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"
47 47
48 export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf" 48 export APT_CONFIG="${STAGING_ETCDIR_NATIVE}/apt/apt-rootfs.conf"