From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id 6B03460939 for ; Wed, 28 Sep 2016 09:13:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u8S9D1E4007252 for ; Wed, 28 Sep 2016 10:13:35 +0100 Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 9nr8WaUtxaEU for ; Wed, 28 Sep 2016 10:13:35 +0100 (BST) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-4.1ubuntu1) with ESMTP id u8S9DWRw007455 (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128 verify=NOT) for ; Wed, 28 Sep 2016 10:13:33 +0100 Message-ID: <1475054012.30475.64.camel@linuxfoundation.org> From: Richard Purdie To: openembedded-core Date: Wed, 28 Sep 2016 10:13:32 +0100 X-Mailer: Evolution 3.18.5.2-0ubuntu3 Mime-Version: 1.0 Subject: [PATCH] dpkg: Only set DEB_HOST_ARCH in target case X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2016 09:13:34 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit 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 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