summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-03-29 15:30:23 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-03-29 15:30:23 +0000
commitd0cf48bf5c629d174a78b68ccd185e149ecf2194 (patch)
treeda207d6adf27dcacf0c893198fec52126ad1c56e /perl-install/modules.pm
parentf98aa98498cd9560387c9d7426f5d82f29b2786d (diff)
downloaddrakx-d0cf48bf5c629d174a78b68ccd185e149ecf2194.tar
drakx-d0cf48bf5c629d174a78b68ccd185e149ecf2194.tar.gz
drakx-d0cf48bf5c629d174a78b68ccd185e149ecf2194.tar.bz2
drakx-d0cf48bf5c629d174a78b68ccd185e149ecf2194.tar.xz
drakx-d0cf48bf5c629d174a78b68ccd185e149ecf2194.zip
- disable imm/ppa probe during install since it causes some rubbish to be printed (bugzilla #12560)
- add an option in harddrake to probe imm/ppa
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm12
1 files changed, 11 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 4f4d3b3f2..eb1203ca5 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -122,7 +122,6 @@ sub load_category {
my @try_modules = (
if_($category =~ /scsi/,
- if_(arch() !~ /ppc/, 'parport_pc', 'imm', 'ppa'),
if_(detect_devices::usbStorage(), 'usb-storage'),
),
arch() =~ /ppc/ ? (
@@ -145,6 +144,17 @@ sub load_category {
map { { driver => $_, description => $_, try => 1 } } @try_modules;
}
+sub load_parallel_zip {
+ my ($conf) = @_;
+
+ arch() !~ /ppc/ or return;
+
+ eval { modules::load('parport_pc') };
+ grep {
+ eval { modules::load_and_configure($conf, $_); 1 };
+ } 'imm', 'ppa';
+}
+
sub probe_category {
my ($category) = @_;