From 8ee871a86a9999a2272d103855033da4685165d8 Mon Sep 17 00:00:00 2001 From: Bernhard Dick Date: Wed, 29 Jun 2016 15:20:40 +0200 Subject: openjdk-8: Add update version and build number to the java binaries The OpenJDK builds did not include the update version and build number leading to problems when applications check for the minimum needed version. This commit fixes it by adding the update version and build number to the configure parameters. Signed-off-by: Bernhard Dick Signed-off-by: Otavio Salvador --- recipes-core/openjdk/openjdk-8-common.inc | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'recipes-core/openjdk') diff --git a/recipes-core/openjdk/openjdk-8-common.inc b/recipes-core/openjdk/openjdk-8-common.inc index 3206ec4..70bd40c 100644 --- a/recipes-core/openjdk/openjdk-8-common.inc +++ b/recipes-core/openjdk/openjdk-8-common.inc @@ -229,3 +229,10 @@ JDK_ARCH = "${@get_jdk_arch(d)}" export DEBUG_BINARIES = "true" ALTERNATIVE_PRIORITY = "50" + +OPENJDK_UPDATE_VERSION = "${@bb.data.getVar('PV', d, 1).split('b')[0]}" +OPENJDK_BUILD_NUMBER = "b${@bb.data.getVar('PV', d, 1).split('b')[1]}" +EXTRA_OECONF_append = "\ + --with-build-number=${OPENJDK_BUILD_NUMBER} \ + --with-update-version=${OPENJDK_UPDATE_VERSION} \ +" -- cgit v1.2.3-54-g00ecf