mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 12:47:00 +00:00
signing-keys: fix the race condition when concurrent import operations occur
Signed-off-by: Jia Zhang <lans.zhang2008@gmail.com>
This commit is contained in:
@@ -20,4 +20,5 @@ python check_public_keys () {
|
||||
raise bb.build.FuncFailed('Failed to import gpg key (%s): %s' %
|
||||
(gpg_key, output))
|
||||
}
|
||||
check_public_keys[lockfiles] = "${TMPDIR}/check_public_keys.lock"
|
||||
do_get_public_keys[prefuncs] += "check_public_keys"
|
||||
|
||||
Reference in New Issue
Block a user