diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-10 23:19:03 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 11:06:21 +0000 |
| commit | 14823a0bda4456d376411f4ae519e05484a87e26 (patch) | |
| tree | 0464852811b05419fb037da250dcb511d0aace2b /meta/classes | |
| parent | 5947cc196fae75d669b9f22d1e6534f905c7f204 (diff) | |
| download | poky-14823a0bda4456d376411f4ae519e05484a87e26.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: bfed8be91525478ecdf6b64e6308958b3271c8cc)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit be29a25400c4ea285ab3f588c5831f00ba5d4f63)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
| -rw-r--r-- | meta/classes/sstate.bbclass | 3 |
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 | ||
