From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx3.leapfrog.com ([63.114.26.253]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1QojoS-0005Jr-QQ for openembedded-core@lists.openembedded.org; Thu, 04 Aug 2011 00:21:17 +0200 Received: from mx3.leapfrog.com (localhost [127.0.0.1]) by localhost.leapfrog.com (Postfix) with ESMTP id B23805EB6 for ; Wed, 3 Aug 2011 14:54:19 -0700 (PDT) Received: from naemhtcas02.na.leapfrog.com (unknown [10.12.1.52]) by mx3.leapfrog.com (Postfix) with ESMTP id 8D0125E8C for ; Wed, 3 Aug 2011 14:54:19 -0700 (PDT) Received: from naemmail08.na.leapfrog.com ([10.11.5.92]) by naemhtcas02.na.leapfrog.com ([10.12.1.52]) with mapi; Wed, 3 Aug 2011 14:54:19 -0700 From: Daniel Lazzari To: "'openembedded-core@lists.openembedded.org'" Date: Wed, 3 Aug 2011 14:54:19 -0700 Thread-Topic: [PATCH] Immediately append TCLIBCAPPEND to TMPDIR in defaultsetup.conf Thread-Index: AcxSJ+V7HZ/80Ui5TVCoM7c/IxixOw== Message-ID: <359B10B9B28B294BAA6405D9320312E0111E934067@naemmail08.na.leapfrog.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Subject: [PATCH] Immediately append TCLIBCAPPEND to TMPDIR in defaultsetup.conf X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer 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, 03 Aug 2011 22:21:17 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Immediately append TCLIBCAPPEND to TMPDIR in defaultsetup.conf instead of lazily appending it with _append. This fixes a bug where the wrong cache was cleared when BB_SRCREV_POLICY =3D "clear". Signed-off-by: Daniel Lazzari Jr --- meta/conf/distro/defaultsetup.conf | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/meta/conf/distro/defaultsetup.conf b/meta/conf/distro/defaults= etup.conf index 072f03c..951e5be 100644 --- a/meta/conf/distro/defaultsetup.conf +++ b/meta/conf/distro/defaultsetup.conf @@ -14,7 +14,7 @@ require conf/distro/include/tclibc-${TCLIBC}.inc =20 # Allow single libc distros to disable this code TCLIBCAPPEND ?=3D "-${TCLIBC}" -TMPDIR_append =3D "${TCLIBCAPPEND}" +TMPDIR :=3D "${TMPDIR}${TCLIBCAPPEND}" =20 CACHE =3D "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(bb.data.ge= tVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' = + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE'= , d, 1))]}" =20 --=20 1.7.0.4