From: Michael Schroeder Date: Tue, 9 Apr 2019 11:04:25 +0000 (+0200) Subject: Fix SOLVER_FLAG_FOCUS_BEST updateing packages without reason X-Git-Tag: 0.7.5~38 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3124f5cdbb7fc00d7c204e43b7f94d807c56e91;p=thirdparty%2Flibsolv.git Fix SOLVER_FLAG_FOCUS_BEST updateing packages without reason --- diff --git a/src/solver.c b/src/solver.c index 2ec776ed..45e51e79 100644 --- a/src/solver.c +++ b/src/solver.c @@ -1913,6 +1913,8 @@ resolve_dependencies(Solver *solv, int level, int disablerules, Queue *dq) } if (i == solv->nrules) i = 1; + if (solv->focus_best && solv->do_extra_reordering && i >= solv->featurerules) + continue; r = solv->rules + i; if (r->d < 0) /* ignore disabled rules */ continue;