[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: gnu: linux-libre: Use %linux-libre-{version, hash} in package def
From: |
Mark H. Weaver |
Subject: |
02/03: gnu: linux-libre: Use %linux-libre-{version, hash} in package definition. |
Date: |
Thu, 9 Feb 2017 18:39:11 -0500 (EST) |
mhw pushed a commit to branch master
in repository guix.
commit 76e62ef723fa228e455ec6326aaec87925bd5cf2
Author: Mark H Weaver <address@hidden>
Date: Thu Feb 9 18:33:36 2017 -0500
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.
---
gnu/packages/linux.scm | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 36206b7..6fbbd1d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -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 %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 @@ It has been modified to remove all non-free binary blobs.")
%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