Author: jsrain Date: Thu Oct 11 16:42:54 2007 New Revision: 41391 URL: http://svn.opensuse.org/viewcvs/yast?rev=41391&view=rev Log: save X11 keyboard configuration (#310517) Modified: trunk/live-installer/package/yast2-live-installer.changes trunk/live-installer/src/live-installer.ycp trunk/live-installer/src/live_save_config_finish.ycp Modified: trunk/live-installer/package/yast2-live-installer.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/live-installer/package/yast2-live-installer.changes?rev=41391&r1=41390&r2=41391&view=diff ============================================================================== --- trunk/live-installer/package/yast2-live-installer.changes (original) +++ trunk/live-installer/package/yast2-live-installer.changes Thu Oct 11 16:42:54 2007 @@ -1,4 +1,9 @@ ------------------------------------------------------------------- +Thu Oct 11 15:02:18 CEST 2007 - jsrain@suse.cz + +- save X11 keyboard configuration (#310517) + +------------------------------------------------------------------- Wed Oct 10 12:46:18 CEST 2007 - jsrain@suse.cz - added registration to the live installation workflow (#325560) Modified: trunk/live-installer/src/live-installer.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/live-installer/src/live-installer.ycp?rev=41391&r1=41390&r2=41391&view=diff ============================================================================== --- trunk/live-installer/src/live-installer.ycp (original) +++ trunk/live-installer/src/live-installer.ycp Thu Oct 11 16:42:54 2007 @@ -14,7 +14,6 @@ import "LiveInstaller"; import "Misc"; import "Installation"; - import "Storage"; import "Product"; import "CommandLine"; import "Popup"; @@ -32,6 +31,7 @@ Wizard::OpenNextBackStepsDialog(); Installation::destdir = "/mnt"; Installation::scr_destdir = "/mnt"; + import "Storage"; // do several checks because of DMRAID problems - bug #328388 map out = (map)SCR::Execute (.target.bash_output, " Modified: trunk/live-installer/src/live_save_config_finish.ycp URL: http://svn.opensuse.org/viewcvs/yast/trunk/live-installer/src/live_save_config_finish.ycp?rev=41391&r1=41390&r2=41391&view=diff ============================================================================== --- trunk/live-installer/src/live_save_config_finish.ycp (original) +++ trunk/live-installer/src/live_save_config_finish.ycp Thu Oct 11 16:42:54 2007 @@ -19,6 +19,7 @@ import "Progress"; import "Timezone"; import "Keyboard"; +import "Installation"; any ret = nil; string func = ""; @@ -47,6 +48,10 @@ // progress step title Progress::Title (_("Saving keyboard configuration...")); Keyboard::Save(true); + // to save also X11 configuration + Keyboard::xf86_update(); + // unfortunatelly it is saved to local system instead the target, therefore need to copy + WFM::Execute (.local.bash, sformat ("/bin/cp /etc/X11/xorg.conf %1/etc/X11/xorg.conf", Installation::destdir)); Progress::NextStep (); // progress step title Progress::Title (_("Saving time zone...")); -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org