[OE-core] [PATCH 05/10] nss: move create blank certificates to pkg_postinst

Richard Purdie richard.purdie at linuxfoundation.org
Sat Sep 29 12:44:02 UTC 2018


On Sat, 2018-09-29 at 13:43 +0800, kai.kang at windriver.com wrote:
> From: Kai Kang <kai.kang at windriver.com>
> 
> There is a multilib install file conflict of nss:
> > file /etc/pki/nssdb/key4.db conflicts between attempted installs of
> > lib32-nss-3.38-r0.corei7_32 and nss-3.38-r0.corei7_64
> 
> Move the creation of blank certificates to pkg_postinst. And check if
> certificates exist already, don't re-create them.
> 
> Signed-off-by: Kai Kang <kai.kang at windriver.com>
> ---
>  meta/recipes-support/nss/nss_3.38.bb | 32 +++++++++++++++++---------
> --
>  1 file changed, 20 insertions(+), 12 deletions(-)

This does raise a question - why aren't the generated files the same?
Is there a determinism problem here? This sounds like the image would
change with each build and couldn't be reproduced so we have a bigger
problem?

Cheers,

Richard



More information about the Openembedded-core mailing list