unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#48846] [PATCH core-updates 0/2] Update kmod to 29 and add zstd support
@ 2021-06-05 11:00 Brice Waegeneire
  2021-06-05 11:02 ` [bug#48846] [PATCH core-updates 1/2] gnu: kmod: Update to 29 Brice Waegeneire
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Brice Waegeneire @ 2021-06-05 11:00 UTC (permalink / raw)
  To: 48846

Kernel modules are currently compressed with gzip.  In the future switching to
zstd should reduce their size furthermore as well as there load time.

Brice Waegeneire (2):
  gnu: kmod: Update to 29.
  gnu: kmod: Add zstd support.

 gnu/packages/linux.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

-- 
2.31.1





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

* [bug#48846] [PATCH core-updates 1/2] gnu: kmod: Update to 29.
  2021-06-05 11:00 [bug#48846] [PATCH core-updates 0/2] Update kmod to 29 and add zstd support Brice Waegeneire
@ 2021-06-05 11:02 ` Brice Waegeneire
  2021-06-05 11:02 ` [bug#48846] [PATCH core-updates 2/2] gnu: kmod: Add zstd support Brice Waegeneire
  2021-07-08 17:26 ` bug#48846: [PATCH core-updates 0/2] Update kmod to 29 and add " Mathieu Othacehe
  2 siblings, 0 replies; 4+ messages in thread
From: Brice Waegeneire @ 2021-06-05 11:02 UTC (permalink / raw)
  To: 48846

* gnu/packages/linux.scm (kmod): Update to 29.
---
 gnu/packages/linux.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index cf020a153b..ec223680fb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -43,7 +43,7 @@
 ;;; Copyright © 2020 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll@gmail.com>
 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
-;;; Copyright © 2020 Brice Waegeneire <brice@waegenei.re>
+;;; Copyright © 2020, 2021 Brice Waegeneire <brice@waegenei.re>
 ;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
 ;;; Copyright © 2020 John Soo <jsoo1@asu.edu>
 ;;; Copyright © 2020 Michael Rohleder <mike@rohleder.de>
@@ -3362,7 +3362,7 @@ to use Linux' inotify mechanism, which allows file accesses to be monitored.")
 (define-public kmod
   (package
     (name "kmod")
-    (version "28")
+    (version "29")
     (source (origin
               (method url-fetch)
               (uri
@@ -3370,7 +3370,7 @@ to use Linux' inotify mechanism, which allows file accesses to be monitored.")
                               "kmod-" version ".tar.xz"))
               (sha256
                (base32
-                "0v52nghxzd69jnk8mr4900qlk1rg8hf0hdv34n281afs2c7zqs9r"))
+                "0am54mi5rk72g5q7k6l6f36gw3r9vwgjmyna43ywcjhqmakyx00b"))
               (patches (search-patches "kmod-module-directory.patch"))))
     (build-system gnu-build-system)
     (native-inputs
-- 
2.31.1





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

* [bug#48846] [PATCH core-updates 2/2] gnu: kmod: Add zstd support.
  2021-06-05 11:00 [bug#48846] [PATCH core-updates 0/2] Update kmod to 29 and add zstd support Brice Waegeneire
  2021-06-05 11:02 ` [bug#48846] [PATCH core-updates 1/2] gnu: kmod: Update to 29 Brice Waegeneire
@ 2021-06-05 11:02 ` Brice Waegeneire
  2021-07-08 17:26 ` bug#48846: [PATCH core-updates 0/2] Update kmod to 29 and add " Mathieu Othacehe
  2 siblings, 0 replies; 4+ messages in thread
From: Brice Waegeneire @ 2021-06-05 11:02 UTC (permalink / raw)
  To: 48846

* gnu/packages/linux.scm (kmod)[inputs]: Add zstd:lib.
[arguments]: Enable zstd support.
---
 gnu/packages/linux.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ec223680fb..fe16325913 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3379,9 +3379,10 @@ to use Linux' inotify mechanism, which allows file accesses to be monitored.")
        ("zstd" ,zstd)))
     (inputs
      `(("xz" ,xz)
-       ("zlib" ,zlib)))
+       ("zlib" ,zlib)
+       ("zstd-lib" ,zstd "lib")))
     (arguments
-     `(#:configure-flags '("--with-xz" "--with-zlib"
+     `(#:configure-flags '("--with-xz" "--with-zlib" "--with-zstd"
                            "--disable-test-modules")
        #:phases
        (modify-phases %standard-phases
-- 
2.31.1





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

* bug#48846: [PATCH core-updates 0/2] Update kmod to 29 and add zstd support
  2021-06-05 11:00 [bug#48846] [PATCH core-updates 0/2] Update kmod to 29 and add zstd support Brice Waegeneire
  2021-06-05 11:02 ` [bug#48846] [PATCH core-updates 1/2] gnu: kmod: Update to 29 Brice Waegeneire
  2021-06-05 11:02 ` [bug#48846] [PATCH core-updates 2/2] gnu: kmod: Add zstd support Brice Waegeneire
@ 2021-07-08 17:26 ` Mathieu Othacehe
  2 siblings, 0 replies; 4+ messages in thread
From: Mathieu Othacehe @ 2021-07-08 17:26 UTC (permalink / raw)
  To: Brice Waegeneire; +Cc: 48846-done


Hey,

> Kernel modules are currently compressed with gzip.  In the future switching to
> zstd should reduce their size furthermore as well as there load time.

Pushed this one. I'll be glad to review a follow-up series enabling zstd
compression for kernel modules :).

Thanks,

Mathieu




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

end of thread, other threads:[~2021-07-08 18:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-05 11:00 [bug#48846] [PATCH core-updates 0/2] Update kmod to 29 and add zstd support Brice Waegeneire
2021-06-05 11:02 ` [bug#48846] [PATCH core-updates 1/2] gnu: kmod: Update to 29 Brice Waegeneire
2021-06-05 11:02 ` [bug#48846] [PATCH core-updates 2/2] gnu: kmod: Add zstd support Brice Waegeneire
2021-07-08 17:26 ` bug#48846: [PATCH core-updates 0/2] Update kmod to 29 and add " Mathieu Othacehe

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