From d0cf48bf5c629d174a78b68ccd185e149ecf2194 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 29 Mar 2005 15:30:23 +0000 Subject: - 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 --- perl-install/modules.pm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'perl-install/modules.pm') 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) = @_; -- cgit v1.2.1