As we have ALTERNATIVEs for java and javac we should also provide one for the keytool.
Signed-off-by: Richard Leitner <[email protected]> --- 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" -- 2.26.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#87001): https://lists.openembedded.org/g/openembedded-devel/message/87001 Mute This Topic: https://lists.openembedded.org/mt/76776502/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
