From: Georgy Yakovlev Date: Sun, 29 Dec 2019 08:31:49 +0000 (-0800) Subject: dev-java/openjdk-bin: remove postinst warnings from :8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3eab3cbbf6c3ce609bf2cb286af237b227924e6c;p=gentoo.git dev-java/openjdk-bin: remove postinst warnings from :8 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Georgy Yakovlev --- diff --git a/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild b/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild index e856f20fbf4c..2ff06a07bf1b 100644 --- a/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild +++ b/dev-java/openjdk-bin/openjdk-bin-8.222_p10-r1.ebuild @@ -91,18 +91,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 JDK" - 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 JDK" - 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 JDK must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/opt/${P}." - fi -} diff --git a/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild b/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild index 9af9550dd34d..e1c51cc17b64 100644 --- a/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild +++ b/dev-java/openjdk-bin/openjdk-bin-8.232_p09.ebuild @@ -91,18 +91,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 JDK" - 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 JDK" - 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 JDK must therefore be invoked using its" - ewarn "absolute location under ${EPREFIX}/opt/${P}." - fi -}