r3105 - in trunk/utils/initrd-tools: . debian

Sven Luther luther@costa.debian.org
Sat, 14 May 2005 06:37:51 +0000


Author: luther
Date: 2005-05-14 06:37:50 +0000 (Sat, 14 May 2005)
New Revision: 3105

Modified:
   trunk/utils/initrd-tools/debian/changelog
   trunk/utils/initrd-tools/mkinitrd
Log:
Added keyboard modules on powerpc.


Modified: trunk/utils/initrd-tools/debian/changelog
===================================================================
--- trunk/utils/initrd-tools/debian/changelog	2005-05-14 05:55:07 UTC (rev 3104)
+++ trunk/utils/initrd-tools/debian/changelog	2005-05-14 06:37:50 UTC (rev 3105)
@@ -1,3 +1,10 @@
+initrd-tools (0.1.80) UNRELEASED; urgency=high
+
+  * Sven Luther
+    - Let's add the keyboard input modules on powerpc.
+
+ -- Sven Luther <luther@debian.org>  Sat, 14 May 2005 07:26:58 +0200
+
 initrd-tools (0.1.79) unstable; urgency=high
 
   * Steve Langasek

Modified: trunk/utils/initrd-tools/mkinitrd
===================================================================
--- trunk/utils/initrd-tools/mkinitrd	2005-05-14 05:55:07 UTC (rev 3104)
+++ trunk/utils/initrd-tools/mkinitrd	2005-05-14 06:37:50 UTC (rev 3105)
@@ -1128,6 +1128,13 @@
 	shell=/bin/dash
 	[ -f $shell ] || shell=/bin/ash
 
+	# Let's add the keyboard input modules on powerpc
+	if [ `dpkg --print-architecture` = "powerpc" ]; then
+		for m in i8042 atkbd ohci-hcd uhci-hcd usbhid; do
+			echo ". $m 2> /dev/null" >> modules.3;
+		done;
+	fi
+
 	egrep -v '^(#.*)?$' "$CONFDIR"/modules | cat -n - modules |
 		sort -u -k 2 | sort -n -k 1,1 > modules.1