From d55cb636fce5068edf122931a3b08c010db5f9bd Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 19 Sep 2008 14:06:49 +0000 Subject: - install "cryptsetup" when needed --- perl-install/install/NEWS | 1 + perl-install/install/any.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index f8c4f2d64..dfa328746 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ - add a special license for google programs (only for "Powerpack" product) +- install "cryptsetup" when needed Version 11.47.1 - 17 September 2008 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/; -- cgit v1.2.1