mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: linux-libre: Use %linux-libre-{version,hash} in package definition.
* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash): Move above definition of 'linux-libre'. Remove comment about avoiding minor version bumps. (linux-libre): Use %linux-libre-version and %linux-libre-hash to avoid duplicate copies of that information.
This commit is contained in:
parent
69ff1794b3
commit
76e62ef723
1 changed files with 5 additions and 6 deletions
|
@ -338,9 +338,12 @@ (define* (make-linux-libre version hash supported-systems
|
|||
|
||||
(define %intel-compatible-systems '("x86_64-linux" "i686-linux"))
|
||||
|
||||
(define %linux-libre-version "4.9.8")
|
||||
(define %linux-libre-hash "09cx8l0bbccz14ajbawqaq4ah9jpld44pkb61483xwdp9v2sihm3")
|
||||
|
||||
(define-public linux-libre
|
||||
(make-linux-libre "4.9.8"
|
||||
"09cx8l0bbccz14ajbawqaq4ah9jpld44pkb61483xwdp9v2sihm3"
|
||||
(make-linux-libre %linux-libre-version
|
||||
%linux-libre-hash
|
||||
%intel-compatible-systems
|
||||
#:configuration-file kernel-config))
|
||||
|
||||
|
@ -356,10 +359,6 @@ (define-public linux-libre-4.1
|
|||
%intel-compatible-systems
|
||||
#:configuration-file kernel-config))
|
||||
|
||||
;; Avoid rebuilding kernel variants when there is a minor version bump.
|
||||
(define %linux-libre-version "4.9.8")
|
||||
(define %linux-libre-hash "09cx8l0bbccz14ajbawqaq4ah9jpld44pkb61483xwdp9v2sihm3")
|
||||
|
||||
(define-public linux-libre-arm-generic
|
||||
(make-linux-libre %linux-libre-version
|
||||
%linux-libre-hash
|
||||
|
|
Loading…
Reference in a new issue