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 14:59:57 +0200
commit067c17312418937b6fc81cbba78349ce2566f942 (patch)
treecbdc79c459dad6284a213460e0e2896c3a1527ff /src/apk_database.h
parenta7f5996e2fc2b4ec00d40f3ae53a56cb6d8dbca0 (diff)
downloadapk-tools-067c17312418937b6fc81cbba78349ce2566f942.tar.gz
apk-tools-067c17312418937b6fc81cbba78349ce2566f942.tar.bz2
apk-tools-067c17312418937b6fc81cbba78349ce2566f942.tar.xz
apk-tools-067c17312418937b6fc81cbba78349ce2566f942.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 917ee35..1947df0 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -101,6 +101,7 @@ struct apk_name {
unsigned is_dependency : 1;
unsigned auto_select_virtual: 1;
unsigned priority : 2;
+ unsigned solver_flags_set : 1;
unsigned int foreach_genid;
union {
struct apk_solver_name_state ss;