[oe] [meta-java][PATCH 0/3] ca-certificates-java: Fix usage as a native tool, do_rootfs failure

André Draszik git at andred.net
Mon Sep 17 15:10:44 UTC 2018


On Fri, 2018-09-07 at 21:10 +0300, Yevgeny Popovych wrote:
> This series fixes several issues with ca-certificates-java:
> * when used as a native tool
> * failure on do_rootfs

Can you share complete logs? I'd like to understand the do_rootfs issues you
are seeing (I don't see any).

> This doesn't fix all the issues and there is definitely a room for
> improvement.

What other issues?

> I presume that running it on the target doesn't work - at least
> ${sysconfdir} is
> not expanded in the hook.

True.

> I also think that will be best to drop create-ca-certificates-java usage
> in
> the postinst and let it be called as a hook of ca-certificates. This will
> allow
> us to remove some code and simplify both script and recipe.

You can't do that, because ca-certificates could be installed before ca-
certificates-java. In which case the hook will not be run.

> 
> It would be great if others could test their use cases;
> and clarify them - is create-ca-certificates-java really needed?.

As per above.

Cheers,
Andre'

> 
> Yevgeny Popovych (3):
>   ca-certificates-java: Fix sysconfdir for -native recipe
>   ca-certificates-java: Don't fail when called via hook on do_rootfs
>   ca-certificates-java: Distinguish between SYSROOT and D
> 
>  .../ca-certificates-java.hook.in                   | 23 +++++++++++----
> -------
>  .../ca-certificates-java_20180516.bb               | 11 ++++++++---
>  2 files changed, 19 insertions(+), 15 deletions(-)
> 
> -- 
> 2.7.4
> 




More information about the Openembedded-devel mailing list