[OE-core] RSS difficulties

Phil Blundell pb at pbcl.net
Mon Feb 6 16:55:23 UTC 2017


On Mon, 2017-02-06 at 14:44 +0000, Phil Blundell wrote:
> But sadly the contents of libecj-bootstrap-native doesn't actually
> show up in gnujaf-native's recipe-sysroot-native.

A bit of further sleuthing reveals that although this problem only
started with rss the blame lies somewhere else.  It transpires that
meta-java's java-library.bbclass contains the somewhat epically
unhelpful (in this context) fragment:

# Java "source" distributions often contain precompiled things
# we want to delete first.
do_removebinaries() {
  find ${WORKDIR} -name "*.jar" -exec rm {} \;
  find ${WORKDIR} -name "*.class" -exec rm {} \;
}

addtask removebinaries after do_unpack before do_patch

And, since recipe-sysroot-native is inside ${WORKDIR}, this blows away
everything that rss carefully placed there.  Doh.

p.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170206/8637be30/attachment-0002.html>


More information about the Openembedded-core mailing list