summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2011-01-03 21:06:41 +0200
committerTimo Teräs <timo.teras@iki.fi>2011-01-03 21:06:41 +0200
commitd8ba07e484b0c838ce475202f03e041953b183e1 (patch)
treeeffae9887b80d12591e2f05f29ac95f094671dc7 /src/apk_database.h
parent1f42cc1aed32ebf160db5e812d2f57e654042522 (diff)
downloadapk-tools-d8ba07e484b0c838ce475202f03e041953b183e1.tar.gz
apk-tools-d8ba07e484b0c838ce475202f03e041953b183e1.tar.bz2
apk-tools-d8ba07e484b0c838ce475202f03e041953b183e1.tar.xz
apk-tools-d8ba07e484b0c838ce475202f03e041953b183e1.zip
pkg, db: allow index with unsupported features to be loaded
Just disable installation of packages using the new stuff. Also flag lower case package info fields as non-critical and allow installation even if that features is not supported.
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index 349ea7d..070b3a6 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -105,8 +105,10 @@ struct apk_database {
unsigned name_id, num_repos;
const char *cache_dir;
apk_blob_t *arch;
- int permanent;
unsigned int local_repos;
+ int permanent : 1;
+ int compat_newfeatures : 1;
+ int compat_notinstallable : 1;
struct apk_dependency_array *world;
struct apk_string_array *protected_paths;