[oe] [meta-java][RFC][PATCH 6/7] openjdk-7: (R)PROVIDE virtual Java [567] packages

Richard Leitner richard.leitner at skidata.com
Thu Aug 2 10:43:18 UTC 2018


Hi André,
again: thank you and feel free to add

Acked-by: Richard Leitner <richard.leitner at skidata.com>

regards;Richard.L

On 07/27/2018 03:29 PM, André Draszik wrote:
> From: André Draszik <andre.draszik at jci.com>
> 
> Similar to OpenJDK-8, OpenJDK-7 is a provider of Java 5 through 7
> (including).
> 
> Signed-off-by: André Draszik <andre.draszik at 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"
>  
> 



More information about the Openembedded-devel mailing list