mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-05-07 10:09:22 +00:00
user-key-store.bbclass: don't run check_deploy_keys in parallel
Set lockfile for task check_deploy_keys() to avoid the race error from
'cp -af':
cp: cannot create regular file '.../tmp/deploy/images/intel-x86-64/
sample-keys/uefi_sb_keys/DBX/DBX.key': File exists
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
@@ -374,3 +374,5 @@ python check_deploy_keys() {
|
|||||||
|
|
||||||
deploy_keys(_, d)
|
deploy_keys(_, d)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check_deploy_keys[lockfiles] = "${TMPDIR}/check_deploy_keys.lock"
|
||||||
|
|||||||
Reference in New Issue
Block a user