[oe-commits] [openembedded-core] 01/02: sstate: Ensure SSTATE_PKG is reloaded when handling siginfo

git at git.openembedded.org git at git.openembedded.org
Tue Dec 10 23:20:06 UTC 2019


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

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

commit be29a25400c4ea285ab3f588c5831f00ba5d4f63
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Dec 10 23:19:03 2019 +0000

    sstate: Ensure SSTATE_PKG is reloaded when handling siginfo
    
    STATE_PKG may have been changed by sstate_report_unihash so don't
    cache the variable's value.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/sstate.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index eb1ecd6..a46dd2e 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -664,7 +664,8 @@ def sstate_package(ss, d):
         # All hooks should run in SSTATE_BUILDDIR.
         bb.build.exec_func(f, d, (sstatebuild,))
 
-    bb.siggen.dump_this_task(sstatepkg + ".siginfo", d)
+    # SSTATE_PKG may have been changed by sstate_report_unihash
+    bb.siggen.dump_this_task(d.getVar('SSTATE_PKG') + ".siginfo", d)
 
     return
 

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


More information about the Openembedded-commits mailing list