diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2013-10-07 08:32:09 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 04:27:29 +0200 |
commit | 529eee61e485ad305ae78f4c54ee3377e0bd6b44 (patch) | |
tree | 0a1e250cc5592dc3ec221685f49889a9d2e3ce0f | |
parent | 7311edb67891fc8a74ccf75677ee4c6a20634bb7 (diff) |
Bugfix.
-rwxr-xr-x | pre-partman.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pre-partman.sh b/pre-partman.sh index 61359a4..5c394ed 100755 --- a/pre-partman.sh +++ b/pre-partman.sh @@ -201,6 +201,9 @@ parted -sm $dev align-check opt ${system#$dev} # Encryption anna-install cryptsetup-udeb crypto-dm-modules +if dmsetup targets | cut -d' ' -f1 | grep -q '^crypt$'; then true; else + insmod /lib/modules/`uname -r`/kernel/drivers/md/dm-crypt.ko +fi arch=$(uname -m) if [ x"$arch" = x"x86_64" ]; then |