[readonly/geninitrd/cryptrootfs: 6/6] - find modules.

draenog draenog at pld-linux.org
Sat Nov 2 19:25:38 CET 2013


commit 4124dbdbb787b00cbc1cc14cc05c0a57d5d12625
Author: serek <serek at pld-linux.org>
Date:   Fri Oct 8 15:31:39 2004 +0000

    - find modules.
    
    svn-id: @4729

 geninitrd | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/geninitrd b/geninitrd
index 1bd5eb6..4b0291c 100755
--- a/geninitrd
+++ b/geninitrd
@@ -1014,6 +1014,13 @@ if [ -n "$ifneeded" -a -z "$MODULES" ]; then
 	exit 0
 fi
 
+if [ -n "$AUTHTYPE" ]; then
+	findmodule dm-mod
+	findmodule dm-crypt
+	findmodule aes
+	findmodule $KEYMAT_FSTYPE
+fi
+
 if [ -n "$verbose" ]; then
 	echo "Using modules: $MODULES"
 fi
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/readonly/geninitrd.git/commitdiff/4124dbdbb787b00cbc1cc14cc05c0a57d5d12625



More information about the pld-cvs-commit mailing list