| Message ID | 20260727105122.4106673-1-richard.purdie@linuxfoundation.org |
|---|---|
| State | New |
| Headers | show |
| Series | sstate: Update mtime/atime for sig/siginfo files in sstate_checkhashes() | expand |
diff --git a/meta/classes-global/sstate.bbclass b/meta/classes-global/sstate.bbclass index 34a59fda002..9037d209270 100644 --- a/meta/classes-global/sstate.bbclass +++ b/meta/classes-global/sstate.bbclass @@ -978,6 +978,9 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True, if os.path.exists(sstatefile): oe.utils.touch(sstatefile) + for ext in ['.sig', '.siginfo']: + if os.path.exists(sstatefile + ext): + oe.utils.touch(sstatefile + ext) found.add(tid) bb.debug(2, "SState: Found valid sstate file %s" % sstatefile) else:
If we touch sstatefile, we should also touch any .sig/.siginfo file if we can. We try and keep them both updated with accesses so one isn't removed without the other and they stay consistent. [YOCTO #15289] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> --- meta/classes-global/sstate.bbclass | 3 +++ 1 file changed, 3 insertions(+)