HelixControl control (dumpPath + "/solver-test.xml",
repoTable,
ZConfig::instance().systemArchitecture(),
- pool.getRequestedLocales());
+ pool.getRequestedLocales(),
+ "solver-system.xml.gz",
+ resolver.forceResolve());
for (PoolItemList::const_iterator iter = items_to_install.begin(); iter != items_to_install.end(); iter++) {
control.installResolvable (iter->resolvable(), iter->status());
const RepositoryTable & repoTable,
const Arch & systemArchitecture,
const LocaleSet &languages,
- const std::string & systemPath)
+ const std::string & systemPath,
+ const bool forceResolve)
:dumpFile (controlPath)
{
file = new ofstream(controlPath.c_str());
*file << TAB << "<locale name=\"" << iter->code()
<< "\" />" << endl;
}
+
+ if (forceResolve)
+ *file << TAB << "<forceResolve/>" << endl;
+
*file << "</setup>" << endl
<< "<trial>" << endl
<< "<showpool all=\"yes\"/>" << endl;
const RepositoryTable & sourceTable,
const Arch & systemArchitecture,
const LocaleSet &languages,
- const std::string & systemPath = "solver-system.xml.gz");
+ const std::string & systemPath = "solver-system.xml.gz",
+ const bool forceResolve = false);
HelixControl ();
~HelixControl ();