diff mbox series

bitbake.conf: add missing CACHE setting

Message ID 20240106202343.704161-1-vvavrychuk@gmail.com
State Accepted, archived
Commit 89c4eeef82a39f98cb155195e87a6686316b94eb
Headers show
Series bitbake.conf: add missing CACHE setting | expand

Commit Message

Vasyl Vavrychuk Jan. 6, 2024, 8:23 p.m. UTC
Without it bitbake fails with

  ERROR: Please ensure CACHE is set to the cache directory for BitBake to use

Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
---
 conf/bitbake.conf | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/conf/bitbake.conf b/conf/bitbake.conf
index 2c1d8be2..f5a5a333 100644
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -23,6 +23,7 @@  DEPENDS = ""
 DEPLOY_DIR = "${TMPDIR}/deploy"
 DEPLOY_DIR_IMAGE = "${DEPLOY_DIR}/images"
 DL_DIR = "${TMPDIR}/downloads"
+CACHE = "${TMPDIR}/cache"
 FILESPATH = "${FILE_DIRNAME}/${PF}:${FILE_DIRNAME}/${P}:${FILE_DIRNAME}/${PN}:${FILE_DIRNAME}/files:${FILE_DIRNAME}"
 FILE_DIRNAME = "${@os.path.dirname(d.getVar('FILE', False))}"
 IMAGE_CMD = "_NO_DEFINED_IMAGE_TYPES_"