From 816d8ec079741ece4bce6a9ca60a058e0993d4b7 Mon Sep 17 00:00:00 2001 From: Jacob Kroon Date: Mon, 20 Sep 2021 22:41:22 +0200 Subject: openjdk7: Use bb.parse.vars_from_file() bb.parse.BBHandler.vars_from_file() was removed in: https://git.openembedded.org/bitbake/commit/?id=aaa5292ef96ea27f505bc5c5a4b1eb4f497ed061 Signed-off-by: Jacob Kroon Signed-off-by: Richard Leitner --- recipes-core/openjdk/openjdk-7-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc index 61b62b9..0435233 100644 --- a/recipes-core/openjdk/openjdk-7-common.inc +++ b/recipes-core/openjdk/openjdk-7-common.inc @@ -4,7 +4,7 @@ LICENSE = "GPL-2.0-with-classpath-exception" PRIORITY = "optional" SECTION = "libs" -ICEDTEA_VERSION = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1].split("-")[1] or '1.0'}" +ICEDTEA_VERSION = "${@bb.parse.vars_from_file(d.getVar('FILE', False),d)[1].split("-")[1] or '1.0'}" S = "${WORKDIR}/${ICEDTEA}" -- cgit v1.2.3-54-g00ecf