]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
uboot-sign/kernel-fitimage: split generate_rsa_keys task
authorMing Liu <liu.ming50@gmail.com>
Sat, 22 May 2021 08:25:41 +0000 (10:25 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 May 2021 09:04:06 +0000 (10:04 +0100)
commit36814f5467c9abd84aeb05916b4fd49f766f4f9f
treec2d39a8250fba20e6d97d6427a46d99ccba7740e
parent0ef3a5e2a6d4507c8d9bc6143f9aa65e6cdb1ed7
uboot-sign/kernel-fitimage: split generate_rsa_keys task

Currently generate_rsa_keys tasks are being executed parallelly in
kernel and uboot's task list, and both of them are calling openssl to
generate rsa keys in same path, this can lead to race condition.

Let's split it to kernel_generate_rsa_keys and uboot_generate_rsa_keys.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass
meta/classes/uboot-sign.bbclass