From 5fc8198b54849b02e2d48b51b96a94b9851383af Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Fri, 27 Mar 2020 20:19:35 -0500 Subject: Add documentation to manpages for new cache options --- adelie-build-cd.8 | 11 +++++++++++ adelie-build-txz.8 | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/adelie-build-cd.8 b/adelie-build-cd.8 index 885e29e..5da2b73 100644 --- a/adelie-build-cd.8 +++ b/adelie-build-cd.8 @@ -12,6 +12,8 @@ .Op Fl p Ar PHASE .Op Fl s .Op Fl v Ar VERSION +.Op Fl -cache Ar CACHE +.Op Fl -no-cache .Sh DESCRIPTION .Nm creates a live CD image or installer CD image for Adélie Linux using @@ -52,6 +54,15 @@ This requires the suite of utilities to be available. .It Fl v Ar VERSION Specifies the version of Adélie Linux to use for the created ISO. +.It Fl -cache Ar CACHE +Specifies the location of the cache directory to use, to speed up +.Xr apk 8 +runs. Defaults to the system cache in +.Pa /etc/apk/cache . +.It Fl -no-cache +Do not use any cache directory for this +.Xr apk 8 +run; pull all packages from the repository. .El .Ss Phases The diff --git a/adelie-build-txz.8 b/adelie-build-txz.8 index 4dcc4ca..268cfca 100644 --- a/adelie-build-txz.8 +++ b/adelie-build-txz.8 @@ -9,6 +9,8 @@ .Op Fl a Ar ARCH .Op Fl -mini .Op Fl v Ar VERSION +.Op Fl -cache Ar CACHE +.Op Fl -no-cache .Sh DESCRIPTION .Nm creates a rootfs tarball, similar to a Gentoo stage3 or Alpine miniroot, using @@ -29,6 +31,15 @@ Specifies that a mini rootfs (no kernel or live media tools installed) is desired. .It Fl v Ar VERSION Specifies the version of Adélie Linux to use for the created rootfs tarball. +.It Fl -cache Ar CACHE +Specifies the location of the cache directory to use, to speed up +.Xr apk 8 +runs. Defaults to the system cache in +.Pa /etc/apk/cache . +.It Fl -no-cache +Do not use any cache directory for this +.Xr apk 8 +run; pull all packages from the repository. .El .Sh ENVIRONMENT .Bl -tag -width "EXTRA_MIRROR" -offset indent -compact -- cgit v1.2.3-70-g09d2