From 2bc0ddf7d84a62d0ed9323116c4cf467f18ac816 Mon Sep 17 00:00:00 2001 From: Cristovao Cordeiro Date: Thu, 15 Jun 2023 15:26:38 +0200 Subject: [PATCH] feat: add jre8 slices for Jammy (#31) * feat: add jre8 slices for Jammy * feat: slice openjdk-8-jre-headless by functional unit * fix: add comments and split profiledebug in JRE8 * feat: replace 'gnu' with glob for multi-arch * fix: stcp -> sctp (typo) * fix: remove globs for fonts-dejavu-core The previous use of globs was dangerous as a future introduction of fonts-dejavu-extra would automatically introduce an unnecessary conflict. * feat: add libnpt for arm64 in openjdk-8-jre-headless --------- Co-authored-by: Vladimir Petko --- slices/ca-certificates-java.yaml | 13 +++ slices/fontconfig-config.yaml | 67 +++++++++++ slices/fonts-dejavu-core.yaml | 38 +++++++ slices/libblkid1.yaml | 8 ++ slices/libbrotli1.yaml | 10 ++ slices/libexpat1.yaml | 9 ++ slices/libffi8.yaml | 8 ++ slices/libfontconfig1.yaml | 12 ++ slices/libfreetype6.yaml | 11 ++ slices/libglib2.0-0.yaml | 17 +++ slices/libjpeg-turbo8.yaml | 8 ++ slices/liblcms2-2.yaml | 8 ++ slices/libmount1.yaml | 10 ++ slices/libnspr4.yaml | 10 ++ slices/libnss3.yaml | 11 ++ slices/libpcre2-8-0.yaml | 8 ++ slices/libpcre3.yaml | 9 ++ slices/libpcsclite1.yaml | 8 ++ slices/libpng16-16.yaml | 8 ++ slices/libselinux1.yaml | 9 ++ slices/libsqlite3-0.yaml | 8 ++ slices/libuuid1.yaml | 8 ++ slices/media-types.yaml | 6 + slices/openjdk-8-jre-headless.yaml | 177 +++++++++++++++++++++++++++++ 24 files changed, 481 insertions(+) create mode 100644 slices/ca-certificates-java.yaml create mode 100644 slices/fontconfig-config.yaml create mode 100644 slices/fonts-dejavu-core.yaml create mode 100644 slices/libblkid1.yaml create mode 100644 slices/libbrotli1.yaml create mode 100644 slices/libexpat1.yaml create mode 100644 slices/libffi8.yaml create mode 100644 slices/libfontconfig1.yaml create mode 100644 slices/libfreetype6.yaml create mode 100644 slices/libglib2.0-0.yaml create mode 100644 slices/libjpeg-turbo8.yaml create mode 100644 slices/liblcms2-2.yaml create mode 100644 slices/libmount1.yaml create mode 100644 slices/libnspr4.yaml create mode 100644 slices/libnss3.yaml create mode 100644 slices/libpcre2-8-0.yaml create mode 100644 slices/libpcre3.yaml create mode 100644 slices/libpcsclite1.yaml create mode 100644 slices/libpng16-16.yaml create mode 100644 slices/libselinux1.yaml create mode 100644 slices/libsqlite3-0.yaml create mode 100644 slices/libuuid1.yaml create mode 100644 slices/media-types.yaml create mode 100644 slices/openjdk-8-jre-headless.yaml diff --git a/slices/ca-certificates-java.yaml b/slices/ca-certificates-java.yaml new file mode 100644 index 000000000..2480f8d5b --- /dev/null +++ b/slices/ca-certificates-java.yaml @@ -0,0 +1,13 @@ +package: ca-certificates-java + +slices: + data: + essential: + - ca-certificates_data + - libnss3_libs + contents: + /etc/default/cacerts: + /etc/ssl/certs/java/: + + # we need to run `keytool` in postinst, but we can't yet do + # this from a mutation script diff --git a/slices/fontconfig-config.yaml b/slices/fontconfig-config.yaml new file mode 100644 index 000000000..28143102c --- /dev/null +++ b/slices/fontconfig-config.yaml @@ -0,0 +1,67 @@ +package: fontconfig-config + +slices: + config: + essential: + - fonts-dejavu-core_config + - fonts-dejavu-core_fonts + contents: + /etc/fonts/conf.avail/10-antialias.conf: + /etc/fonts/conf.avail/10-autohint.conf: + /etc/fonts/conf.avail/10-hinting-full.conf: + /etc/fonts/conf.avail/10-hinting-medium.conf: + /etc/fonts/conf.avail/10-hinting-none.conf: + /etc/fonts/conf.avail/10-hinting-slight.conf: + /etc/fonts/conf.avail/10-no-sub-pixel.conf: + /etc/fonts/conf.avail/10-scale-bitmap-fonts.conf: + /etc/fonts/conf.avail/10-sub-pixel-bgr.conf: + /etc/fonts/conf.avail/10-sub-pixel-rgb.conf: + /etc/fonts/conf.avail/10-sub-pixel-vbgr.conf: + /etc/fonts/conf.avail/10-sub-pixel-vrgb.conf: + /etc/fonts/conf.avail/10-unhinted.conf: + /etc/fonts/conf.avail/11-lcdfilter-default.conf: + /etc/fonts/conf.avail/11-lcdfilter-legacy.conf: + /etc/fonts/conf.avail/11-lcdfilter-light.conf: + /etc/fonts/conf.avail/20-unhint-small-vera.conf: + /etc/fonts/conf.avail/25-unhint-nonlatin.conf: + /etc/fonts/conf.avail/30-metric-aliases.conf: + /etc/fonts/conf.avail/40-nonlatin.conf: + /etc/fonts/conf.avail/45-generic.conf: + /etc/fonts/conf.avail/45-latin.conf: + /etc/fonts/conf.avail/49-sansserif.conf: + /etc/fonts/conf.avail/50-user.conf: + /etc/fonts/conf.avail/51-local.conf: + /etc/fonts/conf.avail/53-monospace-lcd-filter.conf: + /etc/fonts/conf.avail/60-generic.conf: + /etc/fonts/conf.avail/60-latin.conf: + /etc/fonts/conf.avail/65-fonts-persian.conf: + /etc/fonts/conf.avail/65-khmer.conf: + /etc/fonts/conf.avail/65-nonlatin.conf: + /etc/fonts/conf.avail/69-unifont.conf: + /etc/fonts/conf.avail/70-force-bitmaps.conf: + /etc/fonts/conf.avail/70-no-bitmaps.conf: + /etc/fonts/conf.avail/70-yes-bitmaps.conf: + /etc/fonts/conf.avail/80-delicious.conf: + /etc/fonts/conf.avail/90-synthetic.conf: + /etc/fonts/conf.d/10-antialias.conf: + /etc/fonts/conf.d/10-hinting-slight.conf: + /etc/fonts/conf.d/10-scale-bitmap-fonts.conf: + /etc/fonts/conf.d/11-lcdfilter-default.conf: + /etc/fonts/conf.d/20-unhint-small-vera.conf: + /etc/fonts/conf.d/30-metric-aliases.conf: + /etc/fonts/conf.d/40-nonlatin.conf: + /etc/fonts/conf.d/45-generic.conf: + /etc/fonts/conf.d/45-latin.conf: + /etc/fonts/conf.d/49-sansserif.conf: + /etc/fonts/conf.d/50-user.conf: + /etc/fonts/conf.d/51-local.conf: + /etc/fonts/conf.d/60-generic.conf: + /etc/fonts/conf.d/60-latin.conf: + /etc/fonts/conf.d/65-fonts-persian.conf: + /etc/fonts/conf.d/65-nonlatin.conf: + /etc/fonts/conf.d/69-unifont.conf: + /etc/fonts/conf.d/70-no-bitmaps.conf: + /etc/fonts/conf.d/80-delicious.conf: + /etc/fonts/conf.d/90-synthetic.conf: + /etc/fonts/fonts.conf: + /usr/share/xml/fontconfig/fonts.dtd: diff --git a/slices/fonts-dejavu-core.yaml b/slices/fonts-dejavu-core.yaml new file mode 100644 index 000000000..7a2e5d2bf --- /dev/null +++ b/slices/fonts-dejavu-core.yaml @@ -0,0 +1,38 @@ +package: fonts-dejavu-core + +slices: + fonts: + contents: + /usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: + /usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: + /usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf: + /usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: + /usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf: + /usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf: + + config: + contents: + /etc/fonts/conf.avail/20-unhint-small-dejavu-lgc-sans-mono.conf: + /etc/fonts/conf.avail/20-unhint-small-dejavu-lgc-sans.conf: + /etc/fonts/conf.avail/20-unhint-small-dejavu-lgc-serif.conf: + /etc/fonts/conf.avail/20-unhint-small-dejavu-sans-mono.conf: + /etc/fonts/conf.avail/20-unhint-small-dejavu-sans.conf: + /etc/fonts/conf.avail/20-unhint-small-dejavu-serif.conf: + /etc/fonts/conf.avail/57-dejavu-sans-mono.conf: + /etc/fonts/conf.avail/57-dejavu-sans.conf: + /etc/fonts/conf.avail/57-dejavu-serif.conf: + /etc/fonts/conf.avail/58-dejavu-lgc-sans-mono.conf: + /etc/fonts/conf.avail/58-dejavu-lgc-sans.conf: + /etc/fonts/conf.avail/58-dejavu-lgc-serif.conf: + /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans-mono.conf: + /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-sans.conf: + /etc/fonts/conf.d/20-unhint-small-dejavu-lgc-serif.conf: + /etc/fonts/conf.d/20-unhint-small-dejavu-sans-mono.conf: + /etc/fonts/conf.d/20-unhint-small-dejavu-sans.conf: + /etc/fonts/conf.d/20-unhint-small-dejavu-serif.conf: + /etc/fonts/conf.d/57-dejavu-sans-mono.conf: + /etc/fonts/conf.d/57-dejavu-sans.conf: + /etc/fonts/conf.d/57-dejavu-serif.conf: + /etc/fonts/conf.d/58-dejavu-lgc-sans-mono.conf: + /etc/fonts/conf.d/58-dejavu-lgc-sans.conf: + /etc/fonts/conf.d/58-dejavu-lgc-serif.conf: diff --git a/slices/libblkid1.yaml b/slices/libblkid1.yaml new file mode 100644 index 000000000..a24f2619b --- /dev/null +++ b/slices/libblkid1.yaml @@ -0,0 +1,8 @@ +package: libblkid1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libblkid.so.1*: diff --git a/slices/libbrotli1.yaml b/slices/libbrotli1.yaml new file mode 100644 index 000000000..e92fb3dc2 --- /dev/null +++ b/slices/libbrotli1.yaml @@ -0,0 +1,10 @@ +package: libbrotli1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libbrotlicommon.so.1*: + /usr/lib/*-linux-*/libbrotlidec.so.1*: + /usr/lib/*-linux-*/libbrotlienc.so.1*: diff --git a/slices/libexpat1.yaml b/slices/libexpat1.yaml new file mode 100644 index 000000000..74a00c2c2 --- /dev/null +++ b/slices/libexpat1.yaml @@ -0,0 +1,9 @@ +package: libexpat1 + +slices: + libs: + essential: + - libc6_libs + contents: + /lib/*-linux-*/libexpat.so.1*: + /usr/lib/*-linux-*/libexpatw.so.1*: diff --git a/slices/libffi8.yaml b/slices/libffi8.yaml new file mode 100644 index 000000000..1a9234289 --- /dev/null +++ b/slices/libffi8.yaml @@ -0,0 +1,8 @@ +package: libffi8 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libffi.so.8*: diff --git a/slices/libfontconfig1.yaml b/slices/libfontconfig1.yaml new file mode 100644 index 000000000..dde3a206a --- /dev/null +++ b/slices/libfontconfig1.yaml @@ -0,0 +1,12 @@ +package: libfontconfig1 + +slices: + libs: + essential: + - libc6_libs + - libexpat1_libs + - libfreetype6_libs + - libuuid1_libs + - fontconfig-config_config + contents: + /usr/lib/*-linux-*/libfontconfig.so.1*: diff --git a/slices/libfreetype6.yaml b/slices/libfreetype6.yaml new file mode 100644 index 000000000..bbe0d3ac0 --- /dev/null +++ b/slices/libfreetype6.yaml @@ -0,0 +1,11 @@ +package: libfreetype6 + +slices: + libs: + essential: + - libc6_libs + - zlib1g_libs + - libbrotli1_libs + - libpng16-16_libs + contents: + /usr/lib/*-linux-*/libfreetype.so.6*: diff --git a/slices/libglib2.0-0.yaml b/slices/libglib2.0-0.yaml new file mode 100644 index 000000000..449810b49 --- /dev/null +++ b/slices/libglib2.0-0.yaml @@ -0,0 +1,17 @@ +package: libglib2.0-0 + +slices: + libs: + essential: + - libc6_libs + - libffi8_libs + - libmount1_libs + - libpcre3_libs + - libselinux1_libs + - zlib1g_libs + contents: + /usr/lib/*-linux-*/libgio-2.0.so.0*: + /usr/lib/*-linux-*/libglib-2.0.so.0*: + /usr/lib/*-linux-*/libgmodule-2.0.so.0*: + /usr/lib/*-linux-*/libgobject-2.0.so.0*: + /usr/lib/*-linux-*/libgthread-2.0.so.0*: diff --git a/slices/libjpeg-turbo8.yaml b/slices/libjpeg-turbo8.yaml new file mode 100644 index 000000000..fbc38cde3 --- /dev/null +++ b/slices/libjpeg-turbo8.yaml @@ -0,0 +1,8 @@ +package: libjpeg-turbo8 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libjpeg.so.8*: diff --git a/slices/liblcms2-2.yaml b/slices/liblcms2-2.yaml new file mode 100644 index 000000000..09f1f1922 --- /dev/null +++ b/slices/liblcms2-2.yaml @@ -0,0 +1,8 @@ +package: liblcms2-2 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/liblcms2.so.2*: diff --git a/slices/libmount1.yaml b/slices/libmount1.yaml new file mode 100644 index 000000000..596c45a73 --- /dev/null +++ b/slices/libmount1.yaml @@ -0,0 +1,10 @@ +package: libmount1 + +slices: + libs: + essential: + - libc6_libs + - libselinux1_libs + - libblkid1_libs + contents: + /usr/lib/*-linux-*/libmount.so.1*: diff --git a/slices/libnspr4.yaml b/slices/libnspr4.yaml new file mode 100644 index 000000000..d8ed5afa6 --- /dev/null +++ b/slices/libnspr4.yaml @@ -0,0 +1,10 @@ +package: libnspr4 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libnspr4.so: + /usr/lib/*-linux-*/libplc4.so: + /usr/lib/*-linux-*/libplds4.so: diff --git a/slices/libnss3.yaml b/slices/libnss3.yaml new file mode 100644 index 000000000..f038b2c1e --- /dev/null +++ b/slices/libnss3.yaml @@ -0,0 +1,11 @@ +package: libnss3 + +slices: + libs: + essential: + - libc6_libs + - libnspr4_libs + - libsqlite3-0_libs + contents: + /usr/lib/*-linux-*/libnssutil3.so: + /usr/lib/*-linux-*/libnss3.so: diff --git a/slices/libpcre2-8-0.yaml b/slices/libpcre2-8-0.yaml new file mode 100644 index 000000000..480f022b6 --- /dev/null +++ b/slices/libpcre2-8-0.yaml @@ -0,0 +1,8 @@ +package: libpcre2-8-0 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libpcre2-8.so.0*: diff --git a/slices/libpcre3.yaml b/slices/libpcre3.yaml new file mode 100644 index 000000000..0920e542f --- /dev/null +++ b/slices/libpcre3.yaml @@ -0,0 +1,9 @@ +package: libpcre3 + +slices: + libs: + essential: + - libc6_libs + contents: + /lib/*-linux-*/libpcre.so.3*: + /usr/lib/*-linux-*/libpcreposix.so.3*: diff --git a/slices/libpcsclite1.yaml b/slices/libpcsclite1.yaml new file mode 100644 index 000000000..21a4237e9 --- /dev/null +++ b/slices/libpcsclite1.yaml @@ -0,0 +1,8 @@ +package: libpcsclite1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libpcsclite.so.1*: diff --git a/slices/libpng16-16.yaml b/slices/libpng16-16.yaml new file mode 100644 index 000000000..1bf61e950 --- /dev/null +++ b/slices/libpng16-16.yaml @@ -0,0 +1,8 @@ +package: libpng16-16 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libpng16.so.16*: diff --git a/slices/libselinux1.yaml b/slices/libselinux1.yaml new file mode 100644 index 000000000..ce82bb19e --- /dev/null +++ b/slices/libselinux1.yaml @@ -0,0 +1,9 @@ +package: libselinux1 + +slices: + libs: + essential: + - libc6_libs + - libpcre2-8-0_libs + contents: + /lib/*-linux-*/libselinux.so.1: diff --git a/slices/libsqlite3-0.yaml b/slices/libsqlite3-0.yaml new file mode 100644 index 000000000..45319c61a --- /dev/null +++ b/slices/libsqlite3-0.yaml @@ -0,0 +1,8 @@ +package: libsqlite3-0 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libsqlite3.so.0*: diff --git a/slices/libuuid1.yaml b/slices/libuuid1.yaml new file mode 100644 index 000000000..5fa35e4c2 --- /dev/null +++ b/slices/libuuid1.yaml @@ -0,0 +1,8 @@ +package: libuuid1 + +slices: + libs: + essential: + - libc6_libs + contents: + /usr/lib/*-linux-*/libuuid.so.1*: diff --git a/slices/media-types.yaml b/slices/media-types.yaml new file mode 100644 index 000000000..9fca2ce22 --- /dev/null +++ b/slices/media-types.yaml @@ -0,0 +1,6 @@ +package: media-types + +slices: + data: + contents: + /etc/mime.types: diff --git a/slices/openjdk-8-jre-headless.yaml b/slices/openjdk-8-jre-headless.yaml new file mode 100644 index 000000000..da856aaad --- /dev/null +++ b/slices/openjdk-8-jre-headless.yaml @@ -0,0 +1,177 @@ +package: openjdk-8-jre-headless + +slices: + # The "core" slice provides a minimal, yet functional JRE8. + core: + essential: + - libc6_libs + - libgcc-s1_libs + - libstdc++6_libs + - zlib1g_libs + contents: + /etc/java-8-openjdk/calendars.properties: + /etc/java-8-openjdk/content-types.properties: + /etc/java-8-openjdk/logging.properties: + /etc/java-8-openjdk/net.properties: + # This security path is also in "core" as it describes permissions for + # various classes and how they can interact with the system. + /etc/java-8-openjdk/security/java.policy: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/java.policy: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/meta-index: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/resources.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/rt.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/jli/libjli.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjava.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libnet.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libnio.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libverify.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libzip.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjsig.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/server/libjsig.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/server/libjvm.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/hijrah-config-umalqura.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/calendars.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/content-types.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/logging.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/net.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/jvm.cfg-default: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/currency.data: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/tzdb.dat: + /usr/lib/jvm/java-8-openjdk-*/jre/bin/java: + + locale: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/cldrdata.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/localedata.jar: + + security: + essential: + - libpcsclite1_libs + - ca-certificates-java_data + - openjdk-8-jre-headless_core + contents: + /etc/java-8-openjdk/security/java.security: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/java.security: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/blacklisted.certs: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/cacerts: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/limited/US_export_policy.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/limited/local_policy.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/unlimited/US_export_policy.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/security/policy/unlimited/local_policy.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libj2gss.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libj2pcsc.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libj2pkcs11.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjaas_unix.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libsunec.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/sunec.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/sunjce_provider.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/sunpkcs11.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/jce.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/jsse.jar: + /etc/java-8-openjdk/security/blacklisted.certs: + + # Abstract Window Toolkit. + # Classes and components for creating GUI elements (windows, graphics, etc.). + awt: + essential: + - openjdk-8-jre-headless_core + - liblcms2-2_libs + - libfontconfig1_libs + - libfreetype6_libs + - libjpeg-turbo8_libs + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libawt.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libawt_headless.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libfontmanager.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjavajpeg.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjavalcms.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libmlib_image.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/charsets.jar: + /etc/java-8-openjdk/flavormap.properties: + /etc/java-8-openjdk/images/cursors/cursors.properties: + /etc/java-8-openjdk/swing.properties: + /etc/java-8-openjdk/psfont.properties.ja: + /etc/java-8-openjdk/psfontj2d.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/images/cursors/cursors.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/flavormap.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/swing.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/psfontj2d.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/psfont.properties.ja: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/CIEXYZ.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/GRAY.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/LINEAR_RGB.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/PYCC.pf: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/cmm/sRGB.pf: + + # Enabled management and monitoring capabilities for Java apps. + management: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/management-agent.jar: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libmanagement.so: + /etc/java-8-openjdk/management/management.properties: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/management/management.properties: + + # Java Flight Recorder - API for collecting diagnostic and profilling data. + jfr: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/jfr.jar: + + # Shared libraries for supporting heap profilling. + hprof: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libnpt.so: { arch: amd64 } + /usr/lib/jvm/java-8-openjdk-arm64/jre/lib/aarch64/libnpt.so: { arch: arm64 } + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libhprof.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjava_crw_demo.so: + + # Shared libraries for supporting debugging capabilities. + debug: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libnpt.so: { arch: amd64 } + /usr/lib/jvm/java-8-openjdk-arm64/jre/lib/aarch64/libnpt.so: { arch: arm64 } + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libjdwp.so: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libdt_socket.so: + + tools: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/bin/keytool: + /usr/lib/jvm/java-8-openjdk-*/bin/keytool: + + # Java Programming Language Instrumentation Services interface. + jplis: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libinstrument.so: + + # Allow querying of DNS records through JNDI. + jndidns: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/dnsns.jar: + + zipfs: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/ext/zipfs.jar: + + # No internal usages in JRE8, but part of the com.sun.nio.sctp private API. + sctp: + essential: + - openjdk-8-jre-headless_core + contents: + /usr/lib/jvm/java-8-openjdk-*/jre/lib/*/libsctp.so: