Christopher Allan Webber writes: > Ludovic Courtès writes: > >> Christopher Allan Webber <cweb...@dustycloud.org> skribis: >> >>> My config is attached. Hackily, I copy-pasta'ed the kernel packages >>> entirely from guix v0.9.0's release. I can confirm that this can read >>> the hardware clock just fine, whereas the other version of the kernel >>> can't... so it does indeed look like between Linux-Libre 4.2.5 and >>> Linux-Libre 4.3.3 we have some sort of regression that leads to this >>> problem on x200 Minifree Libreboot-enabled laptops, at least. >> >> Great, thanks for narrowing it down. >> >> Given that, I think it would be useful to keep a copy of 4.2.5 in Guix >> itself. Would you like to provide a patch for that, preferably using >> ‘(inherit linux-libre)’ rather than copying the whole recipe? >> >> Ludo’. > > Yes, I will work on this.
Here's a patch that does just this. Does it look good enough to merge?
>From afcd19c4b3cf69ecacf2c34ba3051fc05c830879 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber <cweb...@dustycloud.org> Date: Sun, 17 Jan 2016 20:34:25 -0800 Subject: [PATCH] gnu: Add linux-libre-4.2.5 This older version of linux-libre is being added because it was found that newer versions (or at least 4.3.3) of linux-libre were not reading the hardware clock on (at least Libreboot-enabled) Thinkpad x200 machines. * gnu/linux.scm (linux-libre-4.2.5): New variable. --- gnu/packages/linux.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 779b9c8..de4d1bd 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -317,6 +317,22 @@ It has been modified to remove all non-free binary blobs.") (license license:gpl2) (home-page "http://www.gnu.org/software/linux-libre/")))) +;; This older version of linux-libre is being added because it was found +;; that newer versions (or at least 4.3.3) of linux-libre were not reading +;; the hardware clock on (at least Libreboot-enabled) Thinkpad x200 +;; machines. + +(define-public linux-libre-4.2.5 + (package + (inherit linux-libre) + (version "4.2.5") + (source (origin + (method url-fetch) + (uri (linux-libre-urls version)) + (sha256 + (base32 + "13ar9sghm2g5w2km9x2d07q3lh81rz286d6slklv56qanm24chzx")))))) + ;;; ;;; Pluggable authentication modules (PAM). -- 2.1.4