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

git at git.openembedded.org git at git.openembedded.org
Sat Jan 11 11:06:45 UTC 2020


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

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

commit bfed8be91525478ecdf6b64e6308958b3271c8cc
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>
    (cherry picked from commit be29a25400c4ea285ab3f588c5831f00ba5d4f63)
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 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