Date: Thu, 1 Aug 2002 11:41:12 -0700 (PDT) From: David Sanderson <dsanderson@panasas.com> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/41241: sysinstall build uses kbdcontrol keymaps from the host instead of the source tree Message-ID: <200208011841.g71IfCtA045724@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 41241
>Category: conf
>Synopsis: sysinstall build uses kbdcontrol keymaps from the host instead of the source tree
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 01 11:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: David Sanderson
>Release: FreeBSD 4.6-RELEASE
>Organization:
Panasas
>Environment:
FreeBSD rack-bsd3 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Tue Jun 11 06:14:12 GMT 2002 murray@builder.freebsdmall.com:/usr/src/sys/compile/GENERIC i386
>Description:
The build of sysinstall runs kbdcontrol -L with the unadorned names of
keymap files, which kbdcontrol finds on the host system instead of the
source tree. This is a problem when trying to compile the 4.6
sysinstall on an older system that does not have all the keymaps.
For instance, on FreeBSD 4.3 there is no ua.koi8-u.shift.alt keymap
file.
>How-To-Repeat:
mv /usr/share/syscons/keymaps /usr/share/syscons/keymaps.save
and try to build sysinstall.
>Fix:
The following patch to my copy of src/release/sysinstall/Makefile seems
to do the trick:
@@ -82,7 +82,7 @@
keymap.h:
rm -f keymap.tmp
for map in ${KEYMAPS} ; do \
- kbdcontrol -L $$map | \
+ (cd ${.CURDIR}/../../share/syscons/keymaps; kbdcontrol -L $$map) | \
sed -e '/^static accentmap_t/,$$d' >> keymap.tmp ; \
done
echo "static struct keymapInfo keymapInfos[] = {" >> keymap.tmp
>Release-Note:
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208011841.g71IfCtA045724>
