]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
package: Ensure we track whether PRSERV was active or not
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 8 May 2022 11:26:33 +0000 (12:26 +0100)
committerSteve Sakoman <steve@sakoman.com>
Mon, 9 May 2022 14:01:07 +0000 (04:01 -1000)
commit4c2f429d6876c29b17931daa039c4899aacd7234
tree7d7c2bd8cc4e9a7d218ef42b9a944c898dda70d0
parent73087e3c4bf6792c37f0a9d8d006c09856d36b13
package: Ensure we track whether PRSERV was active or not

Currently the signatures for do_packagedata don't reflect whether PRServ
was active or not. This means that if you have mxiing of PRServ usage and
non PRServ usage against the same sstate cache it can rarely become
corrupted with one referencing the other.

This likely doesn't happen in general but does on the autobuilder as PRServ
is tested. Add in some variables to ensure the binary state of PRServ being
enabled or disabled is tracked (but not the server value). We continue to
assume one PRServ is used per sstate cache.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dd660e5c3fb74f7c4b7b8e863f7143066ae22813)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/package.bbclass