aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/kernel/systemd.toml
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-12-05 14:55:45 +0800
committerXi Ruoyao <xry111@xry111.site>2023-12-05 14:58:29 +0800
commit981b9fa6a1a47b5ea93d899dc467be3649b0c253 (patch)
treee71da66ab6d86dadeb62dee87262975f54c5aae7 /chapter10/kernel/systemd.toml
parent34774f4986378ae0483a65233f453f5c2227ae47 (diff)
kernel-config: Drop FB
In Linux 6.6 DRM_FBDEV_EMULATION no longer depends on FB, so we no longer need to select FB (tested in a QEMU VM). But if DRM is selected, we must select both DRM_FBDEV_EMULATION and FRAMEBUFFER_CONSOLE or we'll see only blank screen. And now FRAMEBUFFER_CONSOLE is not selected by default, be warned!!
Diffstat (limited to 'chapter10/kernel/systemd.toml')
-rw-r--r--chapter10/kernel/systemd.toml12
1 files changed, 9 insertions, 3 deletions
diff --git a/chapter10/kernel/systemd.toml b/chapter10/kernel/systemd.toml
index 26ac61c46..dae4a4049 100644
--- a/chapter10/kernel/systemd.toml
+++ b/chapter10/kernel/systemd.toml
@@ -13,9 +13,7 @@ STACKPROTECTOR_STRONG='*'
UEVENT_HELPER=' '
DEVTMPFS='*'
DEVTMPFS_MOUNT='*'
-FB='*'
-FRAMEBUFFER_CONSOLE='*'
-
+DRM=' *M'
AUDIT=' '
NET='*'
INET='*'
@@ -28,3 +26,11 @@ TMPFS='*'
TMPFS_POSIX_ACL='*'
revision='systemd'
+
+[DRM_FBDEV_EMULATION]
+value = ' *'
+comment = 'If [DRM] is selected as * or M, this must be selected'
+
+[FRAMEBUFFER_CONSOLE]
+value = ' *'
+comment = 'If [DRM] is selected as * or M, this must be selected'