From dbd9b1f65000d02e2e3eea520f8a1e709468aadc Mon Sep 17 00:00:00 2001 From: Richard Leitner Date: Wed, 9 Sep 2020 14:56:45 +0200 Subject: openjre-8: add ALTERNATIVE for "keytool" As we have ALTERNATIVEs for java and javac we should also provide one for the keytool. Signed-off-by: Richard Leitner --- recipes-core/openjdk/openjre-8_265.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/recipes-core/openjdk/openjre-8_265.bb b/recipes-core/openjdk/openjre-8_265.bb index ce6392a..55ca1ec 100644 --- a/recipes-core/openjdk/openjre-8_265.bb +++ b/recipes-core/openjdk/openjre-8_265.bb @@ -38,7 +38,11 @@ RPROVIDES_${PN} = "java2-runtime" inherit update-alternatives -ALTERNATIVE_${PN} = "java" +ALTERNATIVE_PRIORITY = "100" + +ALTERNATIVE_${PN} = "java keytool" ALTERNATIVE_LINK_NAME[java] = "${bindir}/java" ALTERNATIVE_TARGET[java] = "${JRE_HOME}/bin/java" -ALTERNATIVE_PRIORITY[java] = "100" + +ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool" +ALTERNATIVE_TARGET[keytool] = "${JRE_HOME}/bin/keytool" -- cgit v1.2.3-54-g00ecf