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:
Mark H Weaver 2017-02-09 18:33:36 -05:00
parent 69ff1794b3
commit 76e62ef723
No known key found for this signature in database
GPG Key ID: 7CEF29847562C516
1 changed files with 5 additions and 6 deletions

View File

@ -338,9 +338,12 @@ It has been modified to remove all non-free binary blobs.")
(define %intel-compatible-systems '("x86_64-linux" "i686-linux")) (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 (define-public linux-libre
(make-linux-libre "4.9.8" (make-linux-libre %linux-libre-version
"09cx8l0bbccz14ajbawqaq4ah9jpld44pkb61483xwdp9v2sihm3" %linux-libre-hash
%intel-compatible-systems %intel-compatible-systems
#:configuration-file kernel-config)) #:configuration-file kernel-config))
@ -356,10 +359,6 @@ It has been modified to remove all non-free binary blobs.")
%intel-compatible-systems %intel-compatible-systems
#:configuration-file kernel-config)) #: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 (define-public linux-libre-arm-generic
(make-linux-libre %linux-libre-version (make-linux-libre %linux-libre-version
%linux-libre-hash %linux-libre-hash