summaryrefslogtreecommitdiff
path: root/src/apk_solver.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2012-01-13 10:37:30 +0200
committerTimo Teräs <timo.teras@iki.fi>2012-01-13 10:39:06 +0200
commit2ea61da9d99a64aa0358b9186447310c98de9a77 (patch)
tree2543c5780eaeea41fa271b9ebd64c91aaf5546e7 /src/apk_solver.h
parent1f9a36de6828b87ba9d7dedcae2de6092eed4f41 (diff)
downloadapk-tools-2ea61da9d99a64aa0358b9186447310c98de9a77.tar.gz
apk-tools-2ea61da9d99a64aa0358b9186447310c98de9a77.tar.bz2
apk-tools-2ea61da9d99a64aa0358b9186447310c98de9a77.tar.xz
apk-tools-2ea61da9d99a64aa0358b9186447310c98de9a77.zip
add: make repository tag pinning stronger
Previously we would not upgrade just by doing "apk add foo@tag" if foo was already installed. It required explicit '-u'. This allows 'apk add' to explicitly prefer the newly specified pinning.
Diffstat (limited to 'src/apk_solver.h')
-rw-r--r--src/apk_solver.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_solver.h b/src/apk_solver.h
index 4f5f29a..235ac0c 100644
--- a/src/apk_solver.h
+++ b/src/apk_solver.h
@@ -25,6 +25,7 @@ struct apk_changeset {
#define APK_SOLVERF_UPGRADE 0x0001
#define APK_SOLVERF_AVAILABLE 0x0002
#define APK_SOLVERF_REINSTALL 0x0004
+#define APK_SOLVERF_PREFER_TAG 0x0008
void apk_solver_set_name_flags(struct apk_name *name,
unsigned short solver_flags,