mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
sys-kernel/linux-firmware: Port to ver_replacing
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit dist-kernel-utils linux-info mount-boot python-any-r1 savedconfig
|
||||
inherit dist-kernel-utils eapi9-ver linux-info mount-boot python-any-r1 savedconfig
|
||||
|
||||
# In case this is a real snapshot, fill in commit below.
|
||||
# For normal, tagged releases, leave blank
|
||||
@@ -374,16 +374,12 @@ 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
|
||||
if ver_replacing -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.'
|
||||
fi
|
||||
|
||||
if use initramfs; then
|
||||
if use dist-kernel; then
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
inherit dist-kernel-utils linux-info mount-boot python-any-r1 savedconfig
|
||||
inherit dist-kernel-utils eapi9-ver linux-info mount-boot python-any-r1 savedconfig
|
||||
|
||||
# In case this is a real snapshot, fill in commit below.
|
||||
# For normal, tagged releases, leave blank
|
||||
@@ -368,16 +368,12 @@ 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
|
||||
if ver_replacing -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.'
|
||||
fi
|
||||
|
||||
if use initramfs; then
|
||||
if use dist-kernel; then
|
||||
|
||||
Reference in New Issue
Block a user