diff options
author | Bernhard Dick <bernhard@bdick.de> | 2016-06-29 15:20:40 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-06-30 12:03:31 -0300 |
commit | 8ee871a86a9999a2272d103855033da4685165d8 (patch) | |
tree | 1264848d42fcb5fe98f193ba73e2084e6d858ca4 /recipes-core/openjdk/openjdk-8-common.inc | |
parent | 1d820a778c0aa5d1d8bbff9949e77c32a08c8a7b (diff) | |
download | meta-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>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-common.inc')
-rw-r--r-- | recipes-core/openjdk/openjdk-8-common.inc | 7 |
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)}" | |||
229 | export DEBUG_BINARIES = "true" | 229 | export DEBUG_BINARIES = "true" |
230 | 230 | ||
231 | ALTERNATIVE_PRIORITY = "50" | 231 | ALTERNATIVE_PRIORITY = "50" |
232 | |||
233 | OPENJDK_UPDATE_VERSION = "${@bb.data.getVar('PV', d, 1).split('b')[0]}" | ||
234 | OPENJDK_BUILD_NUMBER = "b${@bb.data.getVar('PV', d, 1).split('b')[1]}" | ||
235 | EXTRA_OECONF_append = "\ | ||
236 | --with-build-number=${OPENJDK_BUILD_NUMBER} \ | ||
237 | --with-update-version=${OPENJDK_UPDATE_VERSION} \ | ||
238 | " | ||