Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2001 14:59:09 +0200
From:      Thomas Quinot <thomas@cuivre.fr.eu.org>
To:        stable@freebsd.org
Subject:   Recompiling -stable sysinstall
Message-ID:  <20010615145909.A48238@melusine.cuivre.fr.eu.org>

next in thread | raw e-mail | index | archive | help
Hi all,

Trying to resolve a sysinstall problem (PR kern/24596), I endeavoured
to recompile sysinstall. My source tree was cvsupped yesterday, and
I have made a buildworld and buildkernel, but not installworld yet.

Sysinstall failed to compile, because its Makefile assumes that the
installed syscons keymaps match the source tree version (which was not
the case because my previous make world did not include the Ukrainian
keymaps).

I do not know whether sysinstall should be comilable when world has
been built but not yet installed. If so the following patch resolves
this problem (it uses the source tree keymaps instead of the installed
ones):

--- release/sysinstall/Makefile.dist	Thu Jun 14 21:55:05 2001
+++ release/sysinstall/Makefile	Fri Jun 15 14:52:04 2001
@@ -87,7 +87,8 @@
 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

-- 
    Thomas.Quinot@Cuivre.FR.EU.ORG

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010615145909.A48238>