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

Bug#335505: Suggested patch



package initramfs-tools
found 335505 0.42
thanks

Hi. I can confirm this bug exists in 0.42 (telling it to BTS, too).
Attached is a patch I made to fix this locally.

--- /home/tv/kernelextras.orig	2005-11-17 22:03:09.000000000 +0200
+++ /usr/share/initramfs-tools/hooks/kernelextras	2005-12-12 11:14:46.000000000 +0200
@@ -25,8 +25,8 @@
 
 fbcon=n
 
-for x in ${MODULESDIR}/initrd/*; do
-	x=${x##*/}
+find "${MODULESDIR}/initrd" -mindepth 1 -printf '%f\n' \
+| while read x; do
 	x=${x%.*}
 	case ${x} in
 	*fb)

Reply to: