mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: linux-libre: Fix regression with Atheros 9271.
* gnu/packages/patches/linux-libre-fix-atheros-9271.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/linux.scm (%linux-libre-fix-atheros-9271-patch): New variable. (linux-libre-4.4-source, linux-libre-4.9-source) (linux-libre-4.14-source, linux-libre-4.19-source) (linux-libre-5.4-source, linux-libre-5.7-source): Add the patch.
This commit is contained in:
parent
1e8b8dcf55
commit
3f4f077051
3 changed files with 240 additions and 5 deletions
|
@ -443,6 +443,9 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
|
|||
(sha256
|
||||
(base32 "1ifnfhpakzffn4b8n7x7w5cps9mzjxlkcfz9zqak2vaw8nzvl39f"))))
|
||||
|
||||
(define %linux-libre-fix-atheros-9271-patch
|
||||
(search-patch "linux-libre-fix-atheros-9271.patch"))
|
||||
|
||||
(define (source-with-patches source patches)
|
||||
(origin
|
||||
(inherit source)
|
||||
|
@ -452,12 +455,14 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
|
|||
(define-public linux-libre-5.7-source
|
||||
(source-with-patches linux-libre-5.7-pristine-source
|
||||
(list %boot-logo-patch
|
||||
%linux-libre-arm-export-__sync_icache_dcache-patch)))
|
||||
%linux-libre-arm-export-__sync_icache_dcache-patch
|
||||
%linux-libre-fix-atheros-9271-patch)))
|
||||
|
||||
(define-public linux-libre-5.4-source
|
||||
(source-with-patches linux-libre-5.4-pristine-source
|
||||
(list %boot-logo-patch
|
||||
%linux-libre-arm-export-__sync_icache_dcache-patch
|
||||
%linux-libre-fix-atheros-9271-patch
|
||||
;; Pinebook Pro patch from linux-next,
|
||||
;; can be dropped for linux-libre 5.7
|
||||
(search-patch
|
||||
|
@ -466,19 +471,23 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS."
|
|||
(define-public linux-libre-4.19-source
|
||||
(source-with-patches linux-libre-4.19-pristine-source
|
||||
(list %boot-logo-patch
|
||||
%linux-libre-arm-export-__sync_icache_dcache-patch)))
|
||||
%linux-libre-arm-export-__sync_icache_dcache-patch
|
||||
%linux-libre-fix-atheros-9271-patch)))
|
||||
|
||||
(define-public linux-libre-4.14-source
|
||||
(source-with-patches linux-libre-4.14-pristine-source
|
||||
(list %boot-logo-patch)))
|
||||
(list %boot-logo-patch
|
||||
%linux-libre-fix-atheros-9271-patch)))
|
||||
|
||||
(define-public linux-libre-4.9-source
|
||||
(source-with-patches linux-libre-4.9-pristine-source
|
||||
(list %boot-logo-patch)))
|
||||
(list %boot-logo-patch
|
||||
%linux-libre-fix-atheros-9271-patch)))
|
||||
|
||||
(define-public linux-libre-4.4-source
|
||||
(source-with-patches linux-libre-4.4-pristine-source
|
||||
(list %boot-logo-patch)))
|
||||
(list %boot-logo-patch
|
||||
%linux-libre-fix-atheros-9271-patch)))
|
||||
|
||||
|
||||
;;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue