guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: linux-libre: Support zram on all kernels.


From: guix-commits
Subject: branch master updated: gnu: linux-libre: Support zram on all kernels.
Date: Thu, 06 Oct 2022 02:49:19 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 40a42c4348 gnu: linux-libre: Support zram on all kernels.
40a42c4348 is described below

commit 40a42c4348635f186553938015f7e6a06be1e10c
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Sep 23 09:05:47 2022 +0300

    gnu: linux-libre: Support zram on all kernels.
    
    * gnu/packages/linux.scm (%default-extra-linux-options): Add config
    options to add zram support.
---
 gnu/packages/linux.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 0e03a52185..2a2b1614f9 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -696,6 +696,10 @@ for ARCH and optionally VARIANT, or #f if there is no such 
configuration."
     ("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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]