Skip to content

Commit

Permalink
Add file provides into pool for .rpm (RhBug:1263888)
Browse files Browse the repository at this point in the history
https://bugzilla.redhat.com/show_bug.cgi?id=1263888

repo_internalize_all_trigger() unfolds package metadata from repos into pool
structures.

Moving it inside dnf_sack_make_provides_ready() to make sure it was called
before we start adding file provides.
  • Loading branch information
j-mracek authored and Igor Gnatenko committed Mar 10, 2017
1 parent bbef069 commit f8c570e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/goal.c
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,6 @@ solve(HyGoal goal, Queue *job, int flags, hy_solution_callback user_cb,
/* apply the excludes */
sack_recompute_considered(sack);

repo_internalize_all_trigger(sack_pool(sack));
sack_make_provides_ready(sack);
if (goal->trans) {
transaction_free(goal->trans);
Expand Down
1 change: 1 addition & 0 deletions src/sack.c
Original file line number Diff line number Diff line change
Expand Up @@ -1148,6 +1148,7 @@ void
sack_make_provides_ready(HySack sack)
{
if (!sack->provides_ready) {
repo_internalize_all_trigger(sack_pool(sack));
Queue addedfileprovides;
Queue addedfileprovides_inst;
queue_init(&addedfileprovides);
Expand Down

0 comments on commit f8c570e

Please sign in to comment.