aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kbd.xml
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2006-07-13 15:28:35 +0000
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2006-07-13 15:28:35 +0000
commitb540268f6ab54e1f83feeb0d325335dd51b952ad (patch)
treedb76d2cdc167366bc88485ce45cd9a47bb26a1e3 /chapter06/kbd.xml
parent83f017331fdfbe05eda75eb76e397fdbecae14ec (diff)
Moved the executables: nice, find, kbd_mode, openvt, and setfont to /bin. Added --datadir=/lib/kbd to kbd's configure.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7668 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/kbd.xml')
-rw-r--r--chapter06/kbd.xml33
1 files changed, 29 insertions, 4 deletions
diff --git a/chapter06/kbd.xml b/chapter06/kbd.xml
index fde7b799d..1ada7b17c 100644
--- a/chapter06/kbd.xml
+++ b/chapter06/kbd.xml
@@ -50,7 +50,21 @@
<para>Prepare Kbd for compilation:</para>
-<screen><userinput>./configure</userinput></screen>
+<screen><userinput>./configure --datadir=/lib/kbd</userinput></screen>
+
+ <variablelist>
+ <title>The meaning of the configure options:</title>
+
+ <varlistentry>
+ <term><parameter>--datadir=/lib/kbd</parameter></term>
+ <listitem>
+ <para>This option puts keyboard layout data in a directory that will
+ always be on the root partition instead of the default <filename
+ class="directory">/usr/share/kbd</filename>.</para>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
<para>Compile the package:</para>
@@ -64,11 +78,22 @@
<note>
<para>For some languages (e.g., Belarusian) the Kbd package doesn't
- provide a useful keymap (the stock <quote>by</quote> keymap assumes the
- ISO-8859-5 encoding, while everybody uses CP1251 instead). Users of such
- languages have to download working keymaps separately.</para>
+ provide a useful keymap where the stock <quote>by</quote> keymap assumes
+ the ISO-8859-5 encoding, and the CP1251 keymap is normally used. Users of
+ such languages have to download working keymaps separately.</para>
</note>
+ <para>Some of the scripts in the LFS-Bootscripts package depend on
+ <command>kbd_mode</command>, <command>openvt</command>, and
+ <command>setfont</command>. As <filename class="directory">/usr</filename>
+ may not be available during the early stages of booting, those binaries
+ need to be on the root partition:</para>
+
+<screen><userinput>mv -v /usr/bin/{kbd_mode,openvt,setfont} /bin</userinput></screen>
+
+
+
+
</sect2>
<sect2 id="contents-kbd" role="content">