Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-goode committed Apr 18, 2024
1 parent 0120e70 commit 3923bd2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libdnf/module/ModulePackageContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,6 +700,12 @@ ModulePackageContainer::Impl::moduleSolve(const std::vector<ModulePackage *> & m
selector.set(HY_PKG_PROVIDES, HY_EQ, ss.str().c_str());
goal.install(&selector, optional);
goalWeak.install(&selector, true);

// In addition to the Provides, directly add install of module package
// IDs to goal.
auto * package = dnf_package_new(moduleSack, module->getId());
goal.install(package, optional);
goalWeak.install(package, true);
}
auto ret = goal.run(static_cast<DnfGoalActions>(DNF_IGNORE_WEAK | DNF_FORCE_BEST));
if (debugSolver) {
Expand Down

0 comments on commit 3923bd2

Please sign in to comment.