diff options
author | Andrew McDermott <andrew.mcdermott@linaro.org> | 2013-10-24 12:16:34 +0100 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2013-10-24 11:40:45 +0000 |
commit | d9d15ac240153df1b55ec7a64db6ef6ce6c35d35 (patch) | |
tree | 454b3e2ecbfb11a9ed78e12cc3bf464c99f58e70 | |
parent | 1c66debc4f78119de3f0047dbd7f2d88075061bf (diff) |
meta-linaro: openjdk-8: make group/other perms +r in do_install
On recent OE builds the OpenJDK-8 install was broken because some files
in the installation (/usr/lib/jvm/java-8-openjdk) had permissions that
were 0600. This meant various tools like javac failed to work for
non-root users. This commit explicitly sets group and other to have
read permission.
Change-Id: Id5bca03cab6e85cd7573dccd26c6cf7392a7f018
Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
-rw-r--r-- | meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc index b50967a9..0dd36e88 100644 --- a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc +++ b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc @@ -6,7 +6,7 @@ SECTION = "libs" INHIBIT_PACKAGE_STRIP = "1" #INHIBIT_PACKAGE_DEBUG_SPLIT = "1" -INC_PR = "r15" +INC_PR = "r16" SRC_URI = " \ ${OPENJDK_URI} \ @@ -62,7 +62,7 @@ do_compile() { do_install() { install -d ${D}${libdir_jvm} cp -R ${S}/build/${BUILD_DIR}/j2sdk-image ${D}${JDK_HOME} - chmod u+rw -R ${D}${JDK_HOME} + chmod -R u+rw,go+r ${D}${JDK_HOME} } PACKAGES = " \ |