]> code.ossystems Code Review - openembedded-core.git/commitdiff
rootfs_deb.bbclass: Use DPKG_ARCH for the architecture field, not TARGET_ARCH since...
authorRichard Purdie <richard@openedhand.com>
Wed, 21 May 2008 13:17:53 +0000 (13:17 +0000)
committerRichard Purdie <richard@openedhand.com>
Wed, 21 May 2008 13:17:53 +0000 (13:17 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4520 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/classes/rootfs_deb.bbclass

index eb08f4ace4cde5140d1d93c0f1b1c4fe28a8e0ee..1b1fa63e7717b091a6bca5e69f1875aeac9a9430 100644 (file)
@@ -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"