Author: locilka
Date: Tue Aug 5 12:30:00 2008
New Revision: 49690
URL: http://svn.opensuse.org/viewcvs/yast?rev=49690&view=rev
Log:
- Running SCR Switch Debugger unconditionally if switching to
installed system fails (bnc #411832).
Modified:
trunk/installation/package/yast2-installation.changes
trunk/installation/src/clients/switch_scr_finish.ycp
trunk/installation/src/clients/yast_inf_finish.ycp
trunk/installation/src/include/scr_switch_debugger.ycp
Modified: trunk/installation/package/yast2-installation.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/package/yast2-installation.changes?rev=49690&r1=49689&r2=49690&view=diff
==============================================================================
--- trunk/installation/package/yast2-installation.changes (original)
+++ trunk/installation/package/yast2-installation.changes Tue Aug 5 12:30:00 2008
@@ -3,6 +3,8 @@
- Calling reiplauto client in SLES control file before reboot
(FATE #304940).
+- Running SCR Switch Debugger unconditionally if switching to
+ installed system fails (bnc #411832).
-------------------------------------------------------------------
Mon Aug 04 16:22:55 CEST 2008 - aschnell@suse.de
Modified: trunk/installation/src/clients/switch_scr_finish.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/switch_scr_finish.ycp?rev=49690&r1=49689&r2=49690&view=diff
==============================================================================
--- trunk/installation/src/clients/switch_scr_finish.ycp (original)
+++ trunk/installation/src/clients/switch_scr_finish.ycp Tue Aug 5 12:30:00 2008
@@ -27,29 +27,13 @@
/**
* SCR Switch failed. Reporting error, collecting data.
- * bugzilla #201058
+ * We don't ask whether to run the debugger, just run it.
+ *
+ * bnc #201058, #411832
*/
void ErrorDuringSCRSwitch (string chroot_dir) {
- // import the library once it is needed
- import "Popup";
-
- y2error("Cannot switch to SCR '%1'", chroot_dir);
-
- // Ask users whether they want to debug the problem
- if (Popup::YesNoHeadline (
- // popup error headline
- _("Installation Error"),
- // popup question
- _("An error occurred while switching to the installed system
-and no recovery is possible.
-Run the automatic debugger to find out why it has failed?")
- )) {
- y2milestone("User decided to debug the current problem");
-
- RunSCRSwitchDebugger(chroot_dir);
- } else {
- y2warning("User decided not to debug the current problem");
- }
+ y2error("Cannot switch to SCR '%1', running debugger", chroot_dir);
+ RunSCRSwitchDebugger(chroot_dir);
}
/* Check arguments */
Modified: trunk/installation/src/clients/yast_inf_finish.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/installation/src/clients/yast_inf_finish.ycp?rev=49690&r1=49689&r2=49690&view=diff
==============================================================================
--- trunk/installation/src/clients/yast_inf_finish.ycp (original)
+++ trunk/installation/src/clients/yast_inf_finish.ycp Tue Aug 5 12:30:00 2008
@@ -24,6 +24,10 @@
import "Keyboard";
import "Directory";
import "String";
+/*
+import "Arch";
+import "Reipl";
+*/
include "installation/misc.ycp";
@@ -193,19 +197,53 @@
y2milestone ("Printing message about loading kernel via kexec");
SCR::Write (.dev.tty.stderr,
_("
-***********************************************************
+**************************************************************
Loading installed kernel using kexec.
Trying to load installed kernel via kexec instead of rebooting
Please, wait.
-***********************************************************
+**************************************************************
")
);
}
}
+/*
+ // FATE #304940: Change YaST2-Module for s390 Disk adaptors from
+ // hwconfig scheme to udev-scheme
+ if (Arch::s390 ()) {
+ boolean different = true;
+ map