From 13023a5c5ba4178c3d34204b8477d006cf587705 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 2 Oct 2008 16:32:36 +0000 Subject: log activation of light desktop mode --- perl-install/install/NEWS | 1 + perl-install/install/any.pm | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 7572e9dcd..b5e63c0ea 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,5 +1,6 @@ - when upgrading a kde3 box, force installation of task-kde4 - adjust some help IDs +- log activation of light desktop mode Version 11.66.1 - 2 October 2008 diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index da40aa82b..5a1ab159e 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -495,7 +495,10 @@ sub rpmsrate_always_flags { $rpmsrate_flags_chosen->{HIGH_SECURITY} = 1 if $o->{security} > 3; $rpmsrate_flags_chosen->{BIGMEM} = 1 if detect_devices::BIGMEM(); $rpmsrate_flags_chosen->{SMP} = 1 if $o->{match_all_hardware} || detect_devices::hasSMP(); - $rpmsrate_flags_chosen->{LIGHT} = 1 if !$o->{match_all_hardware} && !defined $o->{compssListLevel} && detect_devices::need_light_desktop(); + if (!$o->{match_all_hardware} && !defined $o->{compssListLevel} && detect_devices::need_light_desktop()) { + log::l("activation light desktop mode (for low resources systems or netbook/nettops)"); + $rpmsrate_flags_chosen->{LIGHT} = 1; + } $rpmsrate_flags_chosen->{'3D'} = 1 if $o->{match_all_hardware} || detect_devices::matching_desc__regexp('Matrox.* G[245][05]0') || -- cgit v1.2.1