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

View file

@ -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