From 15fa7d02b6d57e8db30b001120f841b7d4efeb45 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Fri, 18 Oct 2024 22:22:36 +0900 Subject: [PATCH] nongnu: linux-firmware: Update to 20241017. * nongnu/packages/linux.scm (linux-firmware): Update to 20241017. [arguments]<#:phases>: New keyword argument. Add 'patch-out-check_whence.py phase. Signed-off-by: John Kehayias --- nongnu/packages/linux.scm | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/nongnu/packages/linux.scm b/nongnu/packages/linux.scm index da457b9..9731294 100644 --- a/nongnu/packages/linux.scm +++ b/nongnu/packages/linux.scm @@ -315,22 +315,31 @@ stable, responsive and smooth desktop experience."))) (define-public linux-firmware (package (name "linux-firmware") - (version "20240909") + (version "20241017") (source (origin (method url-fetch) (uri (string-append "mirror://kernel.org/linux/kernel/firmware/" "linux-firmware-" version ".tar.xz")) (sha256 (base32 - "0wcn6rqmjq80cjjk1k8ygdamdc4xahi29cp0i7gymy1wi0cvsgwl")))) + "0wqj6labj16qimdcwjgavsim5a35335gi2yfk0mjy9w3bbpkhv52")))) (build-system gnu-build-system) (arguments (list #:tests? #f #:strip-binaries? #f #:validate-runpath? #f - #:make-flags #~(list (string-append "DESTDIR=" #$output)))) - (native-inputs - (list rdfind)) + #:make-flags #~(list (string-append "DESTDIR=" #$output)) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-out-check_whence.py + (lambda _ + ;; The 'check_whence.py' script requires git (and the + ;; repository metadata). + (substitute* "copy-firmware.sh" + (("./check_whence.py") + "true")))) + (delete 'configure)))) + (native-inputs (list rdfind)) (home-page "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git") (synopsis "Nonfree firmware blobs for Linux")