mirror of
https://github.com/dracutdevs/dracut.git
synced 2024-10-27 17:55:47 +03:00
crypt: depend on dm
This commit is contained in:
parent
26df1299cb
commit
9c7f67a94d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user