Skip to contentSkip to conversation

bitbake.conf: move PERSISTENT_DIR outside TMPDIR

PATCH New Martin Jansa 1 participant 1 message Mar 2, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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

---
 meta/conf/bitbake.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/bitbake.conf +1 -1
index b1c8dac..3afaf4a 100644
@@ -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"
Signature · 1 line
1.8.1.4