summaryrefslogtreecommitdiffstats
path: root/meta/classes/sstate.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-10 23:19:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-10 23:19:32 +0000
commitd767b4d3b42a311b862ad5aa18b5ee2f6fb2e907 (patch)
tree75576e3b2da1ca2dd2248a1077a3025b85c29062 /meta/classes/sstate.bbclass
parent9d606cfbda43c17e7ad965684d8bb430417989b7 (diff)
downloadpoky-d767b4d3b42a311b862ad5aa18b5ee2f6fb2e907.tar.gz
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. (From OE-Core rev: be29a25400c4ea285ab3f588c5831f00ba5d4f63) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r--meta/classes/sstate.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index eb1ecd6822..a46dd2e210 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -664,7 +664,8 @@ def sstate_package(ss, d):
664 # All hooks should run in SSTATE_BUILDDIR. 664 # All hooks should run in SSTATE_BUILDDIR.
665 bb.build.exec_func(f, d, (sstatebuild,)) 665 bb.build.exec_func(f, d, (sstatebuild,))
666 666
667 bb.siggen.dump_this_task(sstatepkg + ".siginfo", d) 667 # SSTATE_PKG may have been changed by sstate_report_unihash
668 bb.siggen.dump_this_task(d.getVar('SSTATE_PKG') + ".siginfo", d)
668 669
669 return 670 return
670 671