unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: 01/01: gnu: Use make-linux-libre-headers.
       [not found] ` <20190529163123.ECCE2209A5@vcs0.savannah.gnu.org>
@ 2019-05-30  1:31   ` Mark H Weaver
  2019-05-30  2:04     ` Carl Dong
  2019-05-30  8:31     ` Danny Milosavljevic
  0 siblings, 2 replies; 5+ messages in thread
From: Mark H Weaver @ 2019-05-30  1:31 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: Carl Dong, guix-devel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 01/01: gnu: Use make-linux-libre-headers.
  2019-05-30  1:31   ` 01/01: gnu: Use make-linux-libre-headers Mark H Weaver
@ 2019-05-30  2:04     ` Carl Dong
  2019-05-30  8:31     ` Danny Milosavljevic
  1 sibling, 0 replies; 5+ messages in thread
From: Carl Dong @ 2019-05-30  2:04 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel@gnu.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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: 01/01: gnu: Use make-linux-libre-headers.
  2019-05-30  1:31   ` 01/01: gnu: Use make-linux-libre-headers Mark H Weaver
  2019-05-30  2:04     ` Carl Dong
@ 2019-05-30  8:31     ` Danny Milosavljevic
  2019-05-30 21:35       ` Mark H Weaver
  1 sibling, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2019-05-30  8:31 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: Carl Dong, guix-devel

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

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.

OK with me to remove.

The headers were from 4.14.67 (and still are), though.  So we'll have
headers which we don't have a Linux kernel for.  (Since those change
very rarely, that's not such a big deal)

> 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.

It doesn't.  I think I messed up the commit *message*, but there is a
definition of linux-libre still (as before).  That commit is very benign.

> 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.

Okay!

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 01/01: gnu: Use make-linux-libre-headers.
  2019-05-30  8:31     ` Danny Milosavljevic
@ 2019-05-30 21:35       ` Mark H Weaver
  2019-05-30 22:13         ` Danny Milosavljevic
  0 siblings, 1 reply; 5+ messages in thread
From: Mark H Weaver @ 2019-05-30 21:35 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: Carl Dong, guix-devel

Hi Danny,

Danny Milosavljevic <dannym@scratchpost.org> writes:

>> 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.
>
> OK with me to remove.
>
> The headers were from 4.14.67 (and still are), though.  So we'll have
> headers which we don't have a Linux kernel for.  (Since those change
> very rarely, that's not such a big deal)

Hmm, I don't understand.  What do the 4.14.x headers have to do with
4.15, which is the version I'm suggesting to delete?

>> 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.
>
> It doesn't.  I think I messed up the commit *message*, but there is a
> definition of linux-libre still (as before).

Indeed, you're right about this, my mistake.

     Thanks,
       Mark

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 01/01: gnu: Use make-linux-libre-headers.
  2019-05-30 21:35       ` Mark H Weaver
@ 2019-05-30 22:13         ` Danny Milosavljevic
  0 siblings, 0 replies; 5+ messages in thread
From: Danny Milosavljevic @ 2019-05-30 22:13 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: Carl Dong, guix-devel

[-- Attachment #1: Type: text/plain, Size: 278 bytes --]

Hi Mark,

> Hmm, I don't understand.  What do the 4.14.x headers have to do with
> 4.15, which is the version I'm suggesting to delete?

Oh, my mistake.

Indeed, we have linux-libre@4.14.122 which should match the linux-libre-headers
we have, even after deleting 4.15.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-05-30 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
2019-05-30  8:31     ` Danny Milosavljevic
2019-05-30 21:35       ` Mark H Weaver
2019-05-30 22:13         ` Danny Milosavljevic

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).