]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sstate.bbclass: Only sign packages at the time of their creation
authorTobias Hagelborn <tobias.hagelborn@axis.com>
Mon, 5 Feb 2024 14:03:34 +0000 (15:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 17 Feb 2024 18:19:20 +0000 (18:19 +0000)
commitba223f8fff19ea59440d56cf3fe46200f3f71e22
treed4bdc2e756906e07cab09b669deb8b3b08371c87
parentd0a546e21760004897f814981445433a5d5e69a6
sstate.bbclass: Only sign packages at the time of their creation

The purpose of the change is to never sign a package not created by
the build itself.

sstate_create_package is refactored into Python and re-designed
to handle signing inside the function. Thus, the signing should never apply
to existing sstate packages. The function is therefore renamed into
sstate_create_and_sign_package.
The creation of the archive remains in a separate shellscript function.

Co-authored-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Tobias Hagelborn <tobias.hagelborn@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-global/sstate.bbclass