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

Quirin Gylstorff

On 10/1/22 06:47, Felix Moessbauer wrote:
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@...>
conf/layer.conf | 2 ++
1 file changed, 2 insertions(+)
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"


Join to automatically receive all group messages.