commit:     74099c1ec41a148e58bb49d84e2664f441fd04d5
Author:     Emil Velikov <emil.l.velikov <AT> gmail <DOT> com>
AuthorDate: Fri Oct 18 14:10:21 2024 +0000
Commit:     Mike Pagano <mpagano <AT> gentoo <DOT> org>
CommitDate: Fri Oct 18 21:37:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74099c1e

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.

Signed-off-by: Emil Velikov <emil.l.velikov <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39030
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org>

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

diff --git a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild 
b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
index 061615ff0042..f49e8118b8be 100644
--- a/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
+++ b/sys-kernel/linux-firmware/linux-firmware-99999999.ebuild
@@ -120,14 +120,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 || die
-
        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