[yast-commit] r49774 - /branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp
Author: lslezak Date: Wed Aug 6 15:40:31 2008 New Revision: 49774 URL: http://svn.opensuse.org/viewcvs/yast?rev=49774&view=rev Log: - temporarily initialize the target when doing full refresh to import known GPG keys Modified: branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp Modified: branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp?rev=49774&r1=49773&r2=49774&view=diff ============================================================================== --- branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp (original) +++ branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp Wed Aug 6 15:40:31 2008 @@ -545,7 +545,12 @@ { // change the architecture ProductCreator::SetArch(new_arch); + + // initialize the target, read trusted GPG keys (needed for refresh) + Pkg::TargetInit("/", true); Pkg::SourceForceRefreshNow(SrcID); + // finish the target + Pkg::TargetFinish(); return true; } } -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org