diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-03-03 14:44:11 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-03-03 14:44:11 +0000 |
commit | 931c0095861d417b02c4e7a4f2c6f6e9ba342bac (patch) | |
tree | f2bd31151f46f40c33684a3d22548e601230647b /perl-install/fs.pm | |
parent | 9a2bd5ae48d13b720cf1a3085fe4f60ad6786c2c (diff) | |
download | drakx-931c0095861d417b02c4e7a4f2c6f6e9ba342bac.tar drakx-931c0095861d417b02c4e7a4f2c6f6e9ba342bac.tar.gz drakx-931c0095861d417b02c4e7a4f2c6f6e9ba342bac.tar.bz2 drakx-931c0095861d417b02c4e7a4f2c6f6e9ba342bac.tar.xz drakx-931c0095861d417b02c4e7a4f2c6f6e9ba342bac.zip |
one now need cryptoloop and aes when using encryption (kernel 2.6)
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index 98ef8827b..f21e68dae 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -663,10 +663,7 @@ sub format_part { ################################################################################ sub set_loop { my ($part) = @_; - if (!$part->{real_device}) { - eval { modules::load('loop') }; - $part->{real_device} = devices::set_loop(devices::make($part->{device}), $part->{encrypt_key}, $part->{options} =~ /encryption=(\w+)/); - } + $part->{real_device} ||= devices::set_loop(devices::make($part->{device}), $part->{encrypt_key}, $part->{options} =~ /encryption=(\w+)/); } sub formatMount_part { |