commit:     6f7ed56933316f838f0ca53a24c6a3b57d0cae2d
Author:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 18 21:42:56 2024 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 21:42:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f7ed569

sys-kernel/linux-firmware: remove chmod workarounds

The upstream tooling has been updated recently to include file module
validation and all the firmware files have dropped their execute bit.

Thus we no longer need the local chmod workarounds.

Thanks to Emil Velikov

Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

 sys-kernel/linux-firmware/linux-firmware-20241017.ebuild | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sys-kernel/linux-firmware/linux-firmware-20241017.ebuild 
b/sys-kernel/linux-firmware/linux-firmware-20241017.ebuild
index beb993e06fa0..4164fda300c8 100644
--- a/sys-kernel/linux-firmware/linux-firmware-20241017.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-20241017.ebuild
@@ -122,13 +122,6 @@ src_unpack() {
 src_prepare() {
        default
 
-       find . -type f -not -perm 0644 -print0 \
-               | xargs --null --no-run-if-empty chmod 0644 \
-               || die
-
-       chmod +x 
"${S}"/{copy-firmware.sh,dedup-firmware.sh,check_whence.py,build_packages.py} 
|| die
-       chmod +x "${S}"/{carl9170fw/autogen.sh,carl9170fw/genapi.sh} || die
-       chmod +x "${S}"/contrib/process_linux_firmware.py || di
        cp "${FILESDIR}/${PN}-make-amd-ucode-img.bash" 
"${T}/make-amd-ucode-img" || die
        chmod +x "${T}/make-amd-ucode-img" || die
 

Reply via email to