Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] dpkg: Only set DEB_HOST_ARCH in target case
@ 2016-09-28  9:13 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-09-28  9:13 UTC (permalink / raw)
  To: openembedded-core

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@linuxfoundation.org>

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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-28  9:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-28  9:13 [PATCH] dpkg: Only set DEB_HOST_ARCH in target case Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox