summaryrefslogtreecommitdiff
path: root/doc/arch-nspawn.1.asciidoc
blob: 22aa6411dc578bc1cb1ede06c547179c7ca7a9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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::footer.asciidoc[]