Date: Fri, 2 Aug 2002 07:10:05 -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: <200208021410.g72EA5L4040404@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 17:03:38 +0300 --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Aug 02, 2002 at 09:54:36AM -0400, David Sanderson wrote: > | > >Fix: > | > The following patch to my copy of src/release/sysinstall/Makefile see= ms > | > to do the trick: > | >=20 > | > @@ -82,7 +82,7 @@ > | > keymap.h: > | > rm -f keymap.tmp > | > for map in ${KEYMAPS} ; do \ > | > - kbdcontrol -L $$map | \ > | > + (cd ${.CURDIR}/../../share/syscons/keymaps; kbdcontro= l -L $$map) | \ > | > sed -e '/^static accentmap_t/,$$d' >> keymap.= tmp ; \ > | > done > | > echo "static struct keymapInfo keymapInfos[] =3D {" >> keymap= .tmp > |=20 > | Might it not be better to use 'kbdcontrol -L ${.CURDIR}/$$map' ? [snip]=20 > The problem with doing this is that kbdcontrol incorporates the path > given on the command line into the names of the variables it creates. > For instance (using installed keymaps): >=20 > $ kbdcontrol -L /usr/share/syscons/keymaps/ua.koi8-u.kbd | grep ua_koi8 > static keymap_t keymap__usr_share_syscons_keymaps_ua_koi8_u_kbd =3D { 0xe= c, { > static accentmap_t accentmap__usr_share_syscons_keymaps_ua_koi8_u_kbd =3D= { 0 }; > $ kbdcontrol -L ua.koi8-u.kbd | grep ua_koi8 > static keymap_t keymap_ua_koi8_u_kbd =3D { 0xec, { > static accentmap_t accentmap_ua_koi8_u_kbd =3D { 0 }; Ah.. I wasn't aware of that. Too lazy to check, basically :( OK then, I see your point. G'luck, Peter --=20 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 This sentence claims to be an Epimenides paradox, but it is lying. --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9SpE67Ri2jRYZRVMRAoG5AJ4nKJ4jYAUvQehx65seuJOsQk0g7ACePCiR qNAN5Q9LdRX3WXExIGM25EA= =yXJ5 -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- 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?200208021410.g72EA5L4040404>