From 76e62ef723fa228e455ec6326aaec87925bd5cf2 Mon Sep 17 00:00:00 2001 From: Mark H Weaver Date: Thu, 9 Feb 2017 18:33:36 -0500 Subject: 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(-) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 36206b7654..6fbbd1dfe5 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 -- cgit v1.2.3