[yast-commit] r62336 - in /branches/SuSE-Linux-11_2-Branch/add-on-creator: VERSION package/yast2-add-on-creator.changes src/AddOnCreator.ycp
Author: jsuchome Date: Wed Aug 4 15:04:24 2010 New Revision: 62336 URL: http://svn.opensuse.org/viewcvs/yast?rev=62336&view=rev Log: - cleanup the preparation directory for building iso image (bnc#623036) - 2.18.9 Modified: branches/SuSE-Linux-11_2-Branch/add-on-creator/VERSION branches/SuSE-Linux-11_2-Branch/add-on-creator/package/yast2-add-on-creator.changes branches/SuSE-Linux-11_2-Branch/add-on-creator/src/AddOnCreator.ycp Modified: branches/SuSE-Linux-11_2-Branch/add-on-creator/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_2-Branch/add-on-creator/VERSION?rev=62336&r1=62335&r2=62336&view=diff ============================================================================== --- branches/SuSE-Linux-11_2-Branch/add-on-creator/VERSION (original) +++ branches/SuSE-Linux-11_2-Branch/add-on-creator/VERSION Wed Aug 4 15:04:24 2010 @@ -1 +1 @@ -2.18.8 +2.18.9 Modified: branches/SuSE-Linux-11_2-Branch/add-on-creator/package/yast2-add-on-creator.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_2-Branch/add-on-creator/package/yast2-add-on-creator.changes?rev=62336&r1=62335&r2=62336&view=diff ============================================================================== --- branches/SuSE-Linux-11_2-Branch/add-on-creator/package/yast2-add-on-creator.changes (original) +++ branches/SuSE-Linux-11_2-Branch/add-on-creator/package/yast2-add-on-creator.changes Wed Aug 4 15:04:24 2010 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Wed Aug 4 14:55:45 CEST 2010 - jsuchome@suse.cz + +- cleanup the preparation directory for building iso image + (bnc#623036) +- 2.18.9 + +------------------------------------------------------------------- Wed Oct 21 09:03:39 CEST 2009 - jsuchome@suse.cz - fixed importing product file (bnc#548637) Modified: branches/SuSE-Linux-11_2-Branch/add-on-creator/src/AddOnCreator.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Linux-11_2-Branch/add-on-creator/src/AddOnCreator.ycp?rev=62336&r1=62335&r2=62336&view=diff ============================================================================== --- branches/SuSE-Linux-11_2-Branch/add-on-creator/src/AddOnCreator.ycp (original) +++ branches/SuSE-Linux-11_2-Branch/add-on-creator/src/AddOnCreator.ycp Wed Aug 4 15:04:24 2010 @@ -3081,6 +3081,8 @@ Progress::NextStage(); + // when building ISO, target directory is defined by iso_path: + // let's use base_output_path for gathering data needed for iso creation if (current_product["iso"]:false) { string iso_path = current_product["iso_path"]:""; @@ -3090,6 +3092,10 @@ if (!only_sign_product) { base_output_path= tmpdir + "/output"; + if (FileUtils::Exists (base_output_path)) + { + SCR::Execute (.target.bash, sformat ("/bin/rm -rf '%1'", base_output_path)); + } SCR::Execute (.target.mkdir, base_output_path); } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
jsuchome@svn.opensuse.org