summaryrefslogtreecommitdiff
path: root/doc/man/archbuild.1.asciidoc
blob: 777e3f2124f83e40fd93f71fc552df5f66cd32bb (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
41
42
43
44
45
46
47
48
archbuild(1)
============

Name
----
archbuild - a script to build an Arch Linux package inside a clean chroot.

Synopsis
--------
archbuild [options] -- [makechrootpkg args]

Description
-----------

'archbuild' is a script to build an Arch Linux package. archbuild is part of devtools but should only be used via one of the included symlinks:

* extra-x86_64-build
* gnome-unstable-x86_64-build
* kde-unstable-x86_64-build
* multilib-build
* multilib-staging-build
* multilib-testing-build
* staging-x86_64-build
* testing-x86_64-build

The symlink used to run it will be inspected by archbuild, to determine which target you want it to use. It will load the available pacman configuration from 'pacman-reponame-arch.conf' with a fallback to 'pacman-reponame.conf' from {pkgdatadir}. The makepkg configuration is loaded from 'makepkg-repo-arch.conf' with a fallback to 'makepkg-reponame.conf' from {pkgdatadir}.

It will also load the bind mount configuration from 'mount.d/arch' in {pkgdatadir}. The file format is that each line starting with ro and rw will be used, other lines will be ignored, and the rest of the used line is out/path:in/path preceded by a space as a separator. ro means it is a read-only mount, rw means a read-write mount.

Options
-------

*-h*::
	Output command line options.

*-c*::
	Recreate the chroot before building.

*-r* <dir>::
	Create chroots in this directory.


See Also
--------

linkman:devtools[7]

include::include/footer.asciidoc[]