commit:     0394bbe6f613ada646ee8b42c4f21dd52e4e8280
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat May 18 19:48:14 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat May 18 19:48:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0394bbe6

sys-kernel/linux-firmware: Add postinst message.

Suggested-by: Thomas Deutschmann <whissi <AT> gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 sys-kernel/linux-firmware/linux-firmware-20190514.ebuild | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sys-kernel/linux-firmware/linux-firmware-20190514.ebuild 
b/sys-kernel/linux-firmware/linux-firmware-20190514.ebuild
index 843a21b3532..18251ae17ae 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20190514.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20190514.ebuild
@@ -288,4 +288,15 @@ pkg_preinst() {
 pkg_postinst() {
        elog "If you are only interested in particular firmware files, edit the 
saved"
        elog "configfile and remove those that you do not want."
+
+       local ver
+       for ver in ${REPLACING_VERSIONS}; do
+               if ver_test ${ver} -lt 20190514; then
+                       elog
+                       elog 'Starting with version 20190514, installation of 
many firmware'
+                       elog 'files is controlled by USE flags. Please review 
your USE flag'
+                       elog 'and package.license settings if you are missing 
some files.'
+                       break
+               fi
+       done
 }

Reply via email to