From: "André Draszik" <git@andred.net>
To: openembedded-devel@lists.openembedded.org
Subject: [meta-java][RFC][PATCH 6/7] openjdk-7: (R)PROVIDE virtual Java [567] packages
Date: Fri, 27 Jul 2018 14:29:22 +0100 [thread overview]
Message-ID: <20180727132923.15149-6-git@andred.net> (raw)
In-Reply-To: <20180727132923.15149-1-git@andred.net>
From: André Draszik <andre.draszik@jci.com>
Similar to OpenJDK-8, OpenJDK-7 is a provider of Java 5 through 7
(including).
Signed-off-by: André Draszik <andre.draszik@jci.com>
---
recipes-core/openjdk/openjdk-7-common.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc
index 1ac3154..85a34da 100644
--- a/recipes-core/openjdk/openjdk-7-common.inc
+++ b/recipes-core/openjdk/openjdk-7-common.inc
@@ -22,6 +22,7 @@ JDK_DIR = "java-7-openjdk"
PN = "${JDKPN}-jre"
PROVIDES += "${JDKPN}"
+PROVIDES += "${@' '.join('virtual/java'+str(x)+'-sdk virtual/java'+str(x)+'-runtime' for x in range(5,8))}"
DEPENDS = " \
icedtea7-native zip-native ant-native \
@@ -283,6 +284,7 @@ FILES_${JDKPN}-jdk = " \
RDEPENDS_${JDKPN}-jre = "${JDKPN}-java ${JDKPN}-common"
RDEPENDS_${JDKPN}-java = "${JDKPN}-common"
RPROVIDES_${JDKPN}-jre = "java2-runtime"
+RPROVIDES_${JDKPN}-jre += "${@' '.join('virtual-java'+str(x)+'-runtime' for x in range(5,8))}"
RDEPENDS_${JDKPN}-jdk = "${JDKPN}-jre"
--
2.18.0
next prev parent reply other threads:[~2018-07-27 13:29 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-27 13:29 [meta-java][RFC][PATCH 1/7] openjdk-8-native: add meaningful (R)PROVIDES André Draszik
2018-07-27 13:29 ` [meta-java][RFC][PATCH 2/7] layer.conf: allow multiple Java SDKs & runtimes to co-exist André Draszik
2018-08-02 10:40 ` Richard Leitner
2018-07-27 13:29 ` [meta-java][RFC][PATCH 3/7] openjdk-8: add meaningful (R)PROVIDES André Draszik
2018-08-02 10:42 ` Richard Leitner
2018-07-27 13:29 ` [meta-java][RFC][PATCH 4/7] openjre-8: " André Draszik
2018-08-02 10:42 ` Richard Leitner
2018-07-27 13:29 ` [meta-java][RFC][PATCH 5/7] layer.conf: set defaults for Java JRE (R)PROVIDERS André Draszik
2018-08-02 10:49 ` Richard Leitner
2018-08-09 7:53 ` André Draszik
2018-07-27 13:29 ` André Draszik [this message]
2018-08-02 10:43 ` [meta-java][RFC][PATCH 6/7] openjdk-7: (R)PROVIDE virtual Java [567] packages Richard Leitner
2018-07-27 13:29 ` [meta-java][RFC][PATCH 7/7] ca-certificates-java: switch to more generic / more correct JAVA (R)DEPENDS André Draszik
2018-08-02 10:44 ` Richard Leitner
2019-02-07 3:01 ` Kyle Russell
2018-08-02 10:38 ` [meta-java][RFC][PATCH 1/7] openjdk-8-native: add meaningful (R)PROVIDES Richard Leitner
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=20180727132923.15149-6-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