-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: Use SOLVER_LOCK for locking base packages
For the Fedora CoreOS extensions work, when layering packages, we need to be able to tell libsolv to pick the packages which will go with the base packages. IOW, it needs to know that the base packages shouldn't be uninstalled. While investigating coreos/fedora-coreos-tracker#525, I realized that libsolv does have a flag which allows us to express this: `SOLVER_LOCK`. This then allows libsolv to choose the right package for us (if found). And in the case where it can't find a matching package, libsolv itself will print exactly what the conflict is, which is more informative than the "forbidden replacements" error we currently print out. Update submodule: libdnf
- Loading branch information
1 parent
5ff769f
commit 71992e3
Showing
3 changed files
with
58 additions
and
10 deletions.
There are no files selected for viewing
Submodule libdnf
updated
11 files
+1 −0 | data/tests/hawkey/@System.repo | |
+6 −0 | data/tests/hawkey/updates.repo | |
+6 −0 | libdnf/goal/Goal.cpp | |
+1 −0 | libdnf/goal/Goal.hpp | |
+7 −0 | libdnf/hy-goal.cpp | |
+10 −0 | libdnf/hy-goal.h | |
+6 −6 | python/hawkey/tests/tests/test_query.py | |
+4 −0 | tests/hawkey/README | |
+99 −11 | tests/hawkey/test_goal.cpp | |
+4 −4 | tests/hawkey/test_query.cpp | |
+2 −2 | tests/hawkey/testshared.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters