From 40a42c4348635f186553938015f7e6a06be1e10c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Fri, 23 Sep 2022 09:05:47 +0300 Subject: 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(+) (limited to 'gnu/packages') 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) -- cgit 1.4.1