Skip to content

Commit

Permalink
dev-java/openjdk-jre-bin: remove postinst warnings from :8
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed Dec 29, 2019
1 parent 50dff7e commit f10b6fa
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 30 deletions.
15 changes: 0 additions & 15 deletions dev-java/openjdk-jre-bin/openjdk-jre-bin-8.222_p10.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,3 @@ src_install() {
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}

pkg_postinst() {
java-vm-2_pkg_postinst

if use gentoo-vm ; then
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JRE"
ewarn "recognised by the system. This will almost certainly break things."
else
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JRE"
ewarn "will not be recognised by the system. For example, simply calling"
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
ewarn "fully supports OpenJDK 8. This JRE must therefore be invoked using its"
ewarn "absolute location under ${EPREFIX}/opt/${P}."
fi
}
15 changes: 0 additions & 15 deletions dev-java/openjdk-jre-bin/openjdk-jre-bin-8.232_p09.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,3 @@ src_install() {
java-vm_revdep-mask
java-vm_sandbox-predict /dev/random /proc/self/coredump_filter
}

pkg_postinst() {
java-vm-2_pkg_postinst

if use gentoo-vm ; then
ewarn "WARNING! You have enabled the gentoo-vm USE flag, making this JRE"
ewarn "recognised by the system. This will almost certainly break things."
else
ewarn "The experimental gentoo-vm USE flag has not been enabled so this JRE"
ewarn "will not be recognised by the system. For example, simply calling"
ewarn "\"java\" will launch a different JVM. This is necessary until Gentoo"
ewarn "fully supports OpenJDK 8. This JRE must therefore be invoked using its"
ewarn "absolute location under ${EPREFIX}/opt/${P}."
fi
}

0 comments on commit f10b6fa

Please sign in to comment.