[oe] [meta-java][PATCH v2 1/5] layer.conf: stop OpenJDK-8(native) build dependencies from being installed

Richard Leitner richard.leitner at skidata.com
Wed Aug 22 12:11:42 UTC 2018


Hi André,

On 8/22/18 2:04 PM, André Draszik wrote:
> Hi Richard,
> 
> I've noticed that I had one more uncommitted but necessary patch lying
> around to make the aarch32 port work with musl.

Thank you for noticing!

We should definitely add qemu test-images with musl. So similar issues 
pop up during my automated tests ;-)

Do you have a qemu musl setup which could be integrated in our oeqa?

> 
> Hope it's not too late for v3, but I can send a follow-up instead if you
> prefer.

It's fine. I'll do a force-push to master-next after a short test.

regards;Richard.L

> 
> Cheers,
> Andre'
> 
> On Wed, 2018-08-22 at 11:26 +0200, Richard Leitner wrote:
>> Hi,
>> this is a note to let you know that I've just added this series to the
>> master-next branch of the meta-java repository at
>> 	git://git.yoctoproject.org/meta-java
>>
>> As soon as it has gone through some more testing it will likely be
>> merged to the master branch.
>>
>> If you have any questions, please let me know.
>>
>> regards;Richard.L
>>
>> On 8/20/18 5:32 PM, André Draszik wrote:
>>> From: André Draszik <andre.draszik at jci.com>
>>>
>>> Avoid installation of all openjdk-8-native buildtime dependencies into
>>> a depending recipe's sysroot.
>>> To execute openjdk-8-native as part of a depending recipe's build, we
>>> don't need the openjdk-8-native build time dependencies (like ant-
>>> native,
>>> or more importantly icedtea-7-native), just its runtime dependencies,
>>> unless of course that depending recipe's builds needs those tools
>>> itself.
>>> In that case, it needs to specify them explicitly, though (of course!).
>>>
>>> Use SSTATE_EXCLUDEDEPS_SYSROOT to prevent openjdk-8-native build time
>>> dependencies from being copied in the sysroot unless explicitly
>>> requested.
>>>
>>> Signed-off-by: André Draszik <andre.draszik at jci.com>
>>> ---
>>>  conf/layer.conf | 4 ++++
>>>  1 file changed, 4 insertions(+)
>>>
>>> diff --git a/conf/layer.conf b/conf/layer.conf
>>> index 3b00f61..8e8a300 100644
>>> --- a/conf/layer.conf
>>> +++ b/conf/layer.conf
>>> @@ -14,3 +14,7 @@ LICENSE_PATH += "${LAYERDIR}/licenses"
>>>  SIGGEN_EXCLUDERECIPES_ABISAFE += "\
>>>      ca-certificates-java \
>>>  "
>>> +
>>> +SSTATE_EXCLUDEDEPS_SYSROOT += "\
>>> +    openjdk-8-native->(ant-native|attr-native|coreutils-
>>> native|icedtea7-native|libxslt-native|make-native|openssl-native|zip-
>>> native|unzip-native) \
>>> +"
>>>
> 



More information about the Openembedded-devel mailing list