diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-02 15:04:08 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-18 13:14:19 +0100 |
commit | 1bccc216eed82adad60d7d3765aee7b138e263c2 (patch) | |
tree | 66a3d8597f3e5a20686b5b84705a1e1734c0d7c3 /meta/classes | |
parent | 8f4b7758b5d038f2067fd1a05f80afaeabb67e80 (diff) | |
download | poky-1bccc216eed82adad60d7d3765aee7b138e263c2.tar.gz |
sstate: Ensure we don't remove sigbasedata files
We don't remove sigdata files, we also shouldn't remove sigbasedata files
as this hinders debugging.
(From OE-Core rev: 1ebd85f8dfe45b92c0137547c05e013e340f9cec)
(From OE-Core rev: 3764a5ce8a1f26b46c389c256c10596ed8d31cc7)
(From OE-Core rev: b7c06011fa057ae1aaf828a6249e7b76485b2d5a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 8c623271ad..5c88dae6b6 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -442,7 +442,7 @@ def sstate_clean(ss, d): | |||
442 | rm_nohash = ".do_%s" % ss['task'] | 442 | rm_nohash = ".do_%s" % ss['task'] |
443 | for stfile in glob.glob(wildcard_stfile): | 443 | for stfile in glob.glob(wildcard_stfile): |
444 | # Keep the sigdata | 444 | # Keep the sigdata |
445 | if ".sigdata." in stfile: | 445 | if ".sigdata." in stfile or ".sigbasedata." in stfile: |
446 | continue | 446 | continue |
447 | # Preserve taint files in the stamps directory | 447 | # Preserve taint files in the stamps directory |
448 | if stfile.endswith('.taint'): | 448 | if stfile.endswith('.taint'): |