mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-18 19:29:21 +01:00
Add some color to kernel options
This commit is contained in:
parent
72636463a2
commit
2cf01ab702
@ -130,36 +130,36 @@
|
|||||||
<para>Be sure to enable/disable/set the following features or the system might
|
<para>Be sure to enable/disable/set the following features or the system might
|
||||||
not work correctly or boot at all:</para>
|
not work correctly or boot at all:</para>
|
||||||
|
|
||||||
<screen role="nodump" revision="sysv">General setup --->
|
<screen role="nodump" revision="sysv"><emphasis role='blue'>G</emphasis>eneral setup --->
|
||||||
[ ] Compile the kernel with warnings as errors [CONFIG_WERROR]
|
[ ] <emphasis role='blue'>C</emphasis>ompile the kernel with warnings as errors [CONFIG_WERROR]
|
||||||
CPU/Task time and stats accounting --->
|
<emphasis role='blue'>C</emphasis>PU/Task time and stats accounting --->
|
||||||
[*] Pressure stall information tracking [CONFIG_PSI]
|
[*] <emphasis role='blue'>P</emphasis>ressure stall information tracking [CONFIG_PSI]
|
||||||
[ ] Require boot parameter to enable pressure stall information tracking
|
[ ] <emphasis role='blue'>R</emphasis>equire boot parameter to enable pressure stall information tracking
|
||||||
[CONFIG_PSI_DEFAULT_DISABLED]
|
[CONFIG_PSI_DEFAULT_DISABLED]
|
||||||
< > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
|
< > <emphasis role='blue'>E</emphasis>nable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
|
||||||
[*] Control Group support [CONFIG_CGROUPS] --->
|
[*] <emphasis role='blue'>C</emphasis>ontrol Group support [CONFIG_CGROUPS] --->
|
||||||
[*] Memory controller [CONFIG_MEMCG]
|
[*] M<emphasis role='blue'>e</emphasis>mory controller [CONFIG_MEMCG]
|
||||||
[ ] Configure standard kernel features (expert users) [CONFIG_EXPERT]
|
[ ] <emphasis role='blue'>C</emphasis>onfigure standard kernel features (expert users) [CONFIG_EXPERT]
|
||||||
|
|
||||||
Processor type and features --->
|
<emphasis role='blue'>P</emphasis>rocessor type and features --->
|
||||||
[*] Build a relocatable kernel [CONFIG_RELOCATABLE]
|
[*] <emphasis role='blue'>B</emphasis>uild a relocatable kernel [CONFIG_RELOCATABLE]
|
||||||
[*] Randomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
|
[*] <emphasis role='blue'>R</emphasis>andomize the address of the kernel image (KASLR) [CONFIG_RANDOMIZE_BASE]
|
||||||
|
|
||||||
General architecture-dependent options --->
|
<emphasis role='blue'>G</emphasis>eneral architecture-dependent options --->
|
||||||
[*] Stack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
|
[*] <emphasis role='blue'>S</emphasis>tack Protector buffer overflow detection [CONFIG_STACKPROTECTOR]
|
||||||
[*] Strong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
|
[*] <emphasis role='blue'>S</emphasis>trong Stack Protector [CONFIG_STACKPROTECTOR_STRONG]
|
||||||
|
|
||||||
Device Drivers --->
|
<emphasis role='blue'>D</emphasis>evice Drivers --->
|
||||||
Generic Driver Options --->
|
<emphasis role='blue'>G</emphasis>eneric Driver Options --->
|
||||||
[ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
|
[ ] <emphasis role='blue'>S</emphasis>upport for uevent helper [CONFIG_UEVENT_HELPER]
|
||||||
[*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
|
[*] M<emphasis role='blue'>a</emphasis>intain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
|
||||||
[*] Automount devtmpfs at /dev, after the kernel mounted the rootfs
|
[*] <emphasis role='blue'>A</emphasis>utomount devtmpfs at /dev, after the kernel mounted the rootfs
|
||||||
[CONFIG_DEVTMPFS_MOUNT]
|
[CONFIG_DEVTMPFS_MOUNT]
|
||||||
Graphics support --->
|
<emphasis role='blue'>G</emphasis>raphics support --->
|
||||||
Frame buffer Devices --->
|
<emphasis role='blue'>F</emphasis>rame buffer Devices --->
|
||||||
<*> Support for frame buffer devices --->
|
<*> <emphasis role='blue'>S</emphasis>upport for frame buffer devices --->
|
||||||
Console display driver support --->
|
<emphasis role='blue'>C</emphasis>onsole display driver support --->
|
||||||
[*] Framebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
|
[*] <emphasis role='blue'>F</emphasis>ramebuffer Console support [CONFIG_FRAMEBUFFER_CONSOLE]</screen>
|
||||||
|
|
||||||
<screen role="nodump" revision="systemd">
|
<screen role="nodump" revision="systemd">
|
||||||
General setup --->
|
General setup --->
|
||||||
@ -216,31 +216,31 @@ File systems --->
|
|||||||
<parameter>CONFIG_X86_X2APIC</parameter> because an option only
|
<parameter>CONFIG_X86_X2APIC</parameter> because an option only
|
||||||
shows up after its dependencies are selected.</para>
|
shows up after its dependencies are selected.</para>
|
||||||
|
|
||||||
<screen role="nodump">Processor type and features --->
|
<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features --->
|
||||||
[*] Support x2apic [CONFIG_X86_X2APIC]
|
[*] <emphasis role='blue'>S</emphasis>upport x2apic [CONFIG_X86_X2APIC]
|
||||||
|
|
||||||
Device Drivers --->
|
Device Drivers --->
|
||||||
[*] PCI Support ---> [CONFIG_PCI]
|
[*] <emphasis role='blue'>P</emphasis>CI Support ---> [CONFIG_PCI]
|
||||||
[*] Message Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
|
[*] M<emphasis role='blue'>e</emphasis>ssage Signaled Interrupts (MSI and MSI-X) [CONFIG_PCI_MSI]
|
||||||
[*] IOMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT]
|
[*] <emphasis role='blue'>I</emphasis>OMMU Hardware Support ---> [CONFIG_IOMMU_SUPPORT]
|
||||||
[*] Support for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
|
[*] <emphasis role='blue'>S</emphasis>upport for Interrupt Remapping [CONFIG_IRQ_REMAP]</screen>
|
||||||
|
|
||||||
<para>If you are building a 32-bit system running on a hardware
|
<para>If you are building a 32-bit system running on a hardware
|
||||||
with RAM more than 4GB, adjust the configuration so the kernel will
|
with RAM more than 4GB, adjust the configuration so the kernel will
|
||||||
be able to use up to 64GB physical RAM:</para>
|
be able to use up to 64GB physical RAM:</para>
|
||||||
|
|
||||||
<screen role="nodump">Processor type and features --->
|
<screen role="nodump"><emphasis role='blue'>P</emphasis>rocessor type and features --->
|
||||||
High Memory Support --->
|
H<emphasis role='blue'>i</emphasis>gh Memory Support --->
|
||||||
(X) 64GB [CONFIG_HIGHMEM64G]</screen>
|
(X) <emphasis role='blue'>6</emphasis>4GB [CONFIG_HIGHMEM64G]</screen>
|
||||||
|
|
||||||
<para>If the partition for the LFS system is in a NVME SSD (i. e. the
|
<para>If the partition for the LFS system is in a NVME SSD (i. e. the
|
||||||
device node for the partition is <filename>/dev/nvme*</filename>
|
device node for the partition is <filename>/dev/nvme*</filename>
|
||||||
instead of <filename>/dev/sd*</filename>), enable NVME support or
|
instead of <filename>/dev/sd*</filename>), enable NVME support or
|
||||||
the LFS system won't boot:</para>
|
the LFS system won't boot:</para>
|
||||||
|
|
||||||
<screen role="nodump">Device Drivers --->
|
<screen role="nodump"><emphasis role='blue'>D</emphasis>evice Drivers --->
|
||||||
NVME Support --->
|
N<emphasis role='blue'>V</emphasis>ME Support --->
|
||||||
<*> NVM Express block device [CONFIG_BLK_DEV_NVME]</screen>
|
<*> N<emphasis role='blue'>V</emphasis>M Express block device [CONFIG_BLK_DEV_NVME]</screen>
|
||||||
</note>
|
</note>
|
||||||
|
|
||||||
<note revision="systemd">
|
<note revision="systemd">
|
||||||
|
@ -265,6 +265,9 @@ li.chapter h4 a {
|
|||||||
margin: .6em 0 .2em 0;
|
margin: .6em 0 .2em 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
span.blue {
|
||||||
|
color: #2ac;
|
||||||
|
}
|
||||||
|
|
||||||
/* Index */
|
/* Index */
|
||||||
.item {
|
.item {
|
||||||
|
Loading…
Reference in New Issue
Block a user