summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-16 16:00:25 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:01:26 +0200
commit5b6c6e3573f241b19a174ea74d8258f4b547d860 (patch)
tree538a13b80e13bc5b44db4f939edf7df103a8b7e0 /doc
parent2b5d30712006ec459be216f4206181f6702d7658 (diff)
downloadapk-tools-5b6c6e3573f241b19a174ea74d8258f4b547d860.tar.gz
apk-tools-5b6c6e3573f241b19a174ea74d8258f4b547d860.tar.bz2
apk-tools-5b6c6e3573f241b19a174ea74d8258f4b547d860.tar.xz
apk-tools-5b6c6e3573f241b19a174ea74d8258f4b547d860.zip
add apk-cache(5)
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile1
-rw-r--r--doc/apk-cache.5.scd23
2 files changed, 24 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index fda73f5..30261e5 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -22,6 +22,7 @@ docs: $(obj)/apk.8 \
$(obj)/apk-upgrade.8 \
$(obj)/apk-verify.8 \
$(obj)/apk-version.8 \
+ $(obj)/apk-cache.5 \
$(obj)/apk-keys.5 \
$(obj)/apk-repositories.5 \
$(obj)/apk-world.5
diff --git a/doc/apk-cache.5.scd b/doc/apk-cache.5.scd
new file mode 100644
index 0000000..cb19c53
--- /dev/null
+++ b/doc/apk-cache.5.scd
@@ -0,0 +1,23 @@
+apk-cache(5)
+
+# NAME
+
+*/etc/apk/cache* - local cache of package files
+
+# DESCRIPTION
+
+If */etc/apk/cache* is a symlink to a local directory, *apk*(8) will it as a
+local cache for downloaded package files and repository indicies. The cache
+must not reside on a tmpfs.
+
+To enable the apk cache, run the following commands as root:
+
+mkdir -p /var/cache/apk++
+ln -s /var/cache/apk /etc/apk/cache
+
+For information on cache maintenance, see *apk-cache*(8).
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>