Ignore:
Timestamp:
07/29/2023 04:14:10 AM (12 months ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
12.0, 12.0-rc1, 12.1, 12.1-rc1, multilib, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/update-glibc
Children:
7263646
Parents:
6de383a
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel.xml

    r6de383a r83e616f  
    131131      not work correctly or boot at all:</para>
    132132
    133       <screen role="nodump" revision="sysv">Processor type and features ---&gt;
    134    [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
    135    [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
    136 General setup ---&gt;
     133<screen role="nodump" revision="sysv">General setup ---&gt;
    137134   [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
    138    CPU/Task time and stats accounting ---&gt;
    139       [*] Pressure stall information tracking [CONFIG_PSI]
    140       [ ]   Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]
     135       CPU/Task time and stats accounting ---&gt;
     136         [*] Pressure stall information tracking [CONFIG_PSI]
     137         [ ] Require boot parameter to enable pressure stall information tracking
     138                                              [CONFIG_PSI_DEFAULT_DISABLED]
    141139   &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
    142140   [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
    143141      [*] Memory controller [CONFIG_MEMCG]
    144142   [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
     143
     144Processor type and features ---&gt;
     145   [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
     146   [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
     147
    145148General architecture-dependent options  ---&gt;
    146149   [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
    147150   [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
     151
    148152Device Drivers  ---&gt;
    149   Graphics support ---&gt;
    150    Frame buffer Devices ---&gt;
    151       &lt;*&gt; Support for frame buffer devices ---&gt;
     153   Generic Driver Options  ---&gt;
     154     [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
     155     [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
     156     [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs
     157                                                       [CONFIG_DEVTMPFS_MOUNT]
     158   Graphics support ---&gt;
     159     Frame buffer Devices ---&gt;
     160       &lt;*&gt; Support for frame buffer devices ---&gt;
    152161   Console display driver support ---&gt;
    153       [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
    154   Generic Driver Options  ---&gt;
    155    [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
    156    [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
    157    [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen>
    158 
    159       <screen role="nodump" revision="systemd">Processor type and features ---&gt;
    160    [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
    161    [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
     162      [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
     163
     164<screen role="nodump" revision="systemd">
    162165General setup ---&gt;
    163166   [ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
     
    165168   CPU/Task time and stats accounting ---&gt;
    166169      [*] Pressure stall information tracking [CONFIG_PSI]
    167       [ ]   Require boot parameter to enable pressure stall information tracking [CONFIG_PSI_DEFAULT_DISABLED]
     170      [ ] Require boot parameter to enable pressure stall information tracking
     171                                                            [CONFIG_PSI_DEFAULT_DISABLED]
    168172   &lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
    169173   [*] Control Group support [CONFIG_CGROUPS]   ---&gt;
    170174      [*] Memory controller [CONFIG_MEMCG]
    171175   [ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
     176
     177Processor type and features ---&gt;
     178   [*] Build a relocatable kernel [CONFIG_RELOCATABLE]
     179   [*]   Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
     180
    172181General architecture-dependent options  ---&gt;
    173182   [*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
    174183   [*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
    175    [*]   Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
     184   [*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
     185   
    176186[*] Networking support  ---&gt;   [CONFIG_NET]
    177187   Networking options  ---&gt;
    178188      [*] TCP/IP networking [CONFIG_INET]
    179189      &lt;*&gt;   The IPv6 protocol [CONFIG_IPV6]
     190
    180191Device Drivers  ---&gt;
    181192   Generic Driver Options  ---&gt;
    182193      [ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
    183194      [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
    184       [*]   Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]
     195      [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
     196                                                          [CONFIG_DEVTMPFS_MOUNT]
    185197      Firmware Loader ---&gt;
    186198         [ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER]
     
    192204      Console display driver support ---&gt;
    193205         [*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]
     206
    194207File systems  ---&gt;
    195208   [*] Inotify support for userspace [CONFIG_INOTIFY_USER]
     
    204217      shows up after its dependencies are selected.</para>
    205218
    206       <screen role="nodump">Processor type and features ---&gt;
     219<screen role="nodump">Processor type and features ---&gt;
    207220  [*] Support x2apic [CONFIG_X86_X2APIC]
     221
    208222Device Drivers ---&gt;
    209223  [*] PCI Support ---&gt; [CONFIG_PCI]
Note: See TracChangeset for help on using the changeset viewer.