Mailinglist Archive: yast-commit (490 mails)
| < Previous | Next > |
[yast-commit] r38245 - /trunk/autoinstallation/src/clients/autoyast.ycp
- From: ug@xxxxxxxxxxxxxxxx
- Date: Fri, 01 Jun 2007 13:47:27 -0000
- Message-id: <20070601134727.5A9159C921@xxxxxxxxxxxxxxxx>
Author: ug
Date: Fri Jun 1 15:47:26 2007
New Revision: 38245
URL: http://svn.opensuse.org/viewcvs/yast?rev=38245&view=rev
Log:
CLI fix
Modified:
trunk/autoinstallation/src/clients/autoyast.ycp
Modified: trunk/autoinstallation/src/clients/autoyast.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/clients/autoyast.ycp?rev=38245&r1=38244&r2=38245&view=diff
==============================================================================
--- trunk/autoinstallation/src/clients/autoyast.ycp (original)
+++ trunk/autoinstallation/src/clients/autoyast.ycp Fri Jun 1 15:47:26 2007
@@ -19,6 +19,7 @@
import "Popup";
import "AddOnProduct";
import "CommandLine";
+ import "Y2ModuleConfig";
include "autoinstall/dialogs.ycp";
include "autoinstall/conftree.ycp";
@@ -45,6 +46,25 @@
control file and try again.
"));
}
+ Popup::ShowFeedback(_("Reading configuration data"), _("This may take a while"));
+ foreach(string p, map d, Profile::ModuleMap, ``{
+ /* Set resource name, if not using default value */
+ string resource = d["X-SuSE-YaST-AutoInstResource"]:"";
+ if (resource == "")
+ {
+ resource = p;
+ }
+ y2debug("resource: %1", resource );
+ string tomerge = d["X-SuSE-YaST-AutoInstMerge"]:"";
+ string module_auto =d["X-SuSE-YaST-AutoInstClient"]:"none";
+ any rd = Y2ModuleConfig::getResourceData(d
+ ,resource);
+ if (rd!=nil) {
+ WFM::CallFunction(module_auto, ["Import",
+ rd]);
+ }
+ });
+ Popup::ClearFeedback();
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
Date: Fri Jun 1 15:47:26 2007
New Revision: 38245
URL: http://svn.opensuse.org/viewcvs/yast?rev=38245&view=rev
Log:
CLI fix
Modified:
trunk/autoinstallation/src/clients/autoyast.ycp
Modified: trunk/autoinstallation/src/clients/autoyast.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/autoinstallation/src/clients/autoyast.ycp?rev=38245&r1=38244&r2=38245&view=diff
==============================================================================
--- trunk/autoinstallation/src/clients/autoyast.ycp (original)
+++ trunk/autoinstallation/src/clients/autoyast.ycp Fri Jun 1 15:47:26 2007
@@ -19,6 +19,7 @@
import "Popup";
import "AddOnProduct";
import "CommandLine";
+ import "Y2ModuleConfig";
include "autoinstall/dialogs.ycp";
include "autoinstall/conftree.ycp";
@@ -45,6 +46,25 @@
control file and try again.
"));
}
+ Popup::ShowFeedback(_("Reading configuration data"), _("This may take a while"));
+ foreach(string p, map d, Profile::ModuleMap, ``{
+ /* Set resource name, if not using default value */
+ string resource = d["X-SuSE-YaST-AutoInstResource"]:"";
+ if (resource == "")
+ {
+ resource = p;
+ }
+ y2debug("resource: %1", resource );
+ string tomerge = d["X-SuSE-YaST-AutoInstMerge"]:"";
+ string module_auto =d["X-SuSE-YaST-AutoInstClient"]:"none";
+ any rd = Y2ModuleConfig::getResourceData(d
+ ,resource);
+ if (rd!=nil) {
+ WFM::CallFunction(module_auto, ["Import",
+ rd]);
+ }
+ });
+ Popup::ClearFeedback();
}
--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx
| < Previous | Next > |