[oe-commits] [openembedded-core] 01/28: sstate.bbclass: make sure changes to SSTATE_SCAN_FILES are not ignored

git at git.openembedded.org git at git.openembedded.org
Thu Jan 24 12:55:40 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit ea3526961920a229e0bb5fb459952be89fce2255
Author: Alexander Kanavin <alex.kanavin at gmail.com>
AuthorDate: Wed Jan 23 17:17:35 2019 +0100

    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]
    
    Signed-off-by: Alexander Kanavin <alex.kanavin at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/sstate.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 2f0bbd2..6f51d9c 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -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"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list