mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48: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 %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 @@ (define-public linux-libre-4.1
|
||||||
%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
|
||||||
|
|
Loading…
Reference in a new issue