Mailinglist Archive: yast-commit (953 mails)

< Previous Next >
[yast-commit] r49774 - /branches/tmp/lslezak/product-creator-cross-arch/src/dialogs.ycp
  • From: lslezak@xxxxxxxxxxxxxxxx
  • Date: Wed, 06 Aug 2008 13:40:31 -0000
  • Message-id: <20080806134031.D0BEE29FBA@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages