Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc/man/arch-nspawn.1.asciidoc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/arch-nspawn.1.asciidoc')
-rw-r--r--doc/man/arch-nspawn.1.asciidoc40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/man/arch-nspawn.1.asciidoc b/doc/man/arch-nspawn.1.asciidoc
new file mode 100644
index 0000000..a3e8ec1
--- /dev/null
+++ b/doc/man/arch-nspawn.1.asciidoc
@@ -0,0 +1,40 @@
+arch-nspawn(1)
+==============
+
+Name
+----
+arch-nspawn - Run a command or OS in a light-weight namespace container
+
+Synopsis
+--------
+arch-nspawn [options] working-dir [systemd-nspawn arguments]
+
+Description
+-----------
+
+'arch-nspawn' is a wrapper around systemd-nspawn to run command or OS in a
+namespace container such as a directory including base utilities of a OS.
+It is used to build package(s) in given clean and defined environment.
+
+Options
+-------
+
+*-C* <file>::
+ Location of a pacman config file
+
+*-M* <file>::
+ Location of a makepkg config file
+
+*-c* <dir>::
+ Set pacman cache, if no directory is specified the passed pacman.conf's cachedir is used with a fallback to '/etc/pacman.conf'
+
+*-f* <file>::
+ Copy file from the host to the chroot
+
+*-s*::
+ Do not run setarch
+
+*-h*::
+ Show this usage message
+
+include::include/footer.asciidoc[]