aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2023-07-28 23:14:10 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2023-07-28 23:14:10 -0500
commit83e616f79e84539b34d912b4a4ed430e00b86839 (patch)
treedbcd7eb205c0f93d0ed2f592f41ddca404bd54cc
parent6de383a26215753a2b0a6d2dba6956ecfd786a90 (diff)
Reformat kernel configuuration options.
A couple of the newer kernel options overflow past 80 columns on the kernel page. It's not optimal, but insert newlines for these options. Also reorder the options to to same ordeer as they appear in menuconfig and add some blank lines between major setions for clarity.
-rw-r--r--chapter10/kernel.xml58
1 files changed, 36 insertions, 22 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml
index 376f6cdff..ea367054a 100644
--- a/chapter10/kernel.xml
+++ b/chapter10/kernel.xml
@@ -130,58 +130,70 @@
<para>Be sure to enable/disable/set the following features or the system might
not work correctly or boot at all:</para>
- <screen role="nodump" revision="sysv">Processor type and features ---&gt;
- [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
- [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
-General setup ---&gt;
+<screen role="nodump" revision="sysv">General setup ---&gt;
[ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
- CPU/Task time and stats accounting ---&gt;
- [*] Pressure stall information tracking [CONFIG_PSI]
- [ ] Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]
+ CPU/Task time and stats accounting ---&gt;
+ [*] Pressure stall information tracking [CONFIG_PSI]
+ [ ] Require boot parameter to enable pressure stall information tracking
+ [CONFIG_PSI_DEFAULT_DISABLED]
&lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
[*] Control Group support [CONFIG_CGROUPS] ---&gt;
[*] Memory controller [CONFIG_MEMCG]
[ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
+
+Processor type and features ---&gt;
+ [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
+ [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
+
General architecture-dependent options ---&gt;
[*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
[*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
+
Device Drivers ---&gt;
- Graphics support ---&gt;
- Frame buffer Devices ---&gt;
- &lt;*&gt; Support for frame buffer devices ---&gt;
+ Generic Driver Options ---&gt;
+ [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
+ [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
+ [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
+ [CONFIG_DEVTMPFS_MOUNT]
+ Graphics support ---&gt;
+ Frame buffer Devices ---&gt;
+ &lt;*&gt; Support for frame buffer devices ---&gt;
Console display driver support ---&gt;
- [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
- Generic Driver Options ---&gt;
- [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
- [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
- [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen>
+ [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
- <screen role="nodump" revision="systemd">Processor type and features ---&gt;
- [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
- [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
+<screen role="nodump" revision="systemd">
General setup ---&gt;
[ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
[ ] Auditing Support [CONFIG_AUDIT]
CPU/Task time and stats accounting ---&gt;
[*] Pressure stall information tracking [CONFIG_PSI]
- [ ] Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]
+ [ ] Require boot parameter to enable pressure stall information tracking
+ [CONFIG_PSI_DEFAULT_DISABLED]
&lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
[*] Control Group support [CONFIG_CGROUPS] ---&gt;
[*] Memory controller [CONFIG_MEMCG]
[ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
+
+Processor type and features ---&gt;
+ [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
+ [*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
+
General architecture-dependent options ---&gt;
[*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
[*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
- [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
+ [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
+
[*] Networking support ---&gt; [CONFIG_NET]
Networking options ---&gt;
[*] TCP/IP networking [CONFIG_INET]
&lt;*&gt; The IPv6 protocol [CONFIG_IPV6]
+
Device Drivers ---&gt;
Generic Driver Options ---&gt;
[ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
[*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
- [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]
+ [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
+ [CONFIG_DEVTMPFS_MOUNT]
Firmware Loader ---&gt;
[ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER]
Firmware Drivers ---&gt;
@@ -191,6 +203,7 @@ Device Drivers ---&gt;
&lt;*&gt; Support for frame buffer devices ---&gt;
Console display driver support ---&gt;
[*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
+
File systems ---&gt;
[*] Inotify support for userspace [CONFIG_INOTIFY_USER]
Pseudo filesystems ---&gt;
@@ -203,8 +216,9 @@ File systems ---&gt;
<parameter>CONFIG_X86_X2APIC</parameter> because an option only
shows up after its dependencies are selected.</para>
- <screen role="nodump">Processor type and features ---&gt;
+<screen role="nodump">Processor type and features ---&gt;
[*] Support x2apic [CONFIG_X86_X2APIC]
+
Device Drivers ---&gt;
[*] PCI Support ---&gt; [CONFIG_PCI]
[*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]