summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2009-07-24 14:00:57 +0300
committerTimo Teras <timo.teras@iki.fi>2009-07-24 14:00:57 +0300
commite5be34335ca8ff9df4ec53c2ab421522a6ca02c3 (patch)
tree62d9f11702abf9bcded4c0aec6db101e0e17b429 /src/apk_database.h
parent8806ce875e4e1d3dabbfd6a6cf12a3b5a6257ed9 (diff)
downloadapk-tools-e5be34335ca8ff9df4ec53c2ab421522a6ca02c3.tar.gz
apk-tools-e5be34335ca8ff9df4ec53c2ab421522a6ca02c3.tar.bz2
apk-tools-e5be34335ca8ff9df4ec53c2ab421522a6ca02c3.tar.xz
apk-tools-e5be34335ca8ff9df4ec53c2ab421522a6ca02c3.zip
db: create cache index with non-repository packages
this enables virtual packages and files specified from command line to work on non-harddisk installs.
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 46e6152..d2f27eb 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -83,6 +83,7 @@ struct apk_database {
int root_fd, lock_fd;
unsigned name_id, num_repos;
const char *cache_dir;
+ int permanent;
struct apk_dependency_array *world;
struct apk_string_array *protected_paths;