summaryrefslogtreecommitdiff
path: root/nongnu/packages/linux.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-10-18 22:22:36 +0900
committerJohn Kehayias <john.kehayias@protonmail.com>2024-10-18 14:20:03 -0400
commit15fa7d02b6d57e8db30b001120f841b7d4efeb45 (patch)
tree9710214e3555d4f12014815ab38694cd8ea3b23a /nongnu/packages/linux.scm
parent630dc221ab0cb75695b3f756465e3776ca6b275b (diff)
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 <john.kehayias@protonmail.com>
Diffstat (limited to 'nongnu/packages/linux.scm')
-rw-r--r--nongnu/packages/linux.scm19
1 files 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")