All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Lazzari <dlazzari@leapfrog.com>
To: "'openembedded-core@lists.openembedded.org'"
	<openembedded-core@lists.openembedded.org>
Subject: [PATCH] Immediately append TCLIBCAPPEND to TMPDIR in defaultsetup.conf
Date: Wed, 3 Aug 2011 14:54:19 -0700	[thread overview]
Message-ID: <359B10B9B28B294BAA6405D9320312E0111E934067@naemmail08.na.leapfrog.com> (raw)

  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 = "clear".


Signed-off-by: Daniel Lazzari Jr <dlazzari@leapfrog.com>
---
 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/defaultsetup.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
 
 # Allow single libc distros to disable this code
 TCLIBCAPPEND ?= "-${TCLIBC}"
-TMPDIR_append = "${TCLIBCAPPEND}"
+TMPDIR := "${TMPDIR}${TCLIBCAPPEND}"
 
 CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(bb.data.getVar('MACHINE', d, 1))][bool(bb.data.getVar('MACHINE', d, 1))]}${@['', '/' + str(bb.data.getVar('SDKMACHINE', d, 1))][bool(bb.data.getVar('SDKMACHINE', d, 1))]}"
 
-- 
1.7.0.4




             reply	other threads:[~2011-08-03 22:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-03 21:54 Daniel Lazzari [this message]
2011-08-05  4:59 ` [PATCH] Immediately append TCLIBCAPPEND to TMPDIR in defaultsetup.conf Chris Larson
2011-08-05 17:19   ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=359B10B9B28B294BAA6405D9320312E0111E934067@naemmail08.na.leapfrog.com \
    --to=dlazzari@leapfrog.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.