summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Dick <bernhard@bdick.de>2016-06-29 15:20:40 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2016-06-30 12:03:31 -0300
commit8ee871a86a9999a2272d103855033da4685165d8 (patch)
tree1264848d42fcb5fe98f193ba73e2084e6d858ca4
parent1d820a778c0aa5d1d8bbff9949e77c32a08c8a7b (diff)
downloadmeta-java-8ee871a86a9999a2272d103855033da4685165d8.tar.gz
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 <bernhard@bdick.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-core/openjdk/openjdk-8-common.inc7
1 files changed, 7 insertions, 0 deletions
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)}"
229export DEBUG_BINARIES = "true" 229export DEBUG_BINARIES = "true"
230 230
231ALTERNATIVE_PRIORITY = "50" 231ALTERNATIVE_PRIORITY = "50"
232
233OPENJDK_UPDATE_VERSION = "${@bb.data.getVar('PV', d, 1).split('b')[0]}"
234OPENJDK_BUILD_NUMBER = "b${@bb.data.getVar('PV', d, 1).split('b')[1]}"
235EXTRA_OECONF_append = "\
236 --with-build-number=${OPENJDK_BUILD_NUMBER} \
237 --with-update-version=${OPENJDK_UPDATE_VERSION} \
238"