[v2,1/7] meta-isar: improve cachability

Message ID 20220509101604.3249558-2-adriaan.schmidt@siemens.com
State Accepted, archived
Headers show
Series Sstate maintenance script | expand

Commit Message

Schmidt, Adriaan May 9, 2022, 2:15 a.m. UTC
LAYERDIR_isar contains the absolute path of `meta-isar`, which breaks
cachability. To resolve this, we override the value that goes into
the signatures.

This also demonstrates the recommended way of dealing with this in
downstream layers that have `LAYERDIR_*`.

Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com>
---
 meta-isar/conf/layer.conf | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta-isar/conf/layer.conf b/meta-isar/conf/layer.conf
index 9939bdc1..dec2658f 100644
--- a/meta-isar/conf/layer.conf
+++ b/meta-isar/conf/layer.conf
@@ -17,3 +17,4 @@  LAYERVERSION_isar = "3"
 LAYERSERIES_COMPAT_isar = "v0.6"
 
 LAYERDIR_isar = "${LAYERDIR}"
+LAYERDIR_isar[vardepvalue] = "meta-isar"