]> code.ossystems Code Review - openembedded-core.git/commit
sign_rpm: Allow pkg signing by chunks through RPM_GPG_SIGN_CHUNK
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Thu, 17 Aug 2017 17:12:27 +0000 (10:12 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 18 Aug 2017 11:35:56 +0000 (12:35 +0100)
commitf7f78e73f1cd15f4233a231364b14438af758628
treeb084983555e6ae1efa3bc3829a8476416d78f83c
parente70f843b4fb5ee27d46543165a89d56c2ec5ee2e
sign_rpm: Allow pkg signing by chunks through RPM_GPG_SIGN_CHUNK

Commit d58b1d196 moved from chunk to serial signing, but neither of both approaches
allowed the user to select the chunks size. This patch allows the user to select
a chunk size through RPM_GPG_SIGN_CHUNK defaulting to BB_NUMBER_THREADS, considered
a good default. Indirectly, this change reduces the number of processes spawn
to number-of-packages/RPM_GPG_SIGN_CHUNK.

Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/sign_rpm.bbclass
meta/lib/oe/gpg_sign.py