-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreproduce-spec.5
More file actions
181 lines (181 loc) · 4.77 KB
/
reproduce-spec.5
File metadata and controls
181 lines (181 loc) · 4.77 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
.\"Copyright (c) 2026, Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org>
.\"All rights reserved.
.\"
.\"Redistribution and use in source and binary forms, with or without
.\"modification, are permitted provided that the following conditions are met:
.\"
.\"* Redistributions of source code must retain the above copyright notice, this
.\" list of conditions and the following disclaimer.
.\"
.\"* Redistributions in binary form must reproduce the above copyright notice,
.\" this list of conditions and the following disclaimer in the documentation
.\" and/or other materials provided with the distribution.
.\"
.\"* Neither the name of the copyright holder nor the names of its
.\" contributors may be used to endorse or promote products derived from
.\" this software without specific prior written permission.
.\"
.\"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
.\"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
.\"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
.\"DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
.\"FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
.\"DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
.\"SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
.\"CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\"OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
.\"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.Dd March 08, 2026
.Dt REPRODUCE-SPEC 5
.Os
.Sh NAME
.Nm reproduce-spec
.Nd Reproduce specification for configuration files
.Sh CONFIGURATION
.Bl -tag -width xxx
.It Sy PROJECTSDIR
Projects directory.
.Pp
.Sy default: Em ~/.reproduce/projects
.br
.Sy command-line flag: Fl p
.It Sy LOGSDIR
Logs directory.
.Pp
.Sy default: Em ~/.reproduce/logs
.br
.Sy command-line flag: Fl l
.It Sy RUNDIR
Directory used by
.Xr reproduce 1
to store certain information, such as the lock file and jail names.
.Pp
.Sy default: Em ~/.reproduce/run
.br
.Sy command-line flag: Fl r
.It Sy LOCKSDIR
Directory used by Reproduce to store locks.
.Pp
.Sy default: Em /tmp/reproduce/locks
.br
.Sy command-line flag: Fl L
.It Sy JAIL_PREFIX
Prefix all jail names with this prefix.
.Pp
.Sy default: Em reproduce_
.br
.Sy command-line flag: Fl j
.It Sy BEFORE_MAKEJAILS
List of Makejails to include before the main instructions.
.Pp
.Sy command-line flag: Fl B
.It Sy AFTER_MAKEJAILS
List of Makejails to include after the main instructions.
.Pp
.Sy command-line flag: Fl A
.It Sy MIRRORS
Use these mirrors in all projects as the source where the images will be downloaded.
.Pp
Note that this parameter does not have the same effect as using
.Sy reproduce_mirrors
in a reproduce configuration file.
.Sy MIRRORS
defines the source as
.Sy <URL>/<name>/<tag>-<arch>-image.appjail
and
.Sy reproduce_mirrors
defines the source as
.Sy <URL>/<tag>-<arch>-image.appjail Ns "."
.Pp
.Sy command-line flag: Fl m
.It Sy DEBUG
Enable debug logging.
.Pp
.Sy default: Em NO
.br
.Sy command-line flag: Fl d
.It Sy COMPRESS_ALGO
Compress the images using this algorithm.
.Pp
.Sy default: Em xz
.br
.Sy command-line flag: Fl C
.El
.Sh SPECIFICATION
.Bl -tag -width xxx
.It Sy name
Image name.
.It Sy release
Release name.
.Pp
.Sy default: Em default
.It Sy ignore_external
Ignore Makejails defined in
.Sy AFTER_MAKEJAILS
and
.Sy BEFORE_MAKEJAILS Ns "."
.Pp
.Sy default: Em NO
.It Sy ignore_osarch
Avoid using the
.Sy osarch
parameter of
.Xr appjail-quick 1 Ns "."
.Pp
.Sy default: Em NO
.It Sy ignore_osversion
Avoid using the
.Sy osversion
of
.Xr appjail-quick 1 Ns "."
.It Sy ignore_release
Avoid using the
.Sy release
parameter of
.Xr appjail-quick 1 Ns "."
.Pp
.Sy default: Em NO
.It Sy tags
List of tags to build. The syntax is
.Sy <Label Name>/<System Version> Ns "."
If
.Sy ignore_osversion
has the value
.Sy YES Ns ,
.Sy <System Version>
has no effect, so set it to
.Dq ignore
for example. Note that even if
.Sy ignore_osversion
is set to
.Sy YES Ns ,
it may be useful for the hook.
.Pp
.Sy default: Em latest/<Host Version>
.It Sy arch
List of architectures supported by the image. Note that even if
.Sy ignore_osarch
is set to
.Sy YES Ns ,
it may be useful for the hook.
.Pp
.Sy default: Em <Host Architecture>
.It Sy args
List of arguments that Reproduce will process. Note that you must add
.Ar tag Ns Sy .args. Ar argument
if you want to use such an argument for a specific tag, otherwise, it will be ignored.
.It Sy remove_rc_vars
List of
.Xr rc.conf 5
parameters to remove
.Po inside the jail Pc Ns "."
.It Sy mirrors
List of mirrors. See also
.Sy MIRRORS Ns "."
.El
.Sh SEE ALSO
.Xr appjail 1
.Xr reproduce 1
.Xr appjail-template 5
.Sh AUTHORS
.An Jesús Daniel Colmenares Oviedo Aq Mt DtxdF@disroot.org