summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-07-06 12:20:28 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-07-06 12:20:28 +0000
commit07ee1140ee1a93ed71bc93e309f62bf58d036c6a (patch)
tree08535536a329dd19686cae4f4782329295f7de7c
parentc13a864115fc2b5630706ee8e70d51597705ede2 (diff)
downloaddrakx-07ee1140ee1a93ed71bc93e309f62bf58d036c6a.tar
drakx-07ee1140ee1a93ed71bc93e309f62bf58d036c6a.tar.gz
drakx-07ee1140ee1a93ed71bc93e309f62bf58d036c6a.tar.bz2
drakx-07ee1140ee1a93ed71bc93e309f62bf58d036c6a.tar.xz
drakx-07ee1140ee1a93ed71bc93e309f62bf58d036c6a.zip
(setDefaultPackages): use fsedit::package_needed_for_partition_type to get things like jfsprogs
-rw-r--r--perl-install/install_any.pm4
1 files changed, 1 insertions, 3 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index 5068ff53b..78283cf96 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -337,10 +337,8 @@ sub setDefaultPackages {
push @{$o->{default_packages}}, "kernel22" if !$::oem && c::kernel_version() =~ /^\Q2.2/;
push @{$o->{default_packages}}, "raidtools" if !is_empty_array_ref($o->{all_hds}{raids});
push @{$o->{default_packages}}, "lvm" if !is_empty_array_ref($o->{all_hds}{lvms});
- push @{$o->{default_packages}}, "reiserfsprogs" if grep { isThisFs("reiserfs", $_) } @{$o->{fstab}};
- push @{$o->{default_packages}}, "xfsprogs" if grep { isThisFs("xfs", $_) } @{$o->{fstab}};
- push @{$o->{default_packages}}, "jfsprogs" if grep { isThisFs("jfs", $_) } @{$o->{fstab}};
push @{$o->{default_packages}}, "alsa", "alsa-utils" if modules::get_alias("sound-slot-0") =~ /^snd-card-/;
+ push @{$o->{default_packages}}, uniq(grep {$_} map { fsedit::package_needed_for_partition_type($_) } @{$o->{fstab}});
#- if no cleaning needed, populate by default, clean is used for second or more call to this function.
unless ($clean) {