summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2017-09-25 13:52:59 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-26 11:05:01 +0100
commit043d9ac0ae441e9a7e2ea8934bfc595a03ef9a52 (patch)
tree369d7267e1860988db306cfe6dad4f8275d9725e /meta
parent078368ab8d0a2c8b783c7b9e848dc1e3ade48409 (diff)
downloadpoky-043d9ac0ae441e9a7e2ea8934bfc595a03ef9a52.tar.gz
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/sign_rpm.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/sign_rpm.bbclass b/meta/classes/sign_rpm.bbclass
index 6796780ee4..4961b03618 100644
--- a/meta/classes/sign_rpm.bbclass
+++ b/meta/classes/sign_rpm.bbclass
@@ -67,3 +67,9 @@ python sign_rpm () {
67 67
68do_package_index[depends] += "signing-keys:do_deploy" 68do_package_index[depends] += "signing-keys:do_deploy"
69do_rootfs[depends] += "signing-keys:do_populate_sysroot" 69do_rootfs[depends] += "signing-keys:do_populate_sysroot"
70
71# Newer versions of gpg (at least 2.1.5 and 2.2.1) have issues when signing occurs in parallel
72# so unfortunately the signing must be done serially. Once the upstream problem is fixed,
73# the following line must be removed otherwise we loose all the intrinsic parallelism from
74# bitbake. For more information, check https://bugzilla.yoctoproject.org/show_bug.cgi?id=12022.
75do_package_write_rpm[lockfiles] += "${TMPDIR}/gpg.lock"