Changeset 89d204ea


Ignore:
Timestamp:
06/19/2004 08:11:58 PM (20 years ago)
Author:
Matthew Burgess <matthew@…>
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
Message:

Improved wording of keymap related paragraphs (bug 741)

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3818 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rfe8b2f3 r89d204ea  
    7777</listitem>
    7878
     79<listitem><para>June 19, 2004 [matt]: chapter07 - console &amp; chapter 08 -
     80kernel.  Improved wording and re-introduced the option for compiling the keymap
     81directly into the kernel.</para></listitem>
     82
    7983<listitem><para>June 19, 2004 [matt]: chapter06 - e2fsprogs, brought
    8084instructions inline with upstream recommendations.</para></listitem>
  • chapter07/console.xml

    rfe8b2f3 r89d204ea  
    9292EOF</userinput></screen>
    9393
    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
     95setting it every time from the <command>console</command> bootscript, then
     96instructions are given in <xref linkend="ch-bootable-kernel"/>.  Doing this
     97ensures that your keyboard will always work as expected, even when you boot into
     98maintenance mode (by passing `init=/bin/sh' to the kernel), as in that
     99situation, 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
     102from the <filename>/etc/sysconfig/console</filename> configuration file. If you
     103wish, you can still have it, this isn't going to hurt you. Keeping it could even
     104be beneficial, in case you run a lot of different kernels and can't be sure that
     105the keymap is compiled into every one of them.</para>
    105106
    106107</sect1>
  • chapter08/kernel.xml

    rfe8b2f3 r89d204ea  
    4444un-tarring.</para>
    4545
    46 <para>Also, assure that the kernel does not attempt to pass hotplugging events
     46<para>Also, ensure that the kernel does not attempt to pass hotplugging events
    4747to userspace until userspace specifies that it is ready:</para>
    4848
    4949<screen><userinput>sed -i 's@/sbin/hotplug@/bin/true@' kernel/kmod.c</userinput></screen>
    5050
     51<para>If, in <xref linkend="ch-scripts-console"/>, you decided you want
     52to 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> &gt; \
     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
    5161<para>Configure the kernel via a menu-driven interface:</para>
    5262
    5363<screen><userinput>make menuconfig</userinput></screen>
    5464
    55 <para><command>make oldconfig</command> may be more appropriate in some
     65<para><userinput>make oldconfig</userinput> may be more appropriate in some
    5666situations. See the <filename>README</filename> file for more
    5767information.</para>
     
    7080
    7181<para>LFS bootscripts make the assumption that you either compile
    72 both <quote>Support for Host-side USB</quote> and
    73 <quote>USB device filesystem</quote> directly into the kernel, or don't compile them at
     82both "Support for Host-side USB" and
     83"USB device filesystem" directly into the kernel, or don't compile them at
    7484all. Bootscripts will not work properly if it is a module (usbcore.ko).</para>
    7585
     
    121131
    122132<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>
     133the installation. Some files need to be copied to the <filename>/boot</filename>
    124134directory.</para>
    125135
     
    155165<para>If you are going to keep the kernel source tree around, you may want to
    156166run <userinput>chown -R 0:0</userinput> on the
    157 <filename class="directory">linux-&linux-version;</filename> directory to ensure all files are
     167<filename>linux-&linux-version;</filename> directory to ensure all files are
    158168owned by user <emphasis>root</emphasis>.</para>
    159169
     
    190200<para>define the interface to the
    191201services that the kernel provides. The headers in your system's
    192 <filename class="directory">include</filename> directory should <emphasis>always</emphasis> be
     202<filename>include</filename> directory should <emphasis>always</emphasis> be
    193203the ones against which Glibc was compiled and should therefore
    194204<emphasis>not</emphasis> be replaced when upgrading the kernel.</para>
Note: See TracChangeset for help on using the changeset viewer.