aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-08-20 16:32:30 +0100
committerRichard Leitner <richard.leitner@skidata.com>2018-08-21 08:14:04 +0200
commitc20f86c7737f336bebb1800091712765f038d77e (patch)
treefdd9e750ff6739ea958c4a03a2ead72fb4a58619
parentf02b0aaed8c154a1cfe3de52a3194695c7cd6274 (diff)
downloadmeta-java-c20f86c7737f336bebb1800091712765f038d77e.tar.gz
meta-java-c20f86c7737f336bebb1800091712765f038d77e.tar.bz2
meta-java-c20f86c7737f336bebb1800091712765f038d77e.zip
layer.conf: stop OpenJDK-8(native) build dependencies from being installed
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> Signed-off-by: Richard Leitner <dev@g0hl1n.net>
-rw-r--r--conf/layer.conf4
1 files changed, 4 insertions, 0 deletions
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) \
+"