Changeset 89d204ea
- Timestamp:
- 06/19/2004 08:11:58 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 0c012ac
- Parents:
- fe8b2f3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
rfe8b2f3 r89d204ea 77 77 </listitem> 78 78 79 <listitem><para>June 19, 2004 [matt]: chapter07 - console & chapter 08 - 80 kernel. Improved wording and re-introduced the option for compiling the keymap 81 directly into the kernel.</para></listitem> 82 79 83 <listitem><para>June 19, 2004 [matt]: chapter06 - e2fsprogs, brought 80 84 instructions inline with upstream recommendations.</para></listitem> -
chapter07/console.xml
rfe8b2f3 r89d204ea 92 92 EOF</userinput></screen> 93 93 94 <para>If you decided to 95 compile your keymap directly into the kernel later on in <xref 96 linkend="chapter-bootable"/> instead of setting it every time from the 97 <command>console</command> bootscript, then you don't need to run the 98 <command>loadkeys</command> program. Since the kernel will set up the keymap, 99 you can omit the KEYMAP variable from the 100 <filename>/etc/sysconfig/console</filename> 101 configuration file. If you wish, 102 you can still have it, this isn't going to hurt you. Keeping it could even 103 be beneficial, in case you run a lot of different kernels and can't be sure 104 that the keymap is compiled into every one of them.</para> 94 <para>If you want to compile your keymap directly into the kernel instead of 95 setting it every time from the <command>console</command> bootscript, then 96 instructions are given in <xref linkend="ch-bootable-kernel"/>. Doing this 97 ensures that your keyboard will always work as expected, even when you boot into 98 maintenance mode (by passing `init=/bin/sh' to the kernel), as in that 99 situation, the <command>console</command> bootscript won't be run.</para> 100 101 <para>Since the kernel will set up the keymap, you can omit the KEYMAP variable 102 from the <filename>/etc/sysconfig/console</filename> configuration file. If you 103 wish, you can still have it, this isn't going to hurt you. Keeping it could even 104 be beneficial, in case you run a lot of different kernels and can't be sure that 105 the keymap is compiled into every one of them.</para> 105 106 106 107 </sect1> -
chapter08/kernel.xml
rfe8b2f3 r89d204ea 44 44 un-tarring.</para> 45 45 46 <para>Also, assure that the kernel does not attempt to pass hotplugging events46 <para>Also, ensure that the kernel does not attempt to pass hotplugging events 47 47 to userspace until userspace specifies that it is ready:</para> 48 48 49 49 <screen><userinput>sed -i 's@/sbin/hotplug@/bin/true@' kernel/kmod.c</userinput></screen> 50 50 51 <para>If, in <xref linkend="ch-scripts-console"/>, you decided you want 52 to compile the keymap into the kernel, issue the command below:</para> 53 54 <screen><userinput>loadkeys -m 55 /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> > \ 56 <replaceable>[unpacked sources dir]</replaceable>/linux-&linux-version;/drivers/char/defkeymap.c</userinput></screen> 57 58 <para>For example, if you have a Dutch keyboard, you would use 59 <filename>/usr/share/kbd/keymaps/i386/qwerty/nl.map.gz</filename>.</para> 60 51 61 <para>Configure the kernel via a menu-driven interface:</para> 52 62 53 63 <screen><userinput>make menuconfig</userinput></screen> 54 64 55 <para>< command>make oldconfig</command> may be more appropriate in some65 <para><userinput>make oldconfig</userinput> may be more appropriate in some 56 66 situations. See the <filename>README</filename> file for more 57 67 information.</para> … … 70 80 71 81 <para>LFS bootscripts make the assumption that you either compile 72 both <quote>Support for Host-side USB</quote>and73 <quote>USB device filesystem</quote>directly into the kernel, or don't compile them at82 both "Support for Host-side USB" and 83 "USB device filesystem" directly into the kernel, or don't compile them at 74 84 all. Bootscripts will not work properly if it is a module (usbcore.ko).</para> 75 85 … … 121 131 122 132 <para>Kernel compilation has finished but more steps are required to complete 123 the installation. Some files need to be copied to the <filename class="directory">/boot</filename>133 the installation. Some files need to be copied to the <filename>/boot</filename> 124 134 directory.</para> 125 135 … … 155 165 <para>If you are going to keep the kernel source tree around, you may want to 156 166 run <userinput>chown -R 0:0</userinput> on the 157 <filename class="directory">linux-&linux-version;</filename> directory to ensure all files are167 <filename>linux-&linux-version;</filename> directory to ensure all files are 158 168 owned by user <emphasis>root</emphasis>.</para> 159 169 … … 190 200 <para>define the interface to the 191 201 services that the kernel provides. The headers in your system's 192 <filename class="directory">include</filename> directory should <emphasis>always</emphasis> be202 <filename>include</filename> directory should <emphasis>always</emphasis> be 193 203 the ones against which Glibc was compiled and should therefore 194 204 <emphasis>not</emphasis> be replaced when upgrading the kernel.</para>
Note:
See TracChangeset
for help on using the changeset viewer.