Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 2565d442133d17866d7a0458852920c6 > files > 115

dracut-005-5.fc13.src.rpm

From 041b5ec7d905aee822199a2024113fab4df66946 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 9 Aug 2010 13:24:08 +0200
Subject: [PATCH 115/133] crypt: depend on dm

---
 modules.d/90crypt/check |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules.d/90crypt/check b/modules.d/90crypt/check
index 852695b..a34a05e 100755
--- a/modules.d/90crypt/check
+++ b/modules.d/90crypt/check
@@ -3,6 +3,8 @@
 # if cryptsetup is not installed, then we cannot support encrypted devices.
 which cryptsetup >/dev/null 2>&1 || exit 1
 
+[ "$1" = "-d" ] && echo dm
+
 # hostonly checking should only return true if root is on a LUKS device
 # in some way, but I am too lazy to figure out how to do that.
 # Instead, fail if we do not have a LUKS device in use somewhere.
-- 
1.7.3