summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-08-29 09:26:21 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-08-29 09:26:21 +0000
commitaf775862b77d7062ec044636a2fa14bb58677879 (patch)
tree2098e91395a2cb41bd1e18db00394cf42ecb7bb6 /perl-install/modules.pm
parent435893b01e415c9be060c75bab99b0f9276b79c3 (diff)
downloaddrakx-af775862b77d7062ec044636a2fa14bb58677879.tar
drakx-af775862b77d7062ec044636a2fa14bb58677879.tar.gz
drakx-af775862b77d7062ec044636a2fa14bb58677879.tar.bz2
drakx-af775862b77d7062ec044636a2fa14bb58677879.tar.xz
drakx-af775862b77d7062ec044636a2fa14bb58677879.zip
better logging of ahci vs ata_piix special code
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 1c2ebe079..d176eed89 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -142,7 +142,9 @@ sub load_category {
if ($_->{error} && member($_->{driver}, 'ahci', 'ata_piix')) {
#- HACK: ahci and ata_piix handle the same hardware, it only depends on the bios configuration
- $_->{driver} = $_->{driver} eq 'ahci' ? 'ata_piix' : 'ahci';
+ my $other = $_->{driver} eq 'ahci' ? 'ata_piix' : 'ahci';
+ log::l("failure loading $_->{driver}, trying $other instead (error is: $_->{error})");
+ $_->{driver} = $other;
redo;
}