gnu: Add linux-libre 5.6.2.

* gnu/packages/linux (deblob-scripts-5.6): New variable.
  (linux-libre-5.6-version): New variable.
  (linux-libre-5.6-pristine-source): New variable.
  (linux-libre-5.6-source): New variable.
  (linux-libre-headers-5.6): New variable.
  (linux-libre-5.6): New variable.
This commit is contained in:
Vagrant Cascadian 2020-04-03 16:08:03 -07:00
parent 41a795e726
commit 1b131e1f5a
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -192,6 +192,12 @@ (define (linux-libre-deblob-scripts version
"deblob-check"))
(sha256 deblob-check-hash))))
(define deblob-scripts-5.6
(linux-libre-deblob-scripts
"5.6"
(base32 "09hxrr4xzllq5lmipfb6if30318lksrk9py1axc36m9ynql4w0rc")
(base32 "09qz5d31g5zwicsnncjnjij193hk0g6kg0ss9jyzh6lp3wilcm71")))
(define deblob-scripts-5.4
(linux-libre-deblob-scripts
"5.4.28"
@ -362,6 +368,15 @@ (define (%upstream-linux-source version hash)
"linux-" version ".tar.xz"))
(sha256 hash)))
(define-public linux-libre-5.6-version "5.6.2")
(define-public linux-libre-5.6-pristine-source
(let ((version linux-libre-5.6-version)
(hash (base32 "1fdmcx5fk9wq9yx6vvnw76nvdysbvm83cik1dj1d67lw6bc92k9d")))
(make-linux-libre-source version
(%upstream-linux-source version hash)
deblob-scripts-5.6)))
(define-public linux-libre-5.4-version "5.4.30")
(define-public linux-libre-5.4-pristine-source
(let ((version linux-libre-5.4-version)
@ -430,6 +445,15 @@ (define (source-with-patches source patches)
(patches (append (origin-patches source)
patches))))
(define-public linux-libre-5.6-source
(source-with-patches linux-libre-5.6-pristine-source
(list %boot-logo-patch
%linux-libre-arm-export-__sync_icache_dcache-patch
;; Pinebook Pro patch from linux-next,
;; can be dropped for linux-libre 5.7
(search-patch
"linux-libre-support-for-Pinebook-Pro.patch"))))
(define-public linux-libre-5.4-source
(source-with-patches linux-libre-5.4-pristine-source
(list %boot-logo-patch
@ -529,6 +553,10 @@ (define (make-linux-libre-headers* version source)
(description "Headers of the Linux-Libre kernel.")
(license license:gpl2)))
(define-public linux-libre-headers-5.6
(make-linux-libre-headers* linux-libre-5.6-version
linux-libre-5.6-source))
(define-public linux-libre-headers-5.4
(make-linux-libre-headers* linux-libre-5.4-version
linux-libre-5.4-source))
@ -793,6 +821,12 @@ (define* (make-linux-libre* version source supported-systems
;;; Generic kernel packages.
;;;
(define-public linux-libre-5.6
(make-linux-libre* linux-libre-5.6-version
linux-libre-5.6-source
'("x86_64-linux" "i686-linux" "armhf-linux" "aarch64-linux" "riscv64-linux")
#:configuration-file kernel-config))
(define-public linux-libre-5.4
(make-linux-libre* linux-libre-5.4-version
linux-libre-5.4-source