From: Leonardo Sandoval <[email protected]>
Under high workloads, there are situations where the rpm file-chunk
signing fails due to lack of memory resouces, so indicate the
system to sign serially. The following log is what it has been
observed recently:
ERROR: bc-1.06-r3 do_package_write_rpm: Function failed: Failed to sign RPM
packages: gpg: signing failed: Cannot allocate memory
gpg: signing failed: Cannot allocate memory
error: gpg exec failed (2)
Signed-off-by: Leonardo Sandoval <[email protected]>
---
buildset-config.controller/nightly-oe-selftest.conf | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/buildset-config.controller/nightly-oe-selftest.conf
b/buildset-config.controller/nightly-oe-selftest.conf
index 8704946d9..1237f9b73 100644
--- a/buildset-config.controller/nightly-oe-selftest.conf
+++ b/buildset-config.controller/nightly-oe-selftest.conf
@@ -10,7 +10,8 @@ steps: [{'SetDest':{}},
{'GetDistroVersion' : {'distro': 'poky'}},
{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'x86_64',
'distro': 'poky', 'packages': 'rpm',
- 'buildhistory' : False, 'prserv': False}},
+ 'buildhistory' : False, 'prserv': False,
+ 'RPM_GPG_SIGN_CHUNK' : 1}},
{'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
{'BuildImages': {'images': 'SELFTEST-PRE'}},
{'CreateBBLayersConf': {'buildprovider' : 'yocto', 'layerdirs':
['meta-selftest']}},
--
2.12.3
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto