diff mbox series

[isar-cip-core,1/1] layer.conf: fix sstate cacheability issue

Message ID 20221001044712.441683-1-felix.moessbauer@siemens.com (mailing list archive)
State Handled Elsewhere
Headers show
Series [isar-cip-core,1/1] layer.conf: fix sstate cacheability issue | expand

Commit Message

Felix Moessbauer Oct. 1, 2022, 4:47 a.m. UTC
The LAYERDIR_cip-core contains an absolute path to the layer
at the current location on the fs.
This breaks sstate caching in case the layer is checked out at a
different location on the next build (which is common in CI).

By setting the vardepvalue to a fixed string, this issue is solved.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 conf/layer.conf | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/conf/layer.conf b/conf/layer.conf
index cc0543a..891a0ca 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -21,3 +21,5 @@  BBFILE_PRIORITY_cip-core = "6"
 LAYERSERIES_COMPAT_cip-core = "next"
 
 LAYERDIR_cip-core = "${LAYERDIR}"
+LAYERDIR_cip-core[vardepvalue] = "isar-cip-core"
+