From: Carl Dong <accounts@carldong.me>
To: Mark H Weaver <mhw@netris.org>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: 01/01: gnu: Use make-linux-libre-headers.
Date: Thu, 30 May 2019 02:04:35 +0000 [thread overview]
Message-ID: <ciCQHecjQv91WtevmkSHhJ--pVs0aRue5fyLZW7CtjUOH-dbb6XHZT-OArT4xPsnTjbWbuuOh1TCQDDMJtuj7T7toDSSVvwMmF5UQkLe7Ps=@carldong.me> (raw)
In-Reply-To: <87zhn4pw0z.fsf@netris.org>
Oh hi Mark!
> I think we should not add linux-libre-4.15, because that version of
> Linux-libre is no longer supported upstream, and therefore will have
> well-known security flaws.
Ahhh... Good point! I've attached a patch at the end of the message (I think the
commit message might need tweaking).
> Also, this removes the definition of 'linux-libre', which I, for one,
> reference from my OS config and maybe others do as well. Sometimes it's useful
> to break compatibility, but in this case I see no reason for it.
I believe that the definition of 'linux-libre' was kept on line 527:
> (define-public linux-libre linux-libre-5.1)
Let me know if there are other things I can help fix up!
Cheers,
Carl Dong
accounts@carldong.me
"I fight for the users"
From 327211937d5c243c796eb74b746680702b52b347 Mon Sep 17 00:00:00 2001
From: Carl Dong <contact@carldong.me>
Date: Wed, 29 May 2019 21:47:06 -0400
Subject: [PATCH 2/2] gnu: linux: Remove unsupported kernel versions.
* gnu/package/linux.scm (%linux-libre-4.15-version,
%linux-libre-4.15-hash, linux-libre-4.15, linux-libre-headers-4.15):
Remove variables.
[comments] Add comment regarding what linux-libre versions to support.
---
gnu/packages/linux.scm | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 18e091a95a..95c76d3c90 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -428,6 +428,10 @@ for ARCH and optionally VARIANT, or #f if there is no such configuration."
It has been modified to remove all non-free binary blobs.")
(license license:gpl2)))
+;; It is preferable to add kernels with upstream support. A list of longterm
+;; release kernels that receive backport fixes can be found here:
+;; https://www.kernel.org/category/releases.html
+
(define %linux-libre-version "5.1.4")
(define %linux-libre-hash "02pzad29w2apcqsk4r4fq93539z3by8kvk1f59lb8xnl0gvhdi5v")
@@ -464,19 +468,6 @@ It has been modified to remove all non-free binary blobs.")
(make-linux-libre-headers %linux-libre-4.19-version
%linux-libre-4.19-hash))
-(define %linux-libre-4.15-version "4.15.18")
-(define %linux-libre-4.15-hash "0f0s4drx888ydlwjcm9qcxqian4850yiv2vamyw9bbjf83frwxyw")
-
-(define-public linux-libre-4.15
- (make-linux-libre %linux-libre-4.15-version
- %linux-libre-4.15-hash
- '("x86_64-linux" "i686-linux" "armhf-linux")
- #:configuration-file kernel-config))
-
-(define-public linux-libre-headers-4.15
- (make-linux-libre-headers %linux-libre-4.15-version
- %linux-libre-4.15-hash))
-
(define %linux-libre-4.14-version "4.14.121")
(define %linux-libre-4.14-hash "1g7gyjmp056pasf9m34dqs8pa15my6hqasdd551jw8mgkbhsfnxg")
--
2.21.0
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, May 29, 2019 9:31 PM, Mark H Weaver <mhw@netris.org> wrote:
> Hi Danny and Carl,
>
> guix-commits@gnu.org writes:
>
> > dannym pushed a commit to branch master
> > in repository guix.
> > commit a15cee50cebddc665a16b455f44e22dcfb87d57f
> > Author: Carl Dong accounts@carldong.me
> > Date: Wed May 29 18:04:43 2019 +0200
> >
> > gnu: Use make-linux-libre-headers.
> >
> > * gnu/packages/linux.scm (make-linux-libre-headers): New variable.
> > (linux-libre): Rename to...
> > (linux-libre-5.1): ...this.
> > (linux-libre-headers): Rename to...
> > (linux-libre-headers-4.14.67): ...this.
> > (linux-libre-5.1, linux-libre-headers-4.14.67): Use make-linux-libre-headers.
> > (linux-libre-5.1, linux-libre-headers-5.1, linux-libre-headers-4.19,
> > %linux-libre-4.15-version, %linux-libre-4.15-hash, linux-libre-4.15,
> > linux-libre-headers-4.15, linux-libre-headers-4.14): New variables.
> >
> > Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
> >
>
> I think we should not add linux-libre-4.15, because that version of
> Linux-libre is no longer supported upstream, and therefore will have
> well-known security flaws.
>
> Also, this removes the definition of 'linux-libre', which I, for one,
> reference from my OS config and maybe others do as well. Sometimes it's
> useful to break compatibility, but in this case I see no reason for it.
>
> Finally, given I've been the de-facto maintainer of our kernel packages
> since the early days of Guix, I would have appreciated a heads-up on
> these proposed changes and an opportunity to comment before they were
> pushed to master.
>
> Regards,
> Mark
next prev parent reply other threads:[~2019-05-30 2:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20190529163123.3417.15650@vcs0.savannah.gnu.org>
[not found] ` <20190529163123.ECCE2209A5@vcs0.savannah.gnu.org>
2019-05-30 1:31 ` 01/01: gnu: Use make-linux-libre-headers Mark H Weaver
2019-05-30 2:04 ` Carl Dong [this message]
2019-05-30 8:31 ` Danny Milosavljevic
2019-05-30 21:35 ` Mark H Weaver
2019-05-30 22:13 ` Danny Milosavljevic
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ciCQHecjQv91WtevmkSHhJ--pVs0aRue5fyLZW7CtjUOH-dbb6XHZT-OArT4xPsnTjbWbuuOh1TCQDDMJtuj7T7toDSSVvwMmF5UQkLe7Ps=@carldong.me' \
--to=accounts@carldong.me \
--cc=guix-devel@gnu.org \
--cc=mhw@netris.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).