[oe-commits] [openembedded-core] 27/28: dpkg: Only set DEB_HOST_ARCH in target case

git at git.openembedded.org git at git.openembedded.org
Wed Sep 28 09:18:13 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit bbce0f0fed2e2e1a79ae28540915696c6383cd53
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Wed Sep 28 09:14:55 2016 +0100

    dpkg: Only set DEB_HOST_ARCH in target case
    
    If we don't do this, the sstate checksums vary for dpkg-native depending
    on which MACHINE is set and this is clearly incorrect. It leads
    to dpkg-native rebuilding far too often.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-devtools/dpkg/dpkg.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/dpkg/dpkg.inc b/meta/recipes-devtools/dpkg/dpkg.inc
index 52a9bd7..e8d8a9b 100644
--- a/meta/recipes-devtools/dpkg/dpkg.inc
+++ b/meta/recipes-devtools/dpkg/dpkg.inc
@@ -33,7 +33,7 @@ EXTRA_OECONF = "\
 		"
 
 EXTRA_OECONF += "TAR=tar"
-EXTRA_OECONF += "DEB_HOST_ARCH=${DPKG_ARCH}"
+EXTRA_OECONF_append_class-target = " DEB_HOST_ARCH=${DPKG_ARCH}"
 
 do_configure () {
     echo >> ${S}/m4/compiler.m4

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list