summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/service_harddrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-10-29 17:14:07 +0000
committerThierry Vignaud <tv@mandriva.org>2009-10-29 17:14:07 +0000
commitc6bb75b746504a2536148bdb17d214caace4e69f (patch)
tree52afa5bb7ef33bbeb1452171a984787d507efda8 /perl-install/standalone/service_harddrake
parentaa49e165ee7e2fae509f5c81494b874135f05e72 (diff)
downloaddrakx-c6bb75b746504a2536148bdb17d214caace4e69f.tar
drakx-c6bb75b746504a2536148bdb17d214caace4e69f.tar.gz
drakx-c6bb75b746504a2536148bdb17d214caace4e69f.tar.bz2
drakx-c6bb75b746504a2536148bdb17d214caace4e69f.tar.xz
drakx-c6bb75b746504a2536148bdb17d214caace4e69f.zip
better messages
Diffstat (limited to 'perl-install/standalone/service_harddrake')
-rwxr-xr-xperl-install/standalone/service_harddrake6
1 files changed, 4 insertions, 2 deletions
diff --git a/perl-install/standalone/service_harddrake b/perl-install/standalone/service_harddrake
index d2a4cd6a9..9ce34d608 100755
--- a/perl-install/standalone/service_harddrake
+++ b/perl-install/standalone/service_harddrake
@@ -135,7 +135,8 @@ foreach my $device (@devices) {
next if $previous_xorg_config{XORG_DRV} eq $new_key;
if (!member($current_driver, $card_data->{Driver}, $card_data->{Driver2}, 'fbdev', 'vesa')) {
- my $reason = N("no more supported by this driver");
+ my $reason = N("The graphic card '%s' is no more supported by the '%s' driver",
+ $device->{description}, $current_driver);
switch_x_driver($current_driver, $card_data->{Driver}, $reason);
schedule_warn_about_switch($reason) if any { $current_driver =~ $_->{xorg_driver_regexp} } @cards;
next;
@@ -163,7 +164,8 @@ foreach my $card (@cards) {
my $driver = $cards[0]{Driver};
my $old_driver = cat_('/etc/X11/xorg.conf') =~ /Driver "($card->{xorg_driver_regexp})"/ && $1;
if ($old_driver) {
- my $reason = N("proprietary driver not found for current driver");
+ my $reason = N("The proprietary kernel driver was not found for '%s' xorg driver",
+ $old_driver);
switch_x_driver($card->{xorg_driver_regexp}, $driver, $reason);
schedule_warn_about_switch($reason);
}