Date: Fri, 2 Aug 2002 00:20:08 -0700 (PDT) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/41241: sysinstall build uses kbdcontrol keymaps from the host instead of the source tree Message-ID: <200208020720.g727K8I4061805@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/41241; it has been noted by GNATS. From: Peter Pentchev <roam@ringlet.net> To: David Sanderson <dsanderson@panasas.com> Cc: bug-followup@FreeBSD.org Subject: Re: conf/41241: sysinstall build uses kbdcontrol keymaps from the host instead of the source tree Date: Fri, 2 Aug 2002 10:16:24 +0300 On Thu, Aug 01, 2002 at 11:41:12AM -0700, David Sanderson wrote: > > >Number: 41241 > >Category: conf > >Synopsis: sysinstall build uses kbdcontrol keymaps from the host instead of the source tree > >Originator: David Sanderson > >Release: FreeBSD 4.6-RELEASE > >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 Might it not be better to use 'kbdcontrol -L ${.CURDIR}/$$map' ? G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 When you are not looking at it, this sentence is in Spanish. 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?200208020720.g727K8I4061805>