diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-03-16 16:52:14 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-03-16 16:53:07 +0200 |
commit | 93eb38a31ae97f1cb470f18c6019ede19c5c314e (patch) | |
tree | 55d46db3a9accd28bb19dc95127a40e96e1b59a5 /src/apk_io.h | |
parent | 2222a15eddad9c5fac8d032f51f65811c0947495 (diff) | |
download | apk-tools-93eb38a31ae97f1cb470f18c6019ede19c5c314e.tar.gz apk-tools-93eb38a31ae97f1cb470f18c6019ede19c5c314e.tar.bz2 apk-tools-93eb38a31ae97f1cb470f18c6019ede19c5c314e.tar.xz apk-tools-93eb38a31ae97f1cb470f18c6019ede19c5c314e.zip |
db: relocate from /var/lib/apk
move all files therein to other places. this allows /var to be
mounted from harddisk, but rest of system be run from ramdisk.
this also removes support for historical version of the scripts
database which was obsoleted in 2.0_pre16 (in July 2009).
Diffstat (limited to 'src/apk_io.h')
-rw-r--r-- | src/apk_io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_io.h b/src/apk_io.h index 3845554..8cf24d8 100644 --- a/src/apk_io.h +++ b/src/apk_io.h @@ -110,6 +110,7 @@ apk_blob_t apk_blob_from_file(int atfd, const char *file); int apk_file_get_info(int atfd, const char *filename, unsigned int flags, struct apk_file_info *fi); +int apk_move_file(int atfd, const char *from, const char *to); int apk_url_download(const char *url, int atfd, const char *file); const char *apk_url_local_file(const char *url); |