[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] base-config update for console-tools



Hi,

I've checked in some patches to switch us over to using console-tools
instead of kbd in the installer and base disks (because kbd was
deprecated a while back, and dselect wants to replace it with
console-tools anyway...)

base-config just needs this small patch:

Cheers

--- debian/config.orig	Sat Feb 19 02:35:52 2000
+++ debian/config	Sun Feb 27 14:20:54 2000
@@ -37,15 +37,16 @@
 	if [ "$KEYBD" ]; then
 		# do automatic configuration
 		loadkeys /usr/share/keymaps/${KEYBD}.kmap.gz
-		dumpkeys > /etc/kbd/default.map
-		gzip -9fv /etc/kbd/default.map
+		dumpkeys > /etc/console-tools/default.kmap
+		gzip -9fv /etc/console-tools/default.kmap
 	elif [ "$SERIALCONSOLE" ]; then
 		# we are on serial console -- no kbd config at all
-		dpkg --purge console-data kbd </dev/tty >/dev/tty || true
-	elif [ ! -f /etc/kbd/default.map.gz -a -f /bin/loadkeys ]; then
+		dpkg --purge console-data console-tools console-tools-libs \
+		    </dev/tty >/dev/tty || true
+	elif [ ! -f /etc/console-tools/default.kmap.gz -a -f /bin/loadkeys ]; then
 		# no file -- ask user
 		kbdconfig </dev/tty >/dev/tty || true
-		if ! loadkeys /etc/kbd/default.kmap.gz; then
+		if ! loadkeys /etc/console-tools/default.kmap.gz; then
 			db_input critical base-config/keymap-failed
 			db_go
 		fi


Reply to: