summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2014-05-15 14:48:30 +0200
committerMichael Schroeder <mls@suse.de>2014-05-15 14:48:30 +0200
commit3e66491a072e55bfb150092422dcfb374b97b630 (patch)
treed97c74a56bf779330685b26ca8fa8cae0c097601 /ext
parent77c0a018bfb0590b708141e5266b7cb0156ca639 (diff)
downloadlibsolv-3e66491a072e55bfb150092422dcfb374b97b630.tar.gz
libsolv-3e66491a072e55bfb150092422dcfb374b97b630.tar.bz2
libsolv-3e66491a072e55bfb150092422dcfb374b97b630.zip
add the SOLVER_FLAG_FOCUS_INSTALLED solver flag
Setting this flag means that the solver will prefer picking a package version that fits the other installed packages over updating installed packages.
Diffstat (limited to 'ext')
-rw-r--r--ext/testcase.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/testcase.c b/ext/testcase.c
index 32547c8..3da7aff 100644
--- a/ext/testcase.c
+++ b/ext/testcase.c
@@ -104,6 +104,7 @@ static struct solverflags2str {
{ SOLVER_FLAG_DUP_ALLOW_NAMECHANGE, "dupallownamechange", 1 },
{ SOLVER_FLAG_KEEP_ORPHANS, "keeporphans", 0 },
{ SOLVER_FLAG_BREAK_ORPHANS, "breakorphans", 0 },
+ { SOLVER_FLAG_FOCUS_INSTALLED, "focusinstalled", 0 },
{ 0, 0, 0 }
};