aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kbd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/kbd.xml')
-rw-r--r--chapter06/kbd.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/chapter06/kbd.xml b/chapter06/kbd.xml
index fce93840d..235ad4990 100644
--- a/chapter06/kbd.xml
+++ b/chapter06/kbd.xml
@@ -49,6 +49,17 @@
<para>After patching, the Backspace key generates the character with code 127,
and the Delete key generates a well-known escape sequence.</para>
+ <para>In this version of Kbd the instructions to build
+ <filename>getkeycodes</filename>, <filename>setkeycodes</filename> and
+ <filename>resizecons</filename> do not get passed over to the generated
+ <filename>Makefile</filename> as they should. So that these programs
+ are built and installed add two lines to the top of
+ <filename>src/Makefile.in</filename>:
+ </para>
+
+<screen><userinput remap="pre">sed -i -e '1i KEYCODES_PROGS = @KEYCODES_PROGS@' \
+ -e '1i RESIZECONS_PROGS = @RESIZECONS_PROGS@' src/Makefile.in</userinput></screen>
+
<para>Prepare Kbd for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --datadir=/lib/kbd</userinput></screen>
@@ -85,12 +96,13 @@
</note>
<para>Some of the scripts in the LFS-Bootscripts package depend on
- <command>kbd_mode</command>, <command>openvt</command>, and
+ <command>kbd_mode</command>, <command>loadkeys</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 remap="install">mv -v /usr/bin/{kbd_mode,openvt,setfont} /bin</userinput></screen>
+<screen><userinput remap="install">mv -v /usr/bin/{kbd_mode,loadkeys,openvt,setfont} /bin</userinput></screen>
</sect2>