gnu: %default-extra-linux-options: Enable kernel options for elogind service.

Fixes: https://issues.guix.gnu.org/43078

These options are already enabled in the kernel configs included in guix, but
might be missing from variants using a defconfig from the upstream kernel,
such as linux-libre-arm-generic and linux-libre-arm64-generic.

* gnu/packages/linux (%default-extra-linux-options): Enable
  CONFIG_CGROUP_FREEZER, CONFIG_BLK_CGROUP, CONFIG_CGROUP_WRITEBACK,
  CONFIG_CGROUP_SCHED, CONFIG_CGROUP_PIDS, CONFIG_CGROUP_FREEZER,
  CONFIG_CGROUP_DEVICE, CONFIG_CGROUP_CPUACCT, CONFIG_CGROUP_PERF,
  CONFIG_SOCK_CGROUP_DATA, CONFIG_BLK_CGROUP_IOCOST, CONFIG_CGROUP_NET_PRIO,
  CONFIG_CGROUP_NET_CLASSID, CONFIG_MEMCG, CONFIG_MEMCG_SWAP,
  CONFIG_MEMCG_KMEM, CONFIG_CPUSETS and CONFIG_PROC_PID_CPUSET.
This commit is contained in:
Vagrant Cascadian 2020-08-27 14:47:43 -07:00
parent c7a3926ee4
commit 450dcd1aff
No known key found for this signature in database
GPG key ID: DC518FC87F9716AA

View file

@ -618,6 +618,26 @@ (define %default-extra-linux-options
("CONFIG_USER_NS" . #t)
("CONFIG_PID_NS" . #t)
("CONFIG_NET_NS" . #t)
;; Various options needed for elogind service:
;; https://issues.guix.gnu.org/43078
("CONFIG_CGROUP_FREEZER" . #t)
("CONFIG_BLK_CGROUP" . #t)
("CONFIG_CGROUP_WRITEBACK" . #t)
("CONFIG_CGROUP_SCHED" . #t)
("CONFIG_CGROUP_PIDS" . #t)
("CONFIG_CGROUP_FREEZER" . #t)
("CONFIG_CGROUP_DEVICE" . #t)
("CONFIG_CGROUP_CPUACCT" . #t)
("CONFIG_CGROUP_PERF" . #t)
("CONFIG_SOCK_CGROUP_DATA" . #t)
("CONFIG_BLK_CGROUP_IOCOST" . #t)
("CONFIG_CGROUP_NET_PRIO" . #t)
("CONFIG_CGROUP_NET_CLASSID" . #t)
("CONFIG_MEMCG" . #t)
("CONFIG_MEMCG_SWAP" . #t)
("CONFIG_MEMCG_KMEM" . #t)
("CONFIG_CPUSETS" . #t)
("CONFIG_PROC_PID_CPUSET" . #t)
;; Modules required for initrd:
("CONFIG_NET_9P" . m)
("CONFIG_NET_9P_VIRTIO" . m)