]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oe/sstatesig.py: dump locked.sigs.inc only when explicitly asked via -S lockedsigs
authorAlexander Kanavin <alex.kanavin@gmail.com>
Mon, 23 Oct 2023 11:06:17 +0000 (13:06 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 27 Oct 2023 09:53:09 +0000 (10:53 +0100)
commitad57c3cac2a8d3e60222e3cca0685f582dcea135
tree949281049c072d0e9576b3d80b08ead8ce6a9bd0
parent7a7d76aa8a8d590ebc99156f9f4b9535cdf868c7
lib/oe/sstatesig.py: dump locked.sigs.inc only when explicitly asked via -S lockedsigs

This was writing out locked-sigs.inc into cwd with every
'bitbake -S' invocation. When the intent is only to to get task
stamps (-S none), or print the difference between them (-S printdiff),
the file is unnecessary clutter.

A couple of selftests/scripts were however relying on this, so they're
adjusted to explicitly request the file.

eSDK code calls dump_lockedsigs() separately via
oe.copy_buildsystem.generate_locked_sigs() and so isn't affected.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py
meta/lib/oeqa/selftest/cases/archiver.py
meta/lib/oeqa/selftest/cases/signing.py
scripts/lib/checklayer/__init__.py