mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
sign_rpm.bbclass: force rpm serial signing
Newer versions of gpg (at least 2.1.5 and 2.2.1) have issues when signing occurs in parallel so (unfortunately) the signing must be done serially. Once the upstream problem is fixed, this patch must be reverted, otherwise we loose all the intrinsic parallelism from bitbake. [YOCTO #12022] (From OE-Core rev: 5301712f9735fcf8d3dec756772668de930e53fe) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
078368ab8d
commit
043d9ac0ae
@@ -67,3 +67,9 @@ python sign_rpm () {
|
||||
|
||||
do_package_index[depends] += "signing-keys:do_deploy"
|
||||
do_rootfs[depends] += "signing-keys:do_populate_sysroot"
|
||||
|
||||
# Newer versions of gpg (at least 2.1.5 and 2.2.1) have issues when signing occurs in parallel
|
||||
# so unfortunately the signing must be done serially. Once the upstream problem is fixed,
|
||||
# the following line must be removed otherwise we loose all the intrinsic parallelism from
|
||||
# bitbake. For more information, check https://bugzilla.yoctoproject.org/show_bug.cgi?id=12022.
|
||||
do_package_write_rpm[lockfiles] += "${TMPDIR}/gpg.lock"
|
||||
|
||||
Reference in New Issue
Block a user