It's sufficient if a targets solv file is present in the pool,
as if used with testcases.
Target_Ptr target( getZYpp()->getTarget() );
if ( ! target )
{
Target_Ptr target( getZYpp()->getTarget() );
if ( ! target )
{
- ERR << "Huh, no target ?" << endl;
- return false; // can't continue without target
+ WAR << "Huh, no target ?" << endl;
}
// Setting Resolver to upgrade mode. SAT solver will do the update
}
// Setting Resolver to upgrade mode. SAT solver will do the update