aboutsummaryrefslogtreecommitdiffstats
path: root/chapter10/kernel.xml
diff options
context:
space:
mode:
authorPierre Labastie <pierre.labastie@neuf.fr>2022-03-22 22:03:33 +0100
committerPierre Labastie <pierre.labastie@neuf.fr>2022-03-22 22:03:33 +0100
commit6ad47308625723c0b13905d13505a633b68f0f66 (patch)
treef1cd15706d3a3b9f9ed240ec16ad40764def8fd6 /chapter10/kernel.xml
parentdda039ba19878b5ce3751ad72fa092443326010b (diff)
Fix kernel config to mount the devtmpfs before boot
Also make the order and the layout the same as in menu.
Diffstat (limited to 'chapter10/kernel.xml')
-rw-r--r--chapter10/kernel.xml31
1 files changed, 21 insertions, 10 deletions
diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml
index 43177f15d..713bab93b 100644
--- a/chapter10/kernel.xml
+++ b/chapter10/kernel.xml
@@ -113,38 +113,40 @@ Device Drivers ---&gt;
[*] Support for frame buffer devices ----
Generic Driver Options ---&gt;
[ ] Support for uevent helper [CONFIG_UEVENT_HELPER]
- [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]</screen>
+ [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]
+ [*] Automount devtmpfs at /dev, after the kernel mounted the rootfs [CONFIG_DEVTMPFS_MOUNT]</screen>
<screen role="nodump" revision="systemd">General setup -->
[ ] Auditing Support [CONFIG_AUDIT]
+ CPU/Task time and stats accounting ---&gt;
+ [*] Pressure stall information tracking [CONFIG_PSI]
&lt; &gt; Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS]
[*] Control Group support [CONFIG_CGROUPS] ---&gt;
[*] Memory controller [CONFIG_MEMCG]
[ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED]
[*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---&gt;
[*] open by fhandle syscalls [CONFIG_FHANDLE]
- CPU/Task time and stats accounting ---&gt;
- [*] Pressure stall information tracking [CONFIG_PSI]
General architecture-dependent options ---&gt;
[*] Enable seccomp to safely compute untrusted bytecode [CONFIG_SECCOMP]
Networking support ---&gt;
Networking options ---&gt;
&lt;*&gt; The IPv6 protocol [CONFIG_IPV6]
Device Drivers ---&gt;
- Firmware Drivers ---&gt;
- [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
- Graphics support ---&gt;
- Frame buffer Devices ---&gt;
- [*] Support for frame buffer devices ----
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]
Firmware Loader ---&gt;
[ ] Enable the firmware sysfs fallback mechanism [CONFIG_FW_LOADER_USER_HELPER]
+ Firmware Drivers ---&gt;
+ [*] Export DMI identification via sysfs to userspace [CONFIG_DMIID]
+ Graphics support ---&gt;
+ Frame buffer Devices ---&gt;
+ &lt;*&gt; Support for frame buffer devices ---&gt;
File systems ---&gt;
[*] Inotify support for userspace [CONFIG_INOTIFY_USER]
- Pseudo filesystems ---&gt;
- [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
+ Pseudo filesystems ---&gt;
+ [*] Tmpfs POSIX Access Control Lists [CONFIG_TMPFS_POSIX_ACL]</screen>
</note>
<note revision="systemd">
@@ -199,6 +201,15 @@ File systems ---&gt;
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>Automount devtmpfs at /dev</parameter></term>
+ <listitem>
+ <para>This will mount the kernel view of the devices on /dev
+ upon switching to root filesystem just before starting
+ init.</para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>Alternatively, <command>make oldconfig</command> may be more