Author: jsuchome Date: Thu Dec 18 11:10:41 2008 New Revision: 54266 URL: http://svn.opensuse.org/viewcvs/yast?rev=54266&view=rev Log: - call xset to prevent black screen during firstboot (bnc#455771) - 2.18.1 Modified: trunk/country/VERSION trunk/country/package/yast2-country.changes trunk/country/timezone/src/Timezone.ycp Modified: trunk/country/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/VERSION?rev=54266&r1=54265&r2=54266&view=diff ============================================================================== --- trunk/country/VERSION (original) +++ trunk/country/VERSION Thu Dec 18 11:10:41 2008 @@ -1 +1 @@ -2.18.0 +2.18.1 Modified: trunk/country/package/yast2-country.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/package/yast2-country.changes?rev=54266&r1=54265&r2=54266&view=diff ============================================================================== --- trunk/country/package/yast2-country.changes (original) +++ trunk/country/package/yast2-country.changes Thu Dec 18 11:10:41 2008 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 18 11:10:10 CET 2008 - jsuchome@suse.cz + +- call xset to prevent black screen during firstboot (bnc#455771) +- 2.18.1 + +------------------------------------------------------------------- Tue Dec 16 20:02:03 CET 2008 - jsuchome@suse.cz - even more space for French texts (bnc#446460) Modified: trunk/country/timezone/src/Timezone.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/country/timezone/src/Timezone.ycp?rev=54266&r1=54265&r2=54266&view=diff ============================================================================== --- trunk/country/timezone/src/Timezone.ycp (original) +++ trunk/country/timezone/src/Timezone.ycp Thu Dec 18 11:10:41 2008 @@ -244,7 +244,15 @@ // if (!Mode::config () && really ) { - boolean textmode = Language::GetTextMode (); + boolean textmode = Language::GetTextMode (); + // turn off the screensaver when clock can change radically (bnc#455771) + // (in non-firstboot cases, installation process handles it) + if (Stage::firstboot() && !textmode) + { + SCR::Execute ( .target.bash, "/usr/X11R6/bin/xset -dpms"); + SCR::Execute ( .target.bash, "/usr/X11R6/bin/xset s reset"); + SCR::Execute ( .target.bash, "/usr/X11R6/bin/xset s off"); + } string cmd = "/usr/sbin/zic -l " + timezone; y2milestone( "Set cmd %1", cmd ); y2milestone( "Set ret %1", SCR::Execute( .target.bash_output, cmd )); @@ -254,6 +262,11 @@ y2milestone( "Set cmd %1", cmd ); y2milestone( "Set ret %1", SCR::Execute(.target.bash_output, cmd )); } + if (Stage::firstboot() && !textmode) + { + SCR::Execute (.target.bash, "/usr/X11R6/bin/xset s on"); + SCR::Execute ( .target.bash, "/usr/X11R6/bin/xset +dpms"); + } } // On first assignment store default timezone. -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org