summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-10-03 15:04:14 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-10-03 15:04:14 +0000
commita4bfa7746af6c2994c59ed52b246e67c82e9dfa2 (patch)
treec90229cf1a9a239643e101c070b4b25b67b25471 /perl-install/install_any.pm
parent9b1c0f05215d1e88932821a2e42a86a8c2edb038 (diff)
downloaddrakx-a4bfa7746af6c2994c59ed52b246e67c82e9dfa2.tar
drakx-a4bfa7746af6c2994c59ed52b246e67c82e9dfa2.tar.gz
drakx-a4bfa7746af6c2994c59ed52b246e67c82e9dfa2.tar.bz2
drakx-a4bfa7746af6c2994c59ed52b246e67c82e9dfa2.tar.xz
drakx-a4bfa7746af6c2994c59ed52b246e67c82e9dfa2.zip
notice bug
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 6c82f023a..1d5d87d27 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -322,6 +322,7 @@ 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});
+ # BUG: if first snd card is managed by OSS and the second one by alsa, we do not install alsa-utils:
push @{$o->{default_packages}}, "alsa", "alsa-utils" if modules::get_alias("sound-slot-0") =~ /^snd-/;
push @{$o->{default_packages}}, "grub" if isLoopback(fsedit::get_root($o->{fstab}));
push @{$o->{default_packages}}, uniq(grep { $_ } map { fsedit::package_needed_for_partition_type($_) } @{$o->{fstab}});