As we have ALTERNATIVEs for java and javac we should also provide one
for the keytool.

Signed-off-by: Richard Leitner <richard.leit...@skidata.com>
---
 recipes-core/openjdk/openjdk-8_265.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/recipes-core/openjdk/openjdk-8_265.bb 
b/recipes-core/openjdk/openjdk-8_265.bb
index bc6ce51..f9049e5 100644
--- a/recipes-core/openjdk/openjdk-8_265.bb
+++ b/recipes-core/openjdk/openjdk-8_265.bb
@@ -53,9 +53,12 @@ inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"
 
-ALTERNATIVE_${PN} = "java javac"
+ALTERNATIVE_${PN} = "java javac keytool"
 ALTERNATIVE_LINK_NAME[java] = "${bindir}/java"
 ALTERNATIVE_TARGET[java] = "${JDK_HOME}/bin/java"
 
 ALTERNATIVE_LINK_NAME[javac] = "${bindir}/javac"
 ALTERNATIVE_TARGET[javac] = "${JDK_HOME}/bin/javac"
+
+ALTERNATIVE_LINK_NAME[keytool] = "${bindir}/keytool"
+ALTERNATIVE_TARGET[keytool] = "${JDK_HOME}/bin/keytool"
-- 
2.26.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#87000): 
https://lists.openembedded.org/g/openembedded-devel/message/87000
Mute This Topic: https://lists.openembedded.org/mt/76776500/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to