Changeset a65fcb24 for chapter06/kbd.xml


Ignore:
Timestamp:
04/23/2008 12:46:41 PM (16 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
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.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:
9505860
Parents:
4e6c0c5
Message:

Fixed kbd to build and install setkeycodes, getkeycodes and resizecons.
Also move loadkeys to /bin from /usr/bin for use by the bootscripts.
Thanks, Greg Schafer.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/kbd.xml

    r4e6c0c5 ra65fcb24  
    5050    and the Delete key generates a well-known escape sequence.</para>
    5151
     52    <para>In this version of Kbd the instructions to build
     53    <filename>getkeycodes</filename>, <filename>setkeycodes</filename> and
     54    <filename>resizecons</filename> do not get passed over to the generated
     55    <filename>Makefile</filename> as they should. So that these programs
     56    are built and installed add two lines to the top of
     57    <filename>src/Makefile.in</filename>:
     58    </para>
     59
     60<screen><userinput remap="pre">sed -i -e '1i KEYCODES_PROGS = @KEYCODES_PROGS@' \
     61    -e '1i RESIZECONS_PROGS = @RESIZECONS_PROGS@' src/Makefile.in</userinput></screen>
     62
    5263    <para>Prepare Kbd for compilation:</para>
    5364
     
    8697
    8798    <para>Some of the scripts in the LFS-Bootscripts package depend on
    88     <command>kbd_mode</command>, <command>openvt</command>, and
     99    <command>kbd_mode</command>, <command>loadkeys</command>,
     100    <command>openvt</command>, and
    89101    <command>setfont</command>.  As <filename class="directory">/usr</filename>
    90102    may not be available during the early stages of booting, those binaries
    91103    need to be on the root partition:</para>
    92104
    93 <screen><userinput remap="install">mv -v /usr/bin/{kbd_mode,openvt,setfont} /bin</userinput></screen>
     105<screen><userinput remap="install">mv -v /usr/bin/{kbd_mode,loadkeys,openvt,setfont} /bin</userinput></screen>
    94106
    95107  </sect2>
Note: See TracChangeset for help on using the changeset viewer.