On Wed, Aug 16, 2017 at 5:54 AM, Jan Remmet <j.rem...@phytec.de> wrote: > if bindir directory doesn't exists the link is created wrongly: > > file -b > tmp/work/x86_64-linux/oracle-jse-jdk-x86-64-native/1.8.0-u131r0/image/home/yocto/build/tmp/sysroots/x86_64-linux/usr/bin > symbolic link to > `/home/yocto/build/tmp/sysroots/x86_64-linux/usr/lib/jvm/java-8-oracle/bin/javac' > > tested on morty > > Signed-off-by: Jan Remmet <j.rem...@phytec.de> > --- > recipes-devtools/oracle-java/oracle-jse-jdk.inc | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/recipes-devtools/oracle-java/oracle-jse-jdk.inc > b/recipes-devtools/oracle-java/oracle-jse-jdk.inc > index 935ad9bc2d9f..a5723879862b 100644 > --- a/recipes-devtools/oracle-java/oracle-jse-jdk.inc > +++ b/recipes-devtools/oracle-java/oracle-jse-jdk.inc > @@ -15,8 +15,11 @@ do_install_class-native() { > install -d -m 0755 ${D}${libdir_jvm} > cp -a ${S}/${JDK_JRE}${PV}_${PV_UPDATE} ${D}${JDK_HOME} > > + install -d -m 0755 ${D}${bindir}
I think -m 0755 is redundant here > ln -sf ${JDK_HOME}/bin/java ${D}${bindir} > ln -sf ${JDK_HOME}/bin/javac ${D}${bindir} > + > + install -d -m 0755 ${D}${JDK_HOME}/bin > ln -sf javah ${D}${JDK_HOME}/bin/gjavah > ln -sf jar ${D}${JDK_HOME}/bin/fastjar > } > -- > 1.9.1 > > -- > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto