// whether to drop an uninstalled (repo) solvable
if ( (_status_flags & PoolQuery::INSTALLED_ONLY) &&
- base().get()->repo->name != sat::Pool::instance().systemRepoName() )
+ base().get()->repo->name != sat::Pool::instance().systemRepoAlias() )
{
drop_by_kind_status_edition = true;
break;
// whether to drop an installed (target) solvable
if ((_status_flags & PoolQuery::UNINSTALLED_ONLY) &&
- base().get()->repo->name == sat::Pool::instance().systemRepoName())
+ base().get()->repo->name == sat::Pool::instance().systemRepoAlias())
{
drop_by_kind_status_edition = true;
break;
void TargetImpl::clearCache()
{
Pathname base = Pathname::assertprefix( _root,
- ZConfig::instance().repoSolvfilesPath() / sat::Pool::instance().systemRepoName() );
+ ZConfig::instance().repoSolvfilesPath() / sat::Pool::instance().systemRepoAlias() );
filesystem::recursive_rmdir( base );
}
void TargetImpl::buildCache()
{
Pathname base = Pathname::assertprefix( _root,
- ZConfig::instance().repoSolvfilesPath() / sat::Pool::instance().systemRepoName() );
+ ZConfig::instance().repoSolvfilesPath() / sat::Pool::instance().systemRepoAlias() );
Pathname rpmsolv = base/"solv";
Pathname rpmsolvcookie = base/"cookie";
// now add the repos to the pool
sat::Pool satpool( sat::Pool::instance() );
Pathname rpmsolv( Pathname::assertprefix( _root,
- ZConfig::instance().repoSolvfilesPath() / satpool.systemRepoName() / "solv" ) );
- MIL << "adding " << rpmsolv << " to pool(" << satpool.systemRepoName() << ")" << endl;
+ ZConfig::instance().repoSolvfilesPath() / satpool.systemRepoAlias() / "solv" ) );
+ MIL << "adding " << rpmsolv << " to pool(" << satpool.systemRepoAlias() << ")" << endl;
// Providing an empty system repo, unload any old content
Repository system( sat::Pool::instance().findSystemRepo() );