diff options
author | Thierry Vignaud <tv@mageia.org> | 2013-04-23 19:28:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2013-04-23 19:28:05 +0000 |
commit | 9a85819bad00420ca8cb5965021f0dd76ec565ad (patch) | |
tree | 5e1b5f5afe81ecb4720b7a00ffb808e509de2a06 /perl-install/diskdrake | |
parent | 3980ebfd98fe7be5cce63bdfba0c567a052d996a (diff) | |
download | drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar.gz drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar.bz2 drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.tar.xz drakx-9a85819bad00420ca8cb5965021f0dd76ec565ad.zip |
fix a crash when reloading partition table (mga#9838)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r-- | perl-install/diskdrake/interactive.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm index 02ab8bdb1..011d61422 100644 --- a/perl-install/diskdrake/interactive.pm +++ b/perl-install/diskdrake/interactive.pm @@ -961,6 +961,7 @@ sub dmcrypt_open { sub detect_lvms_on_dmcrypt { my ($all_hds) = @_, require File::Temp; + require fs::dmcrypt; my (undef, $tmp_file) = File::Temp::mkstemp('/tmp/crypttab.XXXXXXX'); fs::dmcrypt::save_crypttab_($all_hds, $tmp_file); $all_hds->{lvms} = [ fsedit::lvms($all_hds) ]; |