[meta-oracle-java][PATCH V2 2/2] Fix do_populate_sysroot: sstate found an absolute path symlink


Vincent Prince
 

Signed-off-by: Vincent Prince <vincent.prince.fr@...>
---
recipes-devtools/oracle-java/oracle-jse-jdk.inc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
index a7210d9..84772e6 100644
--- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc
+++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc
@@ -16,8 +16,8 @@ do_install_class-native() {
cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME}

install -d ${D}${bindir}
- ln -sf ${JDK_HOME}/bin/java ${D}${bindir}
- ln -sf ${JDK_HOME}/bin/javac ${D}${bindir}
+ ln -sf ../lib/jvm/${JDK_DIR}/bin/java ${D}${bindir}
+ ln -sf ../lib/jvm/${JDK_DIR}/bin/javac ${D}${bindir}

install -d ${D}${JDK_HOME}/bin
ln -sf javah ${D}${JDK_HOME}/bin/gjavah
--
2.7.4

Join yocto@lists.yoctoproject.org to automatically receive all group messages.