From: "André Draszik" <git@andred.net>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-java][PATCH 1/5] layer.conf: stop OpenJDK-8(native) build dependencies from being installed
Date: Mon, 20 Aug 2018 16:30:26 +0100 [thread overview]
Message-ID: <20180820153030.10211-1-git@andred.net> (raw)
From: André Draszik <andre.draszik@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@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) \
+"
--
2.18.0
next reply other threads:[~2018-08-20 15:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 15:30 André Draszik [this message]
2018-08-20 15:30 ` [meta-java][PATCH 2/5] openjdk-8: fix malformed patches André Draszik
2018-08-20 15:30 ` [meta-java][PATCH 3/5] openjdk-8: always apply some patches André Draszik
2018-08-20 15:30 ` [meta-java][PATCH 4/5] openjdk-8: allow to build client JVM via PACKAGECONFIG André Draszik
2018-08-20 15:30 ` [meta-java][PATCH 5/5] openjdk-8: add aarch32 port 8u172b11 André Draszik
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180820153030.10211-1-git@andred.net \
--to=git@andred.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox