all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#58016] [PATCH] gnu: linux-libre: Support zram on all kernels.
@ 2022-09-23  6:08 Efraim Flashner
  2022-10-04  7:47 ` Ludovic Courtès
  0 siblings, 1 reply; 3+ messages in thread
From: Efraim Flashner @ 2022-09-23  6:08 UTC (permalink / raw)
  To: 58016; +Cc: Efraim Flashner

* gnu/packages/linux.scm (%default-extra-linux-options): Add config
options to add zram support.
---

Currently we only have zram support in our kernel .conf files, this adds
it to all the linux-libre-<arch>-generic kernels, and any other ones I
may have forgotten about.

---
 gnu/packages/linux.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 306c18e398..18f8efe2f2 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -695,6 +695,10 @@ (define %default-extra-linux-options
     ("CONFIG_PROC_PID_CPUSET" . #t)
     ;; Allow disk encryption by default
     ("CONFIG_DM_CRYPT" . m)
+    ;; Support zram on all kernel configs
+    ("CONFIG_ZSWAP" . #t)
+    ("CONFIG_ZSMALLOC" . #t)
+    ("CONFIG_ZRAM" . m)
     ;; Modules required for initrd:
     ("CONFIG_NET_9P" . m)
     ("CONFIG_NET_9P_VIRTIO" . m)

base-commit: 2e8b4f9bfa00489fd3acff305837a79af236e183
-- 
2.37.3





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

* [bug#58016] [PATCH] gnu: linux-libre: Support zram on all kernels.
  2022-09-23  6:08 [bug#58016] [PATCH] gnu: linux-libre: Support zram on all kernels Efraim Flashner
@ 2022-10-04  7:47 ` Ludovic Courtès
  2022-10-06  6:50   ` bug#58016: " Efraim Flashner
  0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2022-10-04  7:47 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 58016

Hi,

Efraim Flashner <efraim@flashner.co.il> skribis:

> * gnu/packages/linux.scm (%default-extra-linux-options): Add config
> options to add zram support.
> ---
>
> Currently we only have zram support in our kernel .conf files, this adds
> it to all the linux-libre-<arch>-generic kernels, and any other ones I
> may have forgotten about.

Sounds reasonable to me, thanks!

Ludo’.




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

* bug#58016: [PATCH] gnu: linux-libre: Support zram on all kernels.
  2022-10-04  7:47 ` Ludovic Courtès
@ 2022-10-06  6:50   ` Efraim Flashner
  0 siblings, 0 replies; 3+ messages in thread
From: Efraim Flashner @ 2022-10-06  6:50 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 58016-done

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

On Tue, Oct 04, 2022 at 09:47:34AM +0200, Ludovic Courtès wrote:
> Hi,
> 
> Efraim Flashner <efraim@flashner.co.il> skribis:
> 
> > * gnu/packages/linux.scm (%default-extra-linux-options): Add config
> > options to add zram support.
> > ---
> >
> > Currently we only have zram support in our kernel .conf files, this adds
> > it to all the linux-libre-<arch>-generic kernels, and any other ones I
> > may have forgotten about.
> 
> Sounds reasonable to me, thanks!
> 
> Ludo’.

Thanks! Patch pushed.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2022-10-06  6:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-23  6:08 [bug#58016] [PATCH] gnu: linux-libre: Support zram on all kernels Efraim Flashner
2022-10-04  7:47 ` Ludovic Courtès
2022-10-06  6:50   ` bug#58016: " Efraim Flashner

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.