From d0d89fbf3007ee1a019da895af1d5bb32676bca1 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 11 Feb 2009 17:30:26 +0000 Subject: load cbc module for encrypted loop --- perl-install/NEWS | 1 + perl-install/devices.pm | 2 +- perl-install/install/NEWS | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index ff9ec1a31..6411d89d9 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -9,6 +9,7 @@ put it into first non removable drive (#47106) - do_pkgs: o add ensure_files_are_installed +- load cbc for encrypted loop Version 11.81 - 3 February 2009 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"); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index a26257ae2..6168f8d9a 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,6 +1,7 @@ - when installing to a removable device, put boot sector there, else put it into first non removable drive (#47106) - fix preserving UUID when formatting ext* and swap, and handle more FS (#39913) +- load cbc module for encrypted loop Version 11.83 - 6 February 2009 -- cgit v1.2.1