[oe-commits] Martin Jansa : bitbake.conf: move PERSISTENT_DIR outside TMPDIR

git at git.openembedded.org git at git.openembedded.org
Sat Mar 2 22:46:01 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 5d43f752429707b74dbf46ecb81ac76bad7bb715
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5d43f752429707b74dbf46ecb81ac76bad7bb715

Author: Martin Jansa <martin.jansa at gmail.com>
Date:   Sat Mar  2 18:18:15 2013 +0100

bitbake.conf: move PERSISTENT_DIR outside TMPDIR

* PR service cache needs to be persistent between rebuilds
  having it in directory starting with tmp* does not help
  people to understand that it needs to be persistent, so
  move it to TOPDIR

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/conf/bitbake.conf |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index b1c8dac..3afaf4a 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -327,7 +327,7 @@ FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE'))}"
 TMPDIR ?= "${TOPDIR}/tmp"
 CACHE = "${TMPDIR}/cache${@['', '/' + str(d.getVar('MACHINE', True))][bool(d.getVar('MACHINE', True))]}${@['', '/' + str(d.getVar('SDKMACHINE', True))][bool(d.getVar('SDKMACHINE', True))]}"
 # The persistent cache should be shared by all builds
-PERSISTENT_DIR = "${TMPDIR}/cache"
+PERSISTENT_DIR = "${TOPDIR}/cache"
 LOG_DIR = "${TMPDIR}/log"
 CO_DIR = "${DL_DIR}"
 CVSDIR = "${CO_DIR}/cvs"





More information about the Openembedded-commits mailing list