summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2022-12-25 14:57:47 +0200
committerTimo Teräs <timo.teras@iki.fi>2022-12-25 15:01:13 +0200
commit3448f3148f37bd246643be6669434c6c7f588c90 (patch)
tree1448d7f8d0a383600a8bdf1a322d934eb81f26fb /src/apk_database.h
parent1b02534c9d8350e1d3c32ef78f822039fb5c1215 (diff)
downloadapk-tools-3448f3148f37bd246643be6669434c6c7f588c90.tar.gz
apk-tools-3448f3148f37bd246643be6669434c6c7f588c90.tar.bz2
apk-tools-3448f3148f37bd246643be6669434c6c7f588c90.tar.xz
apk-tools-3448f3148f37bd246643be6669434c6c7f588c90.zip
solver: prioritize user specified action on mentioned packages
Force preference on the user specified action on commandline. This allows upgrading packages which would otherwise be kept back due to partial update preferring to keep top level dependency on the installed version. fixes #7531
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index f0f6ba5..5b495d8 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -102,6 +102,7 @@ struct apk_name {
unsigned auto_select_virtual: 1;
unsigned priority : 2;
unsigned layer : 4;
+ unsigned solver_flags_set : 1;
unsigned int foreach_genid;
union {
struct apk_solver_name_state ss;