Hello Efraim!

> I was waiting for the kernel code reorganization before adding it as a
> variable. The trick is to add also linux-libre-lts-source and all the
> others, and in a useful location. Now it's just taking the time to add
> it in somewhere.
> 
> Do you want to take a stab at it? I'm not sure when I'll get around to
> it.

Does the attached patch looks good?

The idea here is to update the version number that the variable
linux-libre-lts pointing to, whenever the new LTS version is released.

Regards,
RG.











From 883c805cf36a1b94fca45a3e3efbf851b7ea11ce Mon Sep 17 00:00:00 2001
From: Raghav Gururajan <r...@raghavgururajan.name>
Date: Wed, 23 Dec 2020 22:43:10 -0500
Subject: [PATCH] gnu: Add Linux-Libre-LTS.

Enables the choice of using current LTS version of linux-libre in Guix System.

* gnu/packages/linux.scm (linux-libre-lts-version): New variable.
* gnu/packages/linux.scm (linux-libre-lts-pristine-source): New variable.
* gnu/packages/linux.scm (linux-libre-lts-source): New variable.
* gnu/packages/linux.scm (linux-libre-lts): New variable.
---
 gnu/packages/linux.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 01f12f77d9..37727dcf94 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -931,6 +931,14 @@ It has been modified to remove all non-free binary blobs.")
                         ("CONFIG_DEVPTS_MULTIPLE_INSTANCES" . #t))
                       %default-extra-linux-options)))
 
+;; Linux-Libre-LTS means the *current* long-term support version of Linux-Libre.
+;; Reference: https://jxself.org/linux-libre/
+
+(define-public linux-libre-lts-version         linux-libre-5.10-version)
+(define-public linux-libre-lts-pristine-source linux-libre-5.10-pristine-source)
+(define-public linux-libre-lts-source          linux-libre-5.10-source)
+(define-public linux-libre-lts                 linux-libre-5.10)
+
 
 ;;;
 ;;; Specialized kernel variants.
-- 
2.17.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to