[yast-commit] r62351 - in /branches/SuSE-Code-11-Branch/product-creator: VERSION package/yast2-product-creator.changes src/commandline.ycp
Author: jsuchome Date: Thu Aug 5 13:24:55 2010 New Revision: 62351 URL: http://svn.opensuse.org/viewcvs/yast?rev=62351&view=rev Log: - command line mode fixes: initialize the sources, automatically import GPG keys (bnc#626512) - 2.17.26.1 Modified: branches/SuSE-Code-11-Branch/product-creator/VERSION branches/SuSE-Code-11-Branch/product-creator/package/yast2-product-creator.changes branches/SuSE-Code-11-Branch/product-creator/src/commandline.ycp Modified: branches/SuSE-Code-11-Branch/product-creator/VERSION URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/product-creator/VERSION?rev=62351&r1=62350&r2=62351&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/product-creator/VERSION (original) +++ branches/SuSE-Code-11-Branch/product-creator/VERSION Thu Aug 5 13:24:55 2010 @@ -1 +1 @@ -2.17.26 +2.17.26.1 Modified: branches/SuSE-Code-11-Branch/product-creator/package/yast2-product-creator.changes URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/product-creator/package/yast2-product-creator.changes?rev=62351&r1=62350&r2=62351&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/product-creator/package/yast2-product-creator.changes (original) +++ branches/SuSE-Code-11-Branch/product-creator/package/yast2-product-creator.changes Thu Aug 5 13:24:55 2010 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Aug 5 13:11:34 CEST 2010 - jsuchome@suse.cz + +- command line mode fixes: initialize the sources, automatically + import GPG keys (bnc#626512) +- 2.17.26.1 + +------------------------------------------------------------------- Mon Aug 3 15:32:25 CEST 2009 - jsuchome@suse.cz - give kiwi more time to finish (bnc#525986) Modified: branches/SuSE-Code-11-Branch/product-creator/src/commandline.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/product-creator/src/commandline.ycp?rev=62351&r1=62350&r2=62351&view=diff ============================================================================== --- branches/SuSE-Code-11-Branch/product-creator/src/commandline.ycp (original) +++ branches/SuSE-Code-11-Branch/product-creator/src/commandline.ycp Thu Aug 5 13:24:55 2010 @@ -13,9 +13,15 @@ import "Progress"; import "ProductCreator"; import "RichText"; + import "SourceManager"; textdomain "product-creator"; + // dummy function to return true when callback is invoked (from AutoInstall.ycp) + define boolean callbackTrue_boolean_map_integer(map<string,any> dummy_map, integer dummy) { + return true; + } + void ProcessConfigFileOption(map params) { if (haskey(params, "configfile")) @@ -156,6 +162,20 @@ ProductCreator::Readisolinux(); } + if (action != "show") + { + // initialize the sources before commiting configuration + + ProductCreator::ResetArch(); + // unload all active sources (reset the internal state, see bnc#469191) + Pkg::SourceFinishAll(); + + SourceManager::ReadSources(); + + // automatically import GPG keys when adding repository + Pkg::CallbackImportGpgKey (callbackTrue_boolean_map_integer); + } + // save the new configuration into global map, parse autoyast profile ProductCreator::CommitConfig (); } -- 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