[oe] [meta-java][PATCH] openjdk-7-jre: RDEPENDS openjdk-7-common

Magnus Olsson magnus at minimum.se
Wed Mar 11 07:47:55 UTC 2015


-jre binaries such as keytool, policytool and more requires libjli.so
so ensure there's a RDEPEND that provides it.

Same goes for openjdk-7-java (java binary FILERDEPENDS libjli.so).

Both of these already DEPENDS -common, so the build was not broken before
but this patch will also silence the QA file-rdeps issue.

Signed-off-by: Magnus Olsson <magnus at minimum.se>
---
 recipes-core/openjdk/openjdk-7-common.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/recipes-core/openjdk/openjdk-7-common.inc b/recipes-core/openjdk/openjdk-7-common.inc
index e14603c..55d010e 100644
--- a/recipes-core/openjdk/openjdk-7-common.inc
+++ b/recipes-core/openjdk/openjdk-7-common.inc
@@ -323,7 +323,8 @@ FILES_${JDKPN}-jdk = " \
                        ${JDK_HOME}/lib \
                        ${JDK_HOME}/include \
                       "
-RDEPENDS_${JDKPN}-jre = "${JDKPN}-java"
+RDEPENDS_${JDKPN}-jre = "${JDKPN}-java ${JDKPN}-common"
+RDEPENDS_${JDKPN}-java = "${JDKPN}-common"
 RPROVIDES_${JDKPN}-jre = "java2-runtime"
 
 RDEPENDS_${JDKPN}-jdk = "${JDKPN}-jre"
-- 
1.9.1




More information about the Openembedded-devel mailing list