summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/dmcrypt.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-04 06:35:35 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-04 06:35:35 +0000
commit4b1037bbf01c4aad8cddc51e409dac93ba998d95 (patch)
tree13bd432c15480b8bcbd5a8e25810a3717632df8d /perl-install/fs/dmcrypt.pm
parentdfd162a812644c03662f885511bef2ab8129cdf6 (diff)
downloaddrakx-4b1037bbf01c4aad8cddc51e409dac93ba998d95.tar
drakx-4b1037bbf01c4aad8cddc51e409dac93ba998d95.tar.gz
drakx-4b1037bbf01c4aad8cddc51e409dac93ba998d95.tar.bz2
drakx-4b1037bbf01c4aad8cddc51e409dac93ba998d95.tar.xz
drakx-4b1037bbf01c4aad8cddc51e409dac93ba998d95.zip
use factorized crypto modules list
Diffstat (limited to 'perl-install/fs/dmcrypt.pm')
-rw-r--r--perl-install/fs/dmcrypt.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/dmcrypt.pm b/perl-install/fs/dmcrypt.pm
index a0f5b6559..bc611455e 100644
--- a/perl-install/fs/dmcrypt.pm
+++ b/perl-install/fs/dmcrypt.pm
@@ -16,7 +16,7 @@ sub _crypttab() { "$::prefix/etc/crypttab" }
sub init() {
whereis_binary('cryptsetup') or die "cryptsetup not installed";
- eval { modules::load('dm-crypt', 'xts', 'cbc', 'sha256_generic', if_(arch() =~ /i.86/, 'aes-i586'), if_(arch() =~ /x86_64/, 'aes-x86_64'), 'aes_generic') };
+ eval { modules::load('dm-crypt', list_modules::category2modules('various/crypto')) };
devices::init_device_mapper();
1;
}