summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-09-19 14:06:49 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-09-19 14:06:49 +0000
commitd55cb636fce5068edf122931a3b08c010db5f9bd (patch)
tree60c3546fa765c4905696201abb84605dd40278d1 /perl-install/install/any.pm
parentcff246889c98ebfcbad5150d43aa0cbdcf598257 (diff)
downloaddrakx-d55cb636fce5068edf122931a3b08c010db5f9bd.tar
drakx-d55cb636fce5068edf122931a3b08c010db5f9bd.tar.gz
drakx-d55cb636fce5068edf122931a3b08c010db5f9bd.tar.bz2
drakx-d55cb636fce5068edf122931a3b08c010db5f9bd.tar.xz
drakx-d55cb636fce5068edf122931a3b08c010db5f9bd.zip
- install "cryptsetup" when needed
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index b5e97310b..9f02e359b 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -513,6 +513,7 @@ sub default_packages {
push @l, "nfs-utils-clients" if $o->{method} eq "nfs";
push @l, "mdadm" if !is_empty_array_ref($o->{all_hds}{raids});
push @l, "lvm2" if !is_empty_array_ref($o->{all_hds}{lvms});
+ push @l, "cryptsetup" if !is_empty_array_ref($o->{all_hds}{dmcrypts});
push @l, "dmraid" if any { fs::type::is_dmraid($_) } @{$o->{all_hds}{hds}};
push @l, 'powernowd' if cat_('/proc/cpuinfo') =~ /AuthenticAMD/ && arch() =~ /x86_64/
|| cat_('/proc/cpuinfo') =~ /model name.*Intel\(R\) Core\(TM\)2 CPU/;