diff options
author | Pascal Terjan <pterjan@mandriva.org> | 2009-02-11 17:30:26 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mandriva.org> | 2009-02-11 17:30:26 +0000 |
commit | d0d89fbf3007ee1a019da895af1d5bb32676bca1 (patch) | |
tree | 68fda92e9ff4d92e2b9fc9933cb04b512c013254 /perl-install/devices.pm | |
parent | e9843d14bcb24f60fbfbaf84e8e35b9fd041c6a8 (diff) | |
download | drakx-backup-do-not-use-d0d89fbf3007ee1a019da895af1d5bb32676bca1.tar drakx-backup-do-not-use-d0d89fbf3007ee1a019da895af1d5bb32676bca1.tar.gz drakx-backup-do-not-use-d0d89fbf3007ee1a019da895af1d5bb32676bca1.tar.bz2 drakx-backup-do-not-use-d0d89fbf3007ee1a019da895af1d5bb32676bca1.tar.xz drakx-backup-do-not-use-d0d89fbf3007ee1a019da895af1d5bb32676bca1.zip |
load cbc module for encrypted loop
Diffstat (limited to 'perl-install/devices.pm')
-rw-r--r-- | perl-install/devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/devices.pm b/perl-install/devices.pm index 40c420306..09606f7ca 100644 --- a/perl-install/devices.pm +++ b/perl-install/devices.pm @@ -28,7 +28,7 @@ sub set_loop { my $dev = find_free_loop(); if ($o_encrypt_key && $o_encryption) { - eval { modules::load('cryptoloop', arch() =~ /i.86/ ? 'aes-i586' : 'aes') }; + eval { modules::load('cryptoloop', 'cbc', arch() =~ /i.86/ ? 'aes-i586' : 'aes') }; my $cmd = "losetup -p 0 -e $o_encryption $dev $file"; log::l("calling $cmd"); open(my $F, "|$cmd"); |