summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-06-30 04:38:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-06-30 04:38:19 +0000
commit8f104606152618bceb05fc3b1752308c3400f08d (patch)
treeb7cac8767677d44cc32a5211d90b0dd3d8603d60
parentc663b9ce48ca18b6698e3fd1ff7cddaffc76cc0e (diff)
downloaddrakx-backup-do-not-use-8f104606152618bceb05fc3b1752308c3400f08d.tar
drakx-backup-do-not-use-8f104606152618bceb05fc3b1752308c3400f08d.tar.gz
drakx-backup-do-not-use-8f104606152618bceb05fc3b1752308c3400f08d.tar.bz2
drakx-backup-do-not-use-8f104606152618bceb05fc3b1752308c3400f08d.tar.xz
drakx-backup-do-not-use-8f104606152618bceb05fc3b1752308c3400f08d.zip
install dmraid if needed
-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 0e09e6f6a..0bf784090 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -846,6 +846,7 @@ sub default_packages {
push @l, "numlock" if $o->{miscellaneous}{numlock};
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, "dmraid" if any { $_->{bus} =~ /^dmraid_/ } $o->{all_hds}{hds};
push @l, "alsa", "alsa-utils" if any { $o->{modules_conf}->get_alias("sound-slot-$_") =~ /^snd-/ } 0 .. 4;
push @l, detect_devices::probe_name('Pkg');