From a65fcb24427a8ac0cc89fb3469601721532bcd5d Mon Sep 17 00:00:00 2001 From: Jeremy Huntwork Date: Wed, 23 Apr 2008 12:46:41 +0000 Subject: 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 --- chapter06/kbd.xml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'chapter06/kbd.xml') 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 @@ After patching, the Backspace key generates the character with code 127, and the Delete key generates a well-known escape sequence. + In this version of Kbd the instructions to build + getkeycodes, setkeycodes and + resizecons do not get passed over to the generated + Makefile as they should. So that these programs + are built and installed add two lines to the top of + src/Makefile.in: + + +sed -i -e '1i KEYCODES_PROGS = @KEYCODES_PROGS@' \ + -e '1i RESIZECONS_PROGS = @RESIZECONS_PROGS@' src/Makefile.in + Prepare Kbd for compilation: ./configure --prefix=/usr --datadir=/lib/kbd @@ -85,12 +96,13 @@ Some of the scripts in the LFS-Bootscripts package depend on - kbd_mode, openvt, and + kbd_mode, loadkeys, + openvt, and setfont. As /usr may not be available during the early stages of booting, those binaries need to be on the root partition: -mv -v /usr/bin/{kbd_mode,openvt,setfont} /bin +mv -v /usr/bin/{kbd_mode,loadkeys,openvt,setfont} /bin -- cgit v1.2.3-54-g00ecf