summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2019-02-18 13:53:41 +0100
committerJelle van der Waa <jelle@vdwaa.nl>2019-03-13 22:13:51 +0100
commitd123fee8ec5c98cbb6bfa4cecf66cb7cdd9c1855 (patch)
treea6ba2cafd169291b83db6ada31d8c91caab223d3
parent4a532e38e7ed63770b400e924715178ac4c7664c (diff)
downloaddevtools-d123fee8ec5c98cbb6bfa4cecf66cb7cdd9c1855.tar.gz
devtools-d123fee8ec5c98cbb6bfa4cecf66cb7cdd9c1855.tar.xz
doc: add man page for mkarchroot
-rw-r--r--Makefile3
-rw-r--r--doc/mkarchroot.1.asciidoc46
2 files changed, 48 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4191de9..297f310 100644
--- a/Makefile
+++ b/Makefile
@@ -65,7 +65,8 @@ BASHCOMPLETION_LINKS = \
MANS = \
doc/lddd.1 \
doc/checkpkg.1 \
- doc/sogrep.1
+ doc/sogrep.1 \
++ doc/mkarchroot.1
all: $(BINPROGS) bash_completion zsh_completion man
diff --git a/doc/mkarchroot.1.asciidoc b/doc/mkarchroot.1.asciidoc
new file mode 100644
index 0000000..03d032c
--- /dev/null
+++ b/doc/mkarchroot.1.asciidoc
@@ -0,0 +1,46 @@
+mkarchroot(1)
+==============
+
+Name
+----
+mkarchroot - Creates an arch chroot in a specified location with a specified set of packages
+
+Synopsis
+--------
+mkarchroot [options] [location] [packages]
+
+Description
+-----------
+
+'mkarchroot' is a script to create an Arch Linux chroot at a specified location
+with specified packages. Typically used by 'makechrootpkg' to create build
+chroots. Apart from installing specified packages the chroot is created with an
+en_US.UTF-8 and de_DE.UTF-8 locale and a generated machine-id.
+
+Options
+-------
+
+*-C* <file>::
+ Location of a pacman config file.
+
+*-M* <file>::
+ Location of a makepkg config file.
+
+*-c* <dir>::
+ Set pacman cache.
+
+*-f* <file>::
+ Copy file from the host to the chroot.
+
+*-s*::
+ Do not run setarch.
+
+*-h*::
+ Output command line options.
+
+See Also
+--------
+
+linkman:pacman[1]
+
+include::footer.asciidoc[]