Skip to contentSkip to conversation

sstate.bbclass: make sure changes to SSTATE_SCAN_FILES are not ignored

PATCH New Alexander Kanavin 1 participant 1 message Jan 18, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sstate.bbclass: make sure changes to SSTATE_SCAN_FILES are not ignored

When changing the SSTATE_SCAN_FILES variable in a recipe it doesn't cause a rebuild, so if there's a sstate-cache available with "bad" sstate data in it that will still be used even though the recipe is updated to address this.

[YOCTO #13144]

---
 meta/classes/sstate.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/sstate.bbclass +1 -0
index 763fce07f95..571a9d0dc5d 100644
@@ -62,6 +62,7 @@ SSTATE_ARCHS = " \
 SSTATE_MANMACH ?= "${SSTATE_PKGARCH}"
 
 SSTATECREATEFUNCS = "sstate_hardcode_path"
+SSTATECREATEFUNCS[vardeps] = "SSTATE_SCAN_FILES"
 SSTATEPOSTCREATEFUNCS = ""
 SSTATEPREINSTFUNCS = ""
 SSTATEPOSTUNPACKFUNCS = "sstate_hardcode_path_unpack"
Signature · 1 line
2.17.1