[yast-commit] r41070 - in /trunk/product-creator: ./ package/ src/ src/data/kiwi_templates/iso/
Author: jsuchome
Date: Tue Sep 25 09:28:29 2007
New Revision: 41070
URL: http://svn.opensuse.org/viewcvs/yast?rev=41070&view=rev
Log:
- do not close module after kiwi failure (#327593)
- check stderr and stdout after kiwi finish/failure (#327610)
- count the maximum size in package selector (#327901)
- kiwi.ycp requires kiwi-desc-*boot
- simpler kiwi template for iso
- 2.15.8
Modified:
trunk/product-creator/VERSION
trunk/product-creator/package/yast2-product-creator.changes
trunk/product-creator/src/Kiwi.ycp
trunk/product-creator/src/ProductCreator.ycp
trunk/product-creator/src/complex.ycp
trunk/product-creator/src/data/kiwi_templates/iso/config.xml
trunk/product-creator/src/dialogs.ycp
trunk/product-creator/src/kiwi.ycp
trunk/product-creator/src/kiwi_dialogs.ycp
Modified: trunk/product-creator/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/trunk/product-creator/VERSION?rev=41070&r1=41069&r2=41070&view=diff
==============================================================================
--- trunk/product-creator/VERSION (original)
+++ trunk/product-creator/VERSION Tue Sep 25 09:28:29 2007
@@ -1 +1 @@
-2.15.7
+2.15.8
Modified: trunk/product-creator/package/yast2-product-creator.changes
URL: http://svn.opensuse.org/viewcvs/yast/trunk/product-creator/package/yast2-product-creator.changes?rev=41070&r1=41069&r2=41070&view=diff
==============================================================================
--- trunk/product-creator/package/yast2-product-creator.changes (original)
+++ trunk/product-creator/package/yast2-product-creator.changes Tue Sep 25 09:28:29 2007
@@ -1,4 +1,14 @@
-------------------------------------------------------------------
+Mon Sep 24 08:44:56 CEST 2007 - jsuchome@suse.cz
+
+- do not close module after kiwi failure (#327593)
+- check stderr and stdout after kiwi finish/failure (#327610)
+- count the maximum size in package selector (#327901)
+- kiwi.ycp requires kiwi-desc-*boot
+- simpler kiwi template for iso
+- 2.15.8
+
+-------------------------------------------------------------------
Sun Sep 2 21:20:26 CEST 2007 - jsuchome@suse.cz
- write schemeversion to config.xml
Modified: trunk/product-creator/src/Kiwi.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/product-creator/src/Kiwi.ycp?rev=41070&r1=41069&r2=41070&view=diff
==============================================================================
--- trunk/product-creator/src/Kiwi.ycp (original)
+++ trunk/product-creator/src/Kiwi.ycp Tue Sep 25 09:28:29 2007
@@ -465,18 +465,10 @@
return false;
}
- /* rather do not remove, filesystem can be mounted
if (FileUtils::Exists (tmp_dir + "/myphysical"))
{
SCR::Execute (.target.bash, sformat ("rm -rf %1/myphysical", tmp_dir));
}
- */
-
- string cmd = sformat ("kiwi --root %1/myphysical --prepare %2 --logfile terminal", tmp_dir, config_dir);
-
- y2milestone ("calling '%1'", cmd);
-
- SCR::Execute (.background.run_output_err, cmd);
// construct the dialog
UI::OpenDialog(`opt(`decorated), `HBox(`HSpacing(1.5),
@@ -499,6 +491,27 @@
), `HSpacing(1.5)
));
+ void update_output () {
+ // read the output line from irw:
+ list<string> out = (list<string>)SCR::Read(.background.newout);
+ foreach (string line, out, {
+ line = String::Replace (line, "\r", "\n");
+ UI::ChangeWidget (`id(`log), `LastLine, line + "\n");
+ });
+
+ list<string> err = (list<string>) SCR::Read(.background.newerr);
+ foreach (string line, err, {
+ line = String::Replace (line, "\r", "\n");
+ UI::ChangeWidget (`id(`errlog), `LastLine, line + "\n");
+ });
+ }
+
+ string cmd = sformat ("kiwi --root %1/myphysical --prepare %2 --logfile terminal", tmp_dir, config_dir);
+
+ y2milestone ("calling '%1'", cmd);
+
+ SCR::Execute (.background.run_output_err, cmd);
+
symbol ret = nil;
boolean creating = false;
do
@@ -507,21 +520,12 @@
if ((boolean) SCR::Read(.background.output_open) &&
(integer) SCR::Read(.background.newlines)>0)
{
- // read the output line from irw:
- list<string> out = (list<string>)SCR::Read(.background.newout);
- foreach (string line, out, {
- line = String::Replace (line, "\r", "\n");
- UI::ChangeWidget (`id(`log), `LastLine, line + "\n");
- });
-
- list<string> err = (list<string>) SCR::Read(.background.newerr);
- foreach (string line, err, {
- line = String::Replace (line, "\r", "\n");
- UI::ChangeWidget (`id(`errlog), `LastLine, line + "\n");
- });
+ update_output ();
}
else if (!(boolean)SCR::Read(.background.isrunning))
{
+ update_output ();
+
integer status = (integer) SCR::Read (.background.status);
if (status != 0)
{
Modified: trunk/product-creator/src/ProductCreator.ycp
URL: http://svn.opensuse.org/viewcvs/yast/trunk/product-creator/src/ProductCreator.ycp?rev=41070&r1=41069&r2=41070&view=diff
==============================================================================
--- trunk/product-creator/src/ProductCreator.ycp (original)
+++ trunk/product-creator/src/ProductCreator.ycp Tue Sep 25 09:28:29 2007
@@ -62,6 +62,7 @@
global boolean profile_parsed = false;
+global integer max_size_mb = 999 * 1024;
/* Configuration Map */
global map
participants (1)
-
jsuchome@svn.opensuse.org