From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D53BE1582EF for ; Sat, 15 Feb 2025 09:29:54 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C059F3430D1 for ; Sat, 15 Feb 2025 09:29:54 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5B46311047E; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 5407711047E for ; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0713134305D for ; Sat, 15 Feb 2025 09:29:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A00822723 for ; Sat, 15 Feb 2025 09:29:27 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1739611598.1b3eeaed8182ecc53945870e8d54c48258cfe8c2.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/linux-firmware/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/linux-firmware/linux-firmware-20250211.ebuild sys-kernel/linux-firmware/linux-firmware-99999999.ebuild X-VCS-Directories: sys-kernel/linux-firmware/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 1b3eeaed8182ecc53945870e8d54c48258cfe8c2 X-VCS-Branch: master Date: Sat, 15 Feb 2025 09:29:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: dc46a5f5-0810-4004-a015-24a1fd44d26c X-Archives-Hash: 693eec4122aa4d8f8ca3e1a3f689d9c1 commit: 1b3eeaed8182ecc53945870e8d54c48258cfe8c2 Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:12:12 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 09:26:38 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b3eeaed sys-kernel/linux-firmware: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> .../linux-firmware/linux-firmware-20250211.ebuild | 18 +++++++----------- .../linux-firmware/linux-firmware-99999999.ebuild | 18 +++++++----------- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/sys-kernel/linux-firmware/linux-firmware-20250211.ebuild b/sys-kernel/linux-firmware/linux-firmware-20250211.ebuild index 814b93f23383..0cdf75b4cb21 100644 --- a/sys-kernel/linux-firmware/linux-firmware-20250211.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-20250211.ebuild @@ -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 diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild index e81d2971c476..8627d8cf57ca 100644 --- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild +++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild @@ -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