From 37ca7f11ddbe21779be8f7d0ec099de0832d036c Mon Sep 17 00:00:00 2001 From: Andrew McDermott Date: Thu, 3 Apr 2014 16:34:26 +0100 Subject: openjdk8: remove non-aarch64 binaries from openjdk8-jtreg package The upstream Mercurial repo has various incompatible binaries checked in. Remove these otherwise bitbake complains about mismatched architecture, et al. Change-Id: Ie0bfd64b3d6aa217c92038b23d3a4faa2c6d0b23 Signed-off-by: Andrew McDermott --- meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'meta-aarch64') diff --git a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc index a3ea3e07..a3aef743 100644 --- a/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc +++ b/meta-aarch64/recipes-core/openjdk/openjdk-8-common.inc @@ -73,9 +73,10 @@ do_install() { # The upstream Mercurial repo has various incompatible binaries checked in. # Remove these otherwise bitbake complains about mismatched architecture, et al. find ${D}${JDK_HOME}/jtreg -name \*.so -print | xargs rm - rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-sparc/launcher - rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-i586/launcher rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/linux-i586/launcher + rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/linux-amd64/launcher + rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-sparcv9/launcher + rm ${D}${JDK_HOME}/jtreg/jdk/test/sun/management/jmxremote/bootstrap/solaris-amd64/launcher chmod -R u+rw,go+r ${D}${JDK_HOME} } -- cgit v1.2.3