All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java][PATCH v2 1/5] layer.conf: stop OpenJDK-8(native) build dependencies from being installed
@ 2018-08-20 15:32 André Draszik
  2018-08-20 15:32 ` [meta-java][PATCH v2 2/5] openjdk-8: fix malformed patches André Draszik
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: André Draszik @ 2018-08-20 15:32 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-08-22 13:35 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-20 15:32 [meta-java][PATCH v2 1/5] layer.conf: stop OpenJDK-8(native) build dependencies from being installed André Draszik
2018-08-20 15:32 ` [meta-java][PATCH v2 2/5] openjdk-8: fix malformed patches André Draszik
2018-08-20 15:32 ` [meta-java][PATCH v2 3/5] openjdk-8: always apply some patches André Draszik
2018-08-20 15:32 ` [meta-java][PATCH v2 4/5] openjdk-8: allow to build client JVM via PACKAGECONFIG André Draszik
2018-08-20 15:32 ` [meta-java][PATCH v2 5/5] openjdk-8: add aarch32 port 8u172b11 André Draszik
2018-08-21  6:54   ` Richard Leitner
2018-08-21  7:15     ` André Draszik
2018-08-21  7:26       ` Richard Leitner
2018-08-21  7:53         ` André Draszik
2018-08-22  9:26 ` [meta-java][PATCH v2 1/5] layer.conf: stop OpenJDK-8(native) build dependencies from being installed Richard Leitner
2018-08-22 12:04   ` André Draszik
2018-08-22 12:11     ` Richard Leitner
2018-08-22 12:57       ` André Draszik
2018-08-22 13:36         ` Richard Leitner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.