[PATCH] Fix fix: search these without -* appendix.

Christian Jaeger christian at jaeger.mine.nu
Wed Dec 10 23:05:24 UTC 2008


Still, I don't know whether this is the proper solution. But at least
it works for me.

Signed-off-by: Christian Jaeger <christian at jaeger.mine.nu>
---
 debian/initramfs/cryptroot-hook |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debian/initramfs/cryptroot-hook b/debian/initramfs/cryptroot-hook
index 1e30b50..263edf4 100644
--- a/debian/initramfs/cryptroot-hook
+++ b/debian/initramfs/cryptroot-hook
@@ -414,7 +414,7 @@ add_crypto_modules() {
 	done
 
 	if [ -z "$found" ]; then
-		for file in $(find "$MODULESDIR/kernel/drivers/" -name "$mod-*.ko"); do
+		for file in $(find "$MODULESDIR/kernel/drivers/" -name "${mod}.ko"); do
 			altmod="${file##*/}"
 			altmod="${altmod%.ko}"
 			manual_add_modules "$altmod"
-- 
1.6.0.5


--------------040205070700080306060505--





More information about the pkg-cryptsetup-devel mailing list