diff options
author | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-11-23 18:23:51 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@mengyan1223.wang> | 2021-11-23 18:23:51 +0800 |
commit | 768ae1503904b0987abbbacc6dede399e63a148b (patch) | |
tree | 790a91801203d75202e419c9d8a806309868c3c1 | |
parent | 784f3c36e2e1c497294c27ff3a9c9a7e458732ea (diff) |
don't enable CONFIG_IKHEADERS building the kernel
https://lists.linuxfromscratch.org/sympa/arc/lfs-support/2021-11/msg00014.html
-rw-r--r-- | appendices/dependencies.xml | 4 | ||||
-rw-r--r-- | chapter10/kernel.xml | 17 |
2 files changed, 19 insertions, 2 deletions
diff --git a/appendices/dependencies.xml b/appendices/dependencies.xml index c5a4b086d..9053da5ec 100644 --- a/appendices/dependencies.xml +++ b/appendices/dependencies.xml @@ -1862,7 +1862,9 @@ <segmentedlist id="linux-optdeps"> <segtitle>&external;</segtitle> <seglistitem> - <seg>None</seg> + <seg> + <ulink url="&blfs-book;general/cpio.html">cpio</ulink> + </seg> </seglistitem> </segmentedlist> diff --git a/chapter10/kernel.xml b/chapter10/kernel.xml index ca47b0243..fa518e721 100644 --- a/chapter10/kernel.xml +++ b/chapter10/kernel.xml @@ -105,13 +105,16 @@ <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">Device Drivers ---> + <screen role="nodump" revision="sysv">General setup --> + < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] +Device Drivers ---> Generic Driver Options ---> [ ] Support for uevent helper [CONFIG_UEVENT_HELPER] [*] Maintain a devtmpfs filesystem to mount at /dev [CONFIG_DEVTMPFS]</screen> <screen role="nodump" revision="systemd">General setup --> [ ] Auditing Support [CONFIG_AUDIT] + < > Enable kernel headers through /sys/kernel/kheaders.tar.xz [CONFIG_IKHEADERS] [*] Control Group support [CONFIG_CGROUPS] [ ] Enable deprecated sysfs features to support old userspace tools [CONFIG_SYSFS_DEPRECATED] [*] Configure standard kernel features (expert users) [CONFIG_EXPERT] ---> @@ -158,6 +161,18 @@ File systems ---> <title>The rationale for the above configuration items:</title> <varlistentry> + <term> + <parameter> + Enable kernel headers through /sys/kernel/kheaders.tar.xz + </parameter> + </term> + <listitem> + <para>This will require <command>cpio</command> building the kernel. + <command>cpio</command> is not installed by LFS.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><parameter>Support for uevent helper</parameter></term> <listitem> <para>Having this option set may interfere with device |