diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-13 16:11:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 22:37:43 +0100 |
commit | 4c33a6e52be775265c871aa2d3b87ed23a0d48da (patch) | |
tree | 56c7987ca538f8a29f3860267e803bf3b5e65fc3 /bitbake/lib/codegen.py | |
parent | d080eaa163620c29848f2311064dd919c051234c (diff) | |
download | poky-4c33a6e52be775265c871aa2d3b87ed23a0d48da.tar.gz |
bitbake: siggen: Change file format of siginfo files to use zstd compressed json
Since OE is about to change to zstd compression of sstate, it would make it
timely to convert the siginfo files from pickle which isn't reproducible
to json which is both reproducible and also human readable. At the same time
add zstd compression. This makes the siginfo files smaller, reprodubicle
and easier to debug.
Backwards compatibility mixing the two formats hasn't been supported since
in reality if sstate changes at the same time, files will be in one format
or the new one but comparing mixed formats won't make much sense.
Since json doesn't support sets, we translate them into lists in the files
themselves. We only use sets in bitbake since it makes things easier in
the internal code, sorted lists are fine for the file format.
[YOCTO #13973]
(Bitbake rev: 22c18494c9072788e6e26eb73de70378ae5c5bf5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/codegen.py')
0 files changed, 0 insertions, 0 deletions