[meta-java] openjdk-8-native: Don't warn for stripped libfreetype.so.6

Submitted by Jonatan Pålsson on Aug. 21, 2020, 8:03 a.m. | Patch ID: 175508

Details

Message ID 20200821080350.2936495-1-jonatan.p@gmail.com
State Master Next
Delegated to: Richard Leitner
Headers show

Commit Message

Jonatan Pålsson Aug. 21, 2020, 8:03 a.m.
Mimic the approach used in openjdk-8-cross.inc and add INSANE_SKIP for
"already-skipped" to avoid the following warning:

    WARNING: openjdk-8-native-252-r0 do_populate_sysroot: File '.. snip .. /build/tmp/work/x86_64-linux/openjdk-8-native/252-r0/recipe-sysroot-native/usr/lib/jvm/openjdk-8-native/jre/lib/amd64/libfreetype.so.6' from openjdk-8-native was already stripped, this will prevent future debugging!

Signed-off-by: Jonatan Pålsson <jonatan.p@gmail.com>
---
 recipes-core/openjdk/openjdk-8-native.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/recipes-core/openjdk/openjdk-8-native.inc b/recipes-core/openjdk/openjdk-8-native.inc
index 24b6f20..92d9473 100644
--- a/recipes-core/openjdk/openjdk-8-native.inc
+++ b/recipes-core/openjdk/openjdk-8-native.inc
@@ -88,3 +88,6 @@  do_install() {
         ln -sf "../lib/jvm/${JDK_DIR}/bin/$tool" ${D}${bindir}/$tool
     done
 }
+
+# FIXME libfreetype.so.6 is copied from STAGING_LIBDIR which is already stripped
+INSANE_SKIP_${PN} = "already-stripped"