]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sstate: Account for reserved characters when shortening sstate filenames
authorManuel Leonhardt <mleonhardt@arri.de>
Tue, 2 Nov 2021 18:48:44 +0000 (19:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2022 00:26:19 +0000 (00:26 +0000)
commit408bf1b4bb4f4ed126c17fb3676f9fa0513065ba
tree1102615b1e9a5ff159b13cda7386e7790c816e45
parent3251dc441a31b2d4d7acb690bd6db13f0f99a1d0
sstate: Account for reserved characters when shortening sstate filenames

Previously, when shortening sstate filenames, the reserved
characters for .siginfo were not considered, when siginfo=False,
resulting in differently shortend filenames for the sstate and siginfo
files. With this change, the filenames of the truncated sstate and
siginfo files have the same basename, just as is already the case for
untruncated filenames.

Making sure that the .siginfo files always have the filename of the
corresponding sstate file plus its .siginfo suffix, also when being
truncated, makes it easier to manage the sstate cache and an sstate
mirror outside of Bitbake/Yocto.

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2e0e43b7123cf5149833e0072c8edaea3629112)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/sstate.bbclass