Debian Codegraph @

templates/man1/mkosi.1.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:31+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "mkosi"
24 msgstr ""
25
26 #. type: SH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "NAME"
31 msgstr ""
32
33 #. type: Plain text
34 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
35 msgid "mkosi \\[em] Build Bespoke OS Images"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "SYNOPSIS"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux
47 msgid "\\f[CR]mkosi [options\\&...] init\\fR"
48 msgstr ""
49
50 #. type: Plain text
51 #: archlinux debian-trixie opensuse-leap-16-1
52 msgid "\\f[CR]mkosi [options\\&...] summary\\fR"
53 msgstr ""
54
55 #. type: Plain text
56 #: archlinux debian-trixie opensuse-leap-16-1
57 msgid "\\f[CR]mkosi [options\\&...] cat-config\\fR"
58 msgstr ""
59
60 #. type: Plain text
61 #: archlinux
62 msgid "\\f[CR]mkosi [options\\&...] build [-- command line\\&...]\\fR"
63 msgstr ""
64
65 #. type: Plain text
66 #: archlinux
67 msgid "\\f[CR]mkosi [options\\&...] shell [-- command line\\&...]\\fR"
68 msgstr ""
69
70 #. type: Plain text
71 #: archlinux
72 msgid "\\f[CR]mkosi [options\\&...] boot [-- nspawn settings\\&...]\\fR"
73 msgstr ""
74
75 #. type: Plain text
76 #: archlinux
77 msgid "\\f[CR]mkosi [options\\&...] vm [-- vmm parameters\\&...]\\fR"
78 msgstr ""
79
80 #. type: Plain text
81 #: archlinux
82 msgid "\\f[CR]mkosi [options\\&...] ssh [-- command line\\&...]\\fR"
83 msgstr ""
84
85 #. type: Plain text
86 #: archlinux
87 msgid "\\f[CR]mkosi [options\\&...] journalctl [-- command line\\&...]\\fR"
88 msgstr ""
89
90 #. type: Plain text
91 #: archlinux
92 msgid "\\f[CR]mkosi [options\\&...] coredumpctl [-- command line\\&...]\\fR"
93 msgstr ""
94
95 #. type: Plain text
96 #: archlinux
97 msgid ""
98 "\\f[CR]mkosi [options\\&...] sysupdate [-- sysupdate settings\\&...]\\fR"
99 msgstr ""
100
101 #. type: Plain text
102 #: archlinux
103 msgid "\\f[CR]mkosi [options\\&...] box [-- command line\\&...]\\fR"
104 msgstr ""
105
106 #. type: Plain text
107 #: archlinux
108 msgid "\\f[CR]mkosi [options\\&...] dependencies [-- options\\&...]\\fR"
109 msgstr ""
110
111 #. type: Plain text
112 #: archlinux debian-trixie opensuse-leap-16-1
113 msgid "\\f[CR]mkosi [options\\&...] clean\\fR"
114 msgstr ""
115
116 #. type: Plain text
117 #: archlinux debian-trixie opensuse-leap-16-1
118 msgid "\\f[CR]mkosi [options\\&...] serve\\fR"
119 msgstr ""
120
121 #. type: Plain text
122 #: archlinux debian-trixie opensuse-leap-16-1
123 msgid "\\f[CR]mkosi [options\\&...] burn E<lt>deviceE<gt>\\fR"
124 msgstr ""
125
126 #. type: Plain text
127 #: archlinux debian-trixie opensuse-leap-16-1
128 msgid "\\f[CR]mkosi [options\\&...] bump\\fR"
129 msgstr ""
130
131 #. type: Plain text
132 #: archlinux debian-trixie opensuse-leap-16-1
133 msgid "\\f[CR]mkosi [options\\&...] genkey\\fR"
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie opensuse-leap-16-1
138 msgid "\\f[CR]mkosi [options\\&...] documentation [manual]\\fR"
139 msgstr ""
140
141 #. type: Plain text
142 #: archlinux debian-trixie opensuse-leap-16-1
143 msgid "\\f[CR]mkosi [options\\&...] completion [shell]\\fR"
144 msgstr ""
145
146 #. type: Plain text
147 #: archlinux
148 msgid "\\f[CR]mkosi [options\\&...] latest-snapshot\\fR"
149 msgstr ""
150
151 #. type: Plain text
152 #: archlinux debian-trixie opensuse-leap-16-1
153 msgid "\\f[CR]mkosi [options\\&...] help\\fR"
154 msgstr ""
155
156 #. type: SH
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: opensuse-leap-16-1 opensuse-tumbleweed
159 #, no-wrap
160 msgid "DESCRIPTION"
161 msgstr ""
162
163 #. type: Plain text
164 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
165 msgid ""
166 "\\f[B]mkosi\\f[R] is a tool for easily building customized OS images. It\\"
167 "[cq]s a fancy wrapper around \\f[B]dnf\\f[R], \\f[B]apt\\f[R], "
168 "\\f[B]pacman\\f[R] and \\f[B]zypper\\f[R] that may generate disk images with "
169 "a number of bells and whistles.\\fR"
170 msgstr ""
171
172 #. type: SS
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "Command Line Verbs"
177 msgstr ""
178
179 #. type: Plain text
180 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
181 #: opensuse-leap-16-1 opensuse-tumbleweed
182 msgid "The following command line verbs are known:"
183 msgstr ""
184
185 #. type: TP
186 #: archlinux
187 #, no-wrap
188 msgid "\\f[CR]init\\fR"
189 msgstr ""
190
191 #. type: Plain text
192 #: archlinux
193 msgid ""
194 "Initialize \\f[B]mkosi\\f[R]. This is a one time operation that sets up "
195 "various config files required for an optimal experience. Currently this "
196 "only initialized a \\f[CR]tmpfiles.d\\f[R] dropin for the mkosi package "
197 "cache directory to make sure old, unused files are cleaned up automatically."
198 "\\fR"
199 msgstr ""
200
201 #. type: TP
202 #: archlinux debian-trixie opensuse-leap-16-1
203 #, no-wrap
204 msgid "\\f[CR]summary\\fR"
205 msgstr ""
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "Show a human-readable summary of all options used for building the images. "
212 "This will parse the command line and configuration files, but only print "
213 "what it is configured for and not actually build or run anything."
214 msgstr ""
215
216 #. type: TP
217 #: archlinux debian-trixie opensuse-leap-16-1
218 #, no-wrap
219 msgid "\\f[CR]cat-config\\fR"
220 msgstr ""
221
222 #. type: Plain text
223 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
224 #: opensuse-leap-16-1 opensuse-tumbleweed
225 msgid ""
226 "Output the names and contents of all loaded configuration files. "
227 "\\f[B]mkosi\\f[R] loads a bunch of files from different locations and this "
228 "command makes it easier to figure out what is configured where.\\fR"
229 msgstr ""
230
231 #. type: tbl table
232 #: archlinux debian-trixie opensuse-leap-16-1
233 #, no-wrap
234 msgid "\\f[CR]build\\fR"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux
239 msgid ""
240 "Build the image-based on the settings passed on the command line and in the "
241 "configuration files. This command is the default if no verb is specified. "
242 "Arguments may be passed to the build scripts, if some are defined. To pass "
243 "options to the build scripts, separate them from regular mkosi options with "
244 "\\f[CR]--\\f[R].\\fR"
245 msgstr ""
246
247 #. type: TP
248 #: archlinux debian-trixie opensuse-leap-16-1
249 #, no-wrap
250 msgid "\\f[CR]shell\\fR"
251 msgstr ""
252
253 #. type: Plain text
254 #: archlinux
255 msgid ""
256 "This builds the image if it is not built yet, and then invokes \\f[B]systemd-"
257 "nspawn\\f[R] to run an interactive shell in the image. This doesn\\[cq]t "
258 "require booting the system, it\\[cq]s like a better chroot. An optional "
259 "command line may be specified after the \\f[CR]shell\\f[R] verb, to be "
260 "invoked in place of the shell in the container. To pass extra options to "
261 "nspawn, separate them from regular options with \\f[CR]--\\f[R].\\fR"
262 msgstr ""
263
264 #. type: TP
265 #: archlinux debian-trixie opensuse-leap-16-1
266 #, no-wrap
267 msgid "\\f[CR]boot\\fR"
268 msgstr ""
269
270 #. type: Plain text
271 #: archlinux
272 msgid ""
273 "Similar to \\f[CR]shell\\f[R], but instead of spawning a shell, it boots "
274 "systemd in the image using \\f[B]systemd-nspawn\\f[R]. Extra arguments may "
275 "be specified after the \\f[CR]boot\\f[R] verb, which are passed as the "
276 "\\f[I]kernel command line\\f[R] to the init system in the image. To pass "
277 "extra options to nspawn, separate them from regular options with \\f[CR]--"
278 "\\f[R].\\fR"
279 msgstr ""
280
281 #. type: TP
282 #: archlinux debian-trixie opensuse-leap-16-1
283 #, no-wrap
284 msgid "\\f[CR]vm\\fR"
285 msgstr ""
286
287 #. type: Plain text
288 #: archlinux
289 msgid ""
290 "Similar to \\f[CR]boot\\f[R], but uses the configured virtual machine "
291 "monitor (by default \\f[CR]qemu\\f[R]) to boot up the image, i.e.\\ instead "
292 "of container virtualization, virtual machine virtualization is used. How "
293 "extra command line arguments are interpreted depends on the configured "
294 "virtual machine monitor. See \\f[CR]VirtualMachineMonitor=\\f[R] for more "
295 "information. To pass extra options to the configured virtual machine "
296 "monitor, separate them from regular options with \\f[CR]--\\f[R].\\fR"
297 msgstr ""
298
299 #. type: TP
300 #: archlinux debian-trixie opensuse-leap-16-1
301 #, no-wrap
302 msgid "\\f[CR]ssh\\fR"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux
307 msgid ""
308 "When the image is built with the \\f[CR]Ssh=always\\f[R] option or if "
309 "systemd\\[cq]s \\f[CR]sshd-vsock\\f[R] service is running in the VM (systemd "
310 "v256+), this command connects to a booted virtual machine via SSH. Make "
311 "sure to run \\f[CR]mkosi ssh\\f[R] with the same config as \\f[CR]mkosi "
312 "build\\f[R] so that it has the necessary information available to connect to "
313 "the running virtual machine via SSH. Specifically, the SSH private key from "
314 "the \\f[CR]SshKey=\\f[R] setting is used to connect to the virtual machine. "
315 "Use \\f[CR]mkosi genkey\\f[R] to automatically generate a key and "
316 "certificate that will be picked up by \\f[B]mkosi\\f[R]. Any arguments "
317 "passed after the \\f[CR]ssh\\f[R] verb are passed as arguments to the "
318 "\\f[B]ssh\\f[R] invocation. To pass extra options, separate them from "
319 "regular options with \\f[CR]--\\f[R].To connect to a container, use "
320 "\\f[CR]machinectl login\\f[R] or \\f[CR]machinectl shell\\f[R].\\fR"
321 msgstr ""
322
323 #. type: Plain text
324 #: archlinux debian-trixie opensuse-leap-16-1
325 msgid ""
326 "The \\f[CR]Machine=\\f[R] option can be used to give the machine a custom "
327 "hostname when booting it which can later be used to \\f[B]ssh\\f[R] into the "
328 "image (e.g.\\ \\f[CR]mkosi --machine=mymachine vm\\f[R] followed by "
329 "\\f[CR]mkosi --machine=mymachine ssh\\f[R]).\\fR"
330 msgstr ""
331
332 #. type: TP
333 #: archlinux debian-trixie opensuse-leap-16-1
334 #, no-wrap
335 msgid "\\f[CR]journalctl\\fR"
336 msgstr ""
337
338 #. type: Plain text
339 #: archlinux
340 msgid ""
341 "Uses \\f[B]journalctl\\f[R] to inspect the journal inside the image. All "
342 "arguments specified after the \\f[CR]journalctl\\f[R] verb and separated by "
343 "\\f[CR]--\\f[R] from the regular options are appended to the "
344 "\\f[B]journalctl\\f[R] invocation.\\fR"
345 msgstr ""
346
347 #. type: TP
348 #: archlinux debian-trixie opensuse-leap-16-1
349 #, no-wrap
350 msgid "\\f[CR]coredumpctl\\fR"
351 msgstr ""
352
353 #. type: Plain text
354 #: archlinux
355 msgid ""
356 "Uses \\f[B]coredumpctl\\f[R] to look for coredumps inside the image. All "
357 "arguments specified after the \\f[CR]coredumpctl\\f[R] verb and separated by "
358 "\\f[CR]--\\f[R] from the regular options are appended to the "
359 "\\f[B]coredumpctl\\f[R] invocation.\\fR"
360 msgstr ""
361
362 #. type: TP
363 #: archlinux debian-trixie opensuse-leap-16-1
364 #, no-wrap
365 msgid "\\f[CR]sysupdate\\fR"
366 msgstr ""
367
368 #. type: Plain text
369 #: archlinux
370 msgid ""
371 "Invokes \\f[B]systemd-sysupdate\\f[R] with the \\f[CR]--transfer-"
372 "source=\\f[R] option set to the output directory and the \\f[CR]--"
373 "definitions=\\f[R] option set to the directory configured with "
374 "\\f[CR]SysupdateDirectory=\\f[R]. All arguments specified after the "
375 "\\f[CR]sysupdate\\f[R] verb and separated from the regular options with "
376 "\\f[CR]--\\f[R] are passed directly to \\f[B]systemd-sysupdate\\f[R].\\fR"
377 msgstr ""
378
379 #. type: TP
380 #: archlinux
381 #, no-wrap
382 msgid "\\f[CR]box\\fR"
383 msgstr ""
384
385 #. type: Plain text
386 #: archlinux
387 msgid ""
388 "Run arbitrary commands inside of the same environment used to execute other "
389 "verbs such as \\f[CR]boot\\f[R], \\f[CR]shell\\f[R], \\f[CR]vm\\f[R] and "
390 "more. This means \\f[CR]/usr\\f[R] will be replaced by \\f[CR]/usr\\f[R] "
391 "from the tools tree if one is used while everything else will remain in "
392 "place. If no command is provided, \\f[CR]$SHELL\\f[R] will be executed or "
393 "\\f[B]bash\\f[R] if \\f[CR]$SHELL\\f[R] is not set. To pass extra options "
394 "to the given command, separate them from regular options with \\f[CR]--"
395 "\\f[R].\\fR"
396 msgstr ""
397
398 #. type: tbl table
399 #: archlinux debian-trixie opensuse-leap-16-1
400 #, no-wrap
401 msgid "\\f[CR]clean\\fR"
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux
406 msgid ""
407 "Remove build artifacts generated on a previous build. If combined with "
408 "\\f[CR]-f\\f[R], also removes incremental build cache images and the tools "
409 "tree. If \\f[CR]-f\\f[R] is specified twice, also removes any package cache."
410 "\\fR"
411 msgstr ""
412
413 #. type: TP
414 #: archlinux debian-trixie opensuse-leap-16-1
415 #, no-wrap
416 msgid "\\f[CR]serve\\fR"
417 msgstr ""
418
419 #. type: Plain text
420 #: archlinux debian-trixie opensuse-leap-16-1
421 msgid ""
422 "This builds the image if it is not built yet, and then serves the output "
423 "directory (i.e.\\ usually \\f[CR]mkosi.output/\\f[R], see below) via a small "
424 "embedded HTTP server, listening on port 8081. Combine with \\f[CR]-f\\f[R] "
425 "in order to rebuild the image unconditionally before serving it. This "
426 "command is useful for testing network-based acquisition of OS images, for "
427 "example via \\f[CR]machinectl pull-raw \\&...\\f[R] and \\f[CR]machinectl "
428 "pull-tar \\&...\\f[R].\\fR"
429 msgstr ""
430
431 #. type: TP
432 #: archlinux debian-trixie opensuse-leap-16-1
433 #, no-wrap
434 msgid "\\f[CR]burn E<lt>deviceE<gt>\\fR"
435 msgstr ""
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "This builds the image if it is not built yet, and then writes it to the "
442 "specified block device. The partition contents are written as-is, but the "
443 "GPT partition table is corrected to match sector and disk size of the "
444 "specified medium."
445 msgstr ""
446
447 #. type: TP
448 #: archlinux debian-trixie opensuse-leap-16-1
449 #, no-wrap
450 msgid "\\f[CR]bump\\fR"
451 msgstr ""
452
453 #. type: Plain text
454 #: archlinux
455 msgid ""
456 "Bumps the image version from \\f[CR]mkosi.version\\f[R] and writes the "
457 "resulting version string to \\f[CR]mkosi.version\\f[R]. This is useful for "
458 "implementing a simple versioning scheme: each time this verb is called the "
459 "version is bumped in preparation for the subsequent build. Note that "
460 "\\f[CR]--auto-bump\\f[R]/\\f[CR]-B\\f[R] may be used to automatically bump "
461 "the version as part of a build. The new version is only written to "
462 "\\f[CR]mkosi.version\\f[R] if the build succeeds in that case.\\fR"
463 msgstr ""
464
465 #. type: Plain text
466 #: archlinux
467 msgid ""
468 "If \\f[CR]mkosi.bump\\f[R] exists, it is invoked to generate the new version "
469 "to be used instead of using mkosi\\[cq]s own logic.\\fR"
470 msgstr ""
471
472 #. type: TP
473 #: archlinux debian-trixie opensuse-leap-16-1
474 #, no-wrap
475 msgid "\\f[CR]genkey\\fR"
476 msgstr ""
477
478 #. type: Plain text
479 #: archlinux debian-trixie opensuse-leap-16-1
480 msgid ""
481 "Generate a pair of SecureBoot keys for usage with the "
482 "\\f[CR]SecureBootKey=\\f[R]/\\f[CR]--secure-boot-key=\\f[R] and "
483 "\\f[CR]SecureBootCertificate=\\f[R]/\\f[CR]--secure-boot-certificate=\\f[R] "
484 "options.\\fR"
485 msgstr ""
486
487 #. type: TP
488 #: archlinux debian-trixie opensuse-leap-16-1
489 #, no-wrap
490 msgid "\\f[CR]documentation\\fR"
491 msgstr ""
492
493 #. type: Plain text
494 #: archlinux debian-trixie opensuse-leap-16-1
495 msgid ""
496 "Show \\f[B]mkosi\\f[R]\\[cq]s documentation. If no argument is given, the "
497 "\\f[B]mkosi\\f[R] man page is shown, but the arguments \\f[CR]mkosi\\f[R], "
498 "\\f[CR]mkosi-initrd\\f[R], \\f[CR]initrd\\f[R], \\f[CR]mkosi-sandbox\\f[R], "
499 "\\f[CR]sandbox\\f[R], \\f[CR]mkosi.news\\f[R] and \\f[CR]news\\f[R] are "
500 "supported and respectively show the man pages for \\f[B]mkosi\\f[R], "
501 "\\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-sandbox\\f[R] and \\f[B]mkosi\\f[R]\\"
502 "[cq]s NEWS file.\\fR"
503 msgstr ""
504
505 #. type: Plain text
506 #: archlinux debian-trixie opensuse-leap-16-1
507 msgid ""
508 "By default this verb will try several ways to output the documentation, but "
509 "a specific option can be chosen with the \\f[CR]--doc-format\\f[R] option. "
510 "Distro packagers are encouraged to add a file \\f[CR]mkosi.1\\f[R] into the "
511 "\\f[CR]mkosi/resources\\f[R] directory of the Python package, if it is "
512 "missing, as well as to install it in the appropriate search path for man "
513 "pages. The man page can be generated from the markdown file \\f[CR]mkosi/"
514 "resources/man/mkosi.1.md\\f[R] e.g via \\f[CR]pandoc -t man -s -o mkosi.1 "
515 "mkosi.1.md\\f[R].\\fR"
516 msgstr ""
517
518 #. type: TP
519 #: archlinux debian-trixie opensuse-leap-16-1
520 #, no-wrap
521 msgid "\\f[CR]completion\\fR"
522 msgstr ""
523
524 #. type: Plain text
525 #: archlinux debian-trixie opensuse-leap-16-1
526 msgid ""
527 "Generate shell completion for the shell given as argument and print it to "
528 "stdout. The arguments \\f[CR]bash\\f[R], \\f[CR]fish\\f[R], and "
529 "\\f[CR]zsh\\f[R] are understood.\\fR"
530 msgstr ""
531
532 #. type: TP
533 #: archlinux debian-trixie opensuse-leap-16-1
534 #, no-wrap
535 msgid "\\f[CR]dependencies\\fR"
536 msgstr ""
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: opensuse-leap-16-1 opensuse-tumbleweed
541 msgid ""
542 "Output the list of packages required by \\f[B]mkosi\\f[R] to build and boot "
543 "images.\\fR"
544 msgstr ""
545
546 #. type: Plain text
547 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
548 msgid ""
549 "This list can be piped directly to a package manager to install the "
550 "packages. For example, if the host system uses the \\f[B]dnf\\f[R] package "
551 "manager, the packages could be installed as follows:\\fR"
552 msgstr ""
553
554 #. type: Plain text
555 #: archlinux fedora-44 fedora-rawhide opensuse-leap-16-1
556 #, no-wrap
557 msgid "mkosi dependencies \\f[B]|\\f[R] xargs -d \\[aq]\\[rs]n\\[aq] dnf install\\fR\n"
558 msgstr ""
559
560 #. type: Plain text
561 #: archlinux
562 msgid ""
563 "By default, only the dependencies required to build images with mkosi are "
564 "shown. Extra tools tree profiles can be enabled to also output the packages "
565 "belonging to those profiles. For example, running \\f[CR]mkosi dependencies "
566 "-- --profile runtime\\f[R] will also output the packages in the runtime "
567 "profile on top of the regular packages. See the documentation for "
568 "\\f[CR]ToolsTreeProfiles=\\f[R] for a list of available profiles.\\fR"
569 msgstr ""
570
571 #. type: TP
572 #: archlinux
573 #, no-wrap
574 msgid "\\f[CR]latest-snapshot\\fR"
575 msgstr ""
576
577 #. type: Plain text
578 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
579 msgid "Output the latest available snapshot in the configured mirror."
580 msgstr ""
581
582 #. type: Plain text
583 #: archlinux fedora-44 fedora-rawhide
584 msgid ""
585 "This verb is useful to automatically bump snapshots every so often. Note "
586 "that this verb only outputs the latest snapshot. It\\[cq]s up to the caller "
587 "to ensure that the snapshot is written to the intended configuration file."
588 msgstr ""
589
590 #. type: TP
591 #: archlinux debian-trixie opensuse-leap-16-1
592 #, no-wrap
593 msgid "\\f[CR]help\\fR"
594 msgstr ""
595
596 #. type: Plain text
597 #: archlinux debian-trixie opensuse-leap-16-1
598 msgid ""
599 "This verb is equivalent to the \\f[CR]--help\\f[R] switch documented below: "
600 "it shows a brief usage explanation.\\fR"
601 msgstr ""
602
603 #. type: SS
604 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
605 #, no-wrap
606 msgid "Command-Line-Only Options"
607 msgstr ""
608
609 #. type: Plain text
610 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
611 #: opensuse-leap-16-1 opensuse-tumbleweed
612 msgid "Those settings cannot be configured in the configuration files."
613 msgstr ""
614
615 #. type: TP
616 #: archlinux debian-trixie opensuse-leap-16-1
617 #, no-wrap
618 msgid "\\f[CR]--force\\f[R], \\f[CR]-f\\fR"
619 msgstr ""
620
621 #. type: Plain text
622 #: archlinux
623 msgid ""
624 "Replace the output file if it already exists, when building an image. By "
625 "default when building an image and an output artifact already exists "
626 "\\f[B]mkosi\\f[R] will refuse operation. Specify this option once to delete "
627 "all build artifacts from a previous run before re-building the image. If "
628 "incremental builds are enabled, specifying this option twice will ensure the "
629 "intermediary cache files are removed, too, before the re-build is "
630 "initiated. If a package cache is used (also see the \\f[B]FILES\\f[R] "
631 "section below), specifying this option thrice will ensure the package cache "
632 "is removed too, before the re-build is initiated. For the "
633 "\\f[CR]clean\\f[R] operation this option has a slightly different effect: by "
634 "default the verb will only remove build artifacts from a previous run, when "
635 "specified once the incremental cache files and the tools tree are deleted "
636 "too, and when specified twice the package cache is also removed.\\fR"
637 msgstr ""
638
639 #. type: TP
640 #: archlinux debian-trixie opensuse-leap-16-1
641 #, no-wrap
642 msgid "\\f[CR]--directory=\\f[R], \\f[CR]-C\\fR"
643 msgstr ""
644
645 #. type: Plain text
646 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
647 msgid ""
648 "Takes a path to a directory. \\f[B]mkosi\\f[R] switches to this directory "
649 "before doing anything. Note that the various configuration files are "
650 "searched for in this directory, hence using this option is an effective way "
651 "to build a project located in a specific directory. Defaults to the current "
652 "working directory. If the empty string is specified, all configuration in "
653 "the current working directory will be ignored.\\fR"
654 msgstr ""
655
656 #. type: TP
657 #: archlinux debian-trixie opensuse-leap-16-1
658 #, no-wrap
659 msgid "\\f[CR]--debug\\fR"
660 msgstr ""
661
662 #. type: Plain text
663 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
664 #: opensuse-leap-16-1 opensuse-tumbleweed
665 msgid "Enable additional debugging output."
666 msgstr ""
667
668 #. type: TP
669 #: archlinux debian-trixie opensuse-leap-16-1
670 #, no-wrap
671 msgid "\\f[CR]--debug-shell\\fR"
672 msgstr ""
673
674 #. type: Plain text
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: opensuse-leap-16-1 opensuse-tumbleweed
677 msgid ""
678 "When executing a command in the image fails, \\f[B]mkosi\\f[R] will start an "
679 "interactive shell in the image allowing further debugging.\\fR"
680 msgstr ""
681
682 #. type: TP
683 #: archlinux debian-trixie opensuse-leap-16-1
684 #, no-wrap
685 msgid "\\f[CR]--debug-workspace\\fR"
686 msgstr ""
687
688 #. type: Plain text
689 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
690 #: opensuse-leap-16-1 opensuse-tumbleweed
691 msgid ""
692 "When specified, the workspace directory will not be deleted and its location "
693 "will be logged when \\f[B]mkosi\\f[R] exits.\\fR"
694 msgstr ""
695
696 #. type: TP
697 #: archlinux debian-trixie opensuse-leap-16-1
698 #, no-wrap
699 msgid "\\f[CR]--debug-sandbox\\fR"
700 msgstr ""
701
702 #. type: Plain text
703 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
704 #: opensuse-leap-16-1 opensuse-tumbleweed
705 msgid "Run \\f[B]mkosi-sandbox\\f[R] with \\f[B]strace\\f[R].\\fR"
706 msgstr ""
707
708 #. type: TP
709 #: archlinux debian-trixie opensuse-leap-16-1
710 #, no-wrap
711 msgid "\\f[CR]--version\\fR"
712 msgstr ""
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: opensuse-leap-16-1 opensuse-tumbleweed
717 msgid "Show package version."
718 msgstr ""
719
720 #. type: TP
721 #: archlinux debian-trixie opensuse-leap-16-1
722 #, no-wrap
723 msgid "\\f[CR]--help\\f[R], \\f[CR]-h\\fR"
724 msgstr ""
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: opensuse-leap-16-1 opensuse-tumbleweed
729 msgid "Show brief usage information."
730 msgstr ""
731
732 #. type: TP
733 #: archlinux debian-trixie opensuse-leap-16-1
734 #, no-wrap
735 msgid "\\f[CR]--genkey-common-name=\\fR"
736 msgstr ""
737
738 #. type: Plain text
739 #: archlinux debian-trixie opensuse-leap-16-1
740 msgid ""
741 "Common name to be used when generating keys via \\f[B]mkosi\\f[R]\\[cq]s "
742 "\\f[CR]genkey\\f[R] command. Defaults to \\f[CR]mkosi of %u\\f[R], where "
743 "\\f[CR]%u\\f[R] expands to the username of the user invoking "
744 "\\f[B]mkosi\\f[R].\\fR"
745 msgstr ""
746
747 #. type: TP
748 #: archlinux debian-trixie opensuse-leap-16-1
749 #, no-wrap
750 msgid "\\f[CR]--genkey-valid-days=\\fR"
751 msgstr ""
752
753 #. type: Plain text
754 #: archlinux debian-trixie opensuse-leap-16-1
755 msgid ""
756 "Number of days that the keys should remain valid when generating keys via "
757 "\\f[B]mkosi\\f[R]\\[cq]s \\f[CR]genkey\\f[R] command. Defaults to two years "
758 "(730 days).\\fR"
759 msgstr ""
760
761 #. type: TP
762 #: archlinux debian-trixie opensuse-leap-16-1
763 #, no-wrap
764 msgid "\\f[CR]--auto-bump=\\f[R], \\f[CR]-B\\fR"
765 msgstr ""
766
767 #. type: Plain text
768 #: archlinux
769 msgid ""
770 "If specified, the version is bumped and if the build succeeds, the version "
771 "is written to \\f[CR]mkosi.version\\f[R] in a fashion equivalent to the "
772 "\\f[CR]bump\\f[R] verb. This is useful for simple, linear version "
773 "management: each build in a series will have a version number one higher "
774 "then the previous one.\\fR"
775 msgstr ""
776
777 #. type: TP
778 #: archlinux debian-trixie opensuse-leap-16-1
779 #, no-wrap
780 msgid "\\f[CR]--doc-format\\fR"
781 msgstr ""
782
783 #. type: Plain text
784 #: archlinux debian-trixie opensuse-leap-16-1
785 msgid ""
786 "The format to show the documentation in. Supports the values "
787 "\\f[CR]markdown\\f[R], \\f[CR]man\\f[R], \\f[CR]pandoc\\f[R], "
788 "\\f[CR]system\\f[R] and \\f[CR]auto\\f[R]. In the case of "
789 "\\f[CR]markdown\\f[R] the documentation is shown in the original Markdown "
790 "format. \\f[CR]man\\f[R] shows the documentation in man page format, if it "
791 "is available. \\f[B]pandoc\\f[R] will generate the man page format on the "
792 "fly, if \\f[B]pandoc\\f[R] is available. \\f[CR]system\\f[R] will show the "
793 "system-wide man page for \\f[B]mkosi\\f[R], which may or may not correspond "
794 "to the version you are using, depending on how you installed "
795 "\\f[B]mkosi\\f[R]. \\f[CR]auto\\f[R], which is the default, will try all "
796 "methods in the order \\f[CR]man\\f[R], \\f[CR]pandoc\\f[R], "
797 "\\f[CR]markdown\\f[R], \\f[CR]system\\f[R].\\fR"
798 msgstr ""
799
800 #. type: TP
801 #: archlinux debian-trixie opensuse-leap-16-1
802 #, no-wrap
803 msgid "\\f[CR]--json\\fR"
804 msgstr ""
805
806 #. type: Plain text
807 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
808 #: opensuse-leap-16-1 opensuse-tumbleweed
809 msgid "Show the summary output as JSON-SEQ."
810 msgstr ""
811
812 #. type: TP
813 #: archlinux debian-trixie opensuse-leap-16-1
814 #, no-wrap
815 msgid "\\f[CR]--wipe-build-dir\\f[R], \\f[CR]-w\\fR"
816 msgstr ""
817
818 #. type: Plain text
819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
820 #: opensuse-leap-16-1 opensuse-tumbleweed
821 msgid ""
822 "Wipe the build directory if one is configured before building the image."
823 msgstr ""
824
825 #. type: TP
826 #: archlinux
827 #, no-wrap
828 msgid "\\f[CR]--rerun-build-scripts\\f[R], \\f[CR]-R\\fR"
829 msgstr ""
830
831 #. type: Plain text
832 #: archlinux
833 msgid ""
834 "Rerun build scripts. Requires the \\f[CR]Incremental=\\f[R] option to be "
835 "enabled and the image to have been built once already. If "
836 "\\f[CR]History=\\f[R] is enabled, the history from the previous build will "
837 "be reused and no new history will be written.\\fR"
838 msgstr ""
839
840 #. type: SS
841 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
842 #: opensuse-leap-16-1 opensuse-tumbleweed
843 #, no-wrap
844 msgid "Supported output formats"
845 msgstr ""
846
847 #. type: Plain text
848 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
849 #: opensuse-leap-16-1 opensuse-tumbleweed
850 msgid "The following output formats are supported:"
851 msgstr ""
852
853 #. type: IP
854 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
855 #, no-wrap
856 msgid "\\[bu]"
857 msgstr ""
858
859 #. type: Plain text
860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
861 #: opensuse-leap-16-1 opensuse-tumbleweed
862 msgid ""
863 "Raw \\f[I]GPT\\f[R] disk image, created using \\f[B]systemd-repart\\f[R] "
864 "(\\f[I]disk\\f[R])\\fR"
865 msgstr ""
866
867 #. type: IP
868 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
869 #, no-wrap
870 msgid "\\f[R]\\[bu]\\fR"
871 msgstr ""
872
873 #. type: Plain text
874 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
875 #: opensuse-leap-16-1 opensuse-tumbleweed
876 msgid "Plain directory, containing the OS tree (\\f[I]directory\\f[R])\\fR"
877 msgstr ""
878
879 #. type: Plain text
880 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
881 #: opensuse-leap-16-1 opensuse-tumbleweed
882 msgid "Tar archive (\\f[I]tar\\f[R])\\fR"
883 msgstr ""
884
885 #. type: Plain text
886 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
887 #: opensuse-leap-16-1 opensuse-tumbleweed
888 msgid "CPIO archive (\\f[I]cpio\\f[R])\\fR"
889 msgstr ""
890
891 #. type: Plain text
892 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
893 msgid "Unified Kernel Image (\\f[I]UKI\\f[R])\\fR"
894 msgstr ""
895
896 #. type: Plain text
897 #: archlinux
898 msgid ""
899 "\\&... and much more. See \\f[CR]Format=\\f[R] documentation below.\\fR"
900 msgstr ""
901
902 #. type: Plain text
903 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
904 #: opensuse-leap-16-1 opensuse-tumbleweed
905 msgid ""
906 "The output format may also be set to \\f[I]none\\f[R] to have "
907 "\\f[B]mkosi\\f[R] produce no image at all. This can be useful if you only "
908 "want to use the image to produce another output in the build scripts (e.g.\\ "
909 "build an RPM).\\fR"
910 msgstr ""
911
912 #. type: Plain text
913 #: archlinux debian-trixie opensuse-leap-16-1
914 msgid ""
915 "When a \\f[I]GPT\\f[R] disk image is created, repart partition definition "
916 "files may be placed in \\f[CR]mkosi.repart/\\f[R] to configure the generated "
917 "disk image.\\fR"
918 msgstr ""
919
920 #. type: Plain text
921 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
922 #: opensuse-leap-16-1 opensuse-tumbleweed
923 msgid ""
924 "It is highly recommended to run \\f[B]mkosi\\f[R] on a file system that "
925 "supports reflinks such as XFS and btrfs and to keep all related directories "
926 "on the same file system. This allows \\f[B]mkosi\\f[R] to create images "
927 "very quickly by using reflinks to perform copying via copy-on-write "
928 "operations.\\fR"
929 msgstr ""
930
931 #. type: SS
932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
933 #: opensuse-leap-16-1 opensuse-tumbleweed
934 #, no-wrap
935 msgid "Configuration Settings"
936 msgstr ""
937
938 #. type: Plain text
939 #: archlinux debian-trixie opensuse-leap-16-1
940 msgid ""
941 "The following settings can be set through configuration files (the syntax "
942 "with \\f[CR]SomeSetting=value\\f[R]) and on the command line (the syntax "
943 "with \\f[CR]--some-setting=value\\f[R]). For some command line parameters, "
944 "a single-letter shortcut is also allowed. In the configuration files, the "
945 "setting must be in the appropriate section, so the settings are grouped by "
946 "section below.\\fR"
947 msgstr ""
948
949 #. type: Plain text
950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
951 #: opensuse-leap-16-1 opensuse-tumbleweed
952 msgid "Configuration is parsed in the following order:"
953 msgstr ""
954
955 #. type: Plain text
956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
957 #: opensuse-leap-16-1 opensuse-tumbleweed
958 msgid "The command line arguments are parsed."
959 msgstr ""
960
961 #. type: Plain text
962 #: archlinux
963 msgid ""
964 "\\f[CR]mkosi.local.conf\\f[R] and \\f[CR]mkosi.local/\\f[R] are parsed if "
965 "they exists (in that order). This file and directory should be in "
966 "\\f[CR].gitignore\\f[R] (or equivalent) and are intended for local "
967 "configuration.\\fR"
968 msgstr ""
969
970 #. type: Plain text
971 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
972 msgid ""
973 "If an option has a corresponding default path, it is parsed if the "
974 "corresponding default path exists."
975 msgstr ""
976
977 #. type: Plain text
978 #: archlinux
979 msgid ""
980 "\\f[CR]mkosi.conf\\f[R] is parsed if it exists in the directory configured "
981 "with \\f[CR]--directory=\\f[R] or the current working directory if \\f[CR]--"
982 "directory=\\f[R] is not used. If the specified directory does not contain a "
983 "\\f[CR]mkosi.conf\\f[R] or \\f[CR]mkosi.tools.conf\\f[R] and a \\f[CR]mkosi/"
984 "mkosi.conf\\f[R] or \\f[CR]mkosi/mkosi.tools.conf\\f[R] exists, the "
985 "configuration will be parsed from the \\f[CR]mkosi/\\f[R] subdirectory of "
986 "the specified directory instead.\\fR"
987 msgstr ""
988
989 #. type: Plain text
990 #: archlinux
991 msgid ""
992 "\\f[CR]mkosi.conf.d/\\f[R] is parsed in the same directory as "
993 "\\f[CR]mkosi.conf\\f[R] if it exists. Each directory and each file with the "
994 "\\f[CR].conf\\f[R] extension in \\f[CR]mkosi.conf.d/\\f[R] is parsed. Any "
995 "directory in \\f[CR]mkosi.conf.d\\f[R] is parsed as if it were a regular top "
996 "level directory, except for \\f[CR]mkosi.images/\\f[R] and "
997 "\\f[CR]mkosi.tools.conf\\f[R], which are only picked up in the top level "
998 "directory.\\fR"
999 msgstr ""
1000
1001 #. type: Plain text
1002 #: archlinux debian-trixie opensuse-leap-16-1
1003 msgid ""
1004 "If any profiles are configured, their configuration is parsed from the "
1005 "\\f[CR]mkosi.profiles/\\f[R] directory.\\fR"
1006 msgstr ""
1007
1008 #. type: Plain text
1009 #: archlinux
1010 msgid ""
1011 "Subimages are parsed from the \\f[CR]mkosi.images/\\f[R] directory if it "
1012 "exists.\\fR"
1013 msgstr ""
1014
1015 #. type: Plain text
1016 #: archlinux
1017 msgid ""
1018 "Note that settings configured via the command line always override settings "
1019 "configured via configuration files. If the same setting is configured more "
1020 "than once via configuration files, later assignments override earlier "
1021 "assignments except for settings that take a collection of values. Also, "
1022 "settings read from \\f[CR]mkosi.local.conf\\f[R] or \\f[CR]mkosi.local/"
1023 "\\f[R] will override settings from configuration files that are parsed "
1024 "later, but not settings specified on the CLI.\\fR"
1025 msgstr ""
1026
1027 #. type: Plain text
1028 #: archlinux debian-trixie opensuse-leap-16-1
1029 msgid ""
1030 "For settings that take a single value, the empty assignment "
1031 "(\\f[CR]SomeSetting=\\f[R] or \\f[CR]--some-setting=\\f[R]) can be used to "
1032 "override a previous setting and reset to the default.\\fR"
1033 msgstr ""
1034
1035 #. type: Plain text
1036 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1037 #: opensuse-leap-16-1 opensuse-tumbleweed
1038 msgid ""
1039 "Settings that take a collection of values are merged by appending the new "
1040 "values to the previously configured values. Assigning the empty string to "
1041 "such a setting removes all previously assigned values, and overrides any "
1042 "configured default values as well. The values specified on the CLI are "
1043 "appended after all the values from configuration files."
1044 msgstr ""
1045
1046 #. type: Plain text
1047 #: archlinux debian-trixie opensuse-leap-16-1
1048 msgid ""
1049 "To conditionally include configuration files, the \\f[CR][Match]\\f[R] "
1050 "section can be used. A \\f[CR][Match]\\f[R] section consists of individual "
1051 "conditions. Conditions can use a pipe symbol (\\f[CR]|\\f[R]) after the "
1052 "equals sign (\\f[CR]\\&...=|\\&...\\f[R]), which causes the condition to "
1053 "become a triggering condition. The config file will be included if the "
1054 "logical AND of all non-triggering conditions and the logical OR of all "
1055 "triggering conditions is satisfied. To negate the result of a condition, "
1056 "prefix the argument with an exclamation mark. If an argument is prefixed "
1057 "with the pipe symbol and an exclamation mark, the pipe symbol must be passed "
1058 "first, and the exclamation second.\\fR"
1059 msgstr ""
1060
1061 #. type: Plain text
1062 #: archlinux debian-trixie opensuse-leap-16-1
1063 msgid ""
1064 "Note that \\f[CR][Match]\\f[R] conditions compare against the current values "
1065 "of specific settings, and do not take into account changes made to the "
1066 "setting in configuration files that have not been parsed yet (settings "
1067 "specified on the CLI are taken into account). Also note that matching "
1068 "against a setting and then changing its value afterwards in a different "
1069 "config file may lead to unexpected results.\\fR"
1070 msgstr ""
1071
1072 #. type: Plain text
1073 #: archlinux debian-trixie opensuse-leap-16-1
1074 msgid ""
1075 "The \\f[CR][Match]\\f[R] section of a \\f[CR]mkosi.conf\\f[R] file in a "
1076 "directory applies to the entire directory. If the conditions are not "
1077 "satisfied, the entire directory is skipped. The \\f[CR][Match]\\f[R] "
1078 "sections of files in \\f[CR]mkosi.conf.d/\\f[R] and "
1079 "\\f[CR]mkosi.local.conf\\f[R] only apply to the file itself.\\fR"
1080 msgstr ""
1081
1082 #. type: Plain text
1083 #: archlinux debian-trixie opensuse-leap-16-1
1084 msgid ""
1085 "If there are multiple \\f[CR][Match]\\f[R] sections in the same "
1086 "configuration file, each of them has to be satisfied in order for the "
1087 "configuration file to be included. Specifically, triggering conditions only "
1088 "apply to the current \\f[CR][Match]\\f[R] section and are reset between "
1089 "multiple \\f[CR][Match]\\f[R] sections. As an example, the following will "
1090 "only match if the output format is one of \\f[CR]disk\\f[R] or "
1091 "\\f[CR]directory\\f[R] and the architecture is one of \\f[CR]x86-64\\f[R] or "
1092 "\\f[CR]arm64\\f[R]:\\fR"
1093 msgstr ""
1094
1095 #. type: Plain text
1096 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
1097 #: opensuse-tumbleweed
1098 #, no-wrap
1099 msgid ""
1100 "\\f[B][Match]\\f[R]\n"
1101 "Format=|disk\n"
1102 "Format=|directory\\fR\n"
1103 msgstr ""
1104
1105 #. type: Plain text
1106 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
1107 #: opensuse-tumbleweed
1108 #, no-wrap
1109 msgid ""
1110 "\\f[B][Match]\\f[R]\n"
1111 "Architecture=|x86-64\n"
1112 "Architecture=|arm64\\fR\n"
1113 msgstr ""
1114
1115 #. type: Plain text
1116 #: archlinux
1117 msgid ""
1118 "The \\f[CR][TriggerMatch]\\f[R] section can be used to indicate triggering "
1119 "matches. These are identical to triggering conditions in systemd units "
1120 "except they apply to the entire match section instead of just a single "
1121 "condition. As an example, the following will match if the distribution is "
1122 "\\f[CR]debian\\f[R] and the release is \\f[CR]bookworm\\f[R] or if the "
1123 "distribution is \\f[CR]ubuntu\\f[R] and the release is \\f[CR]noble\\f[R]."
1124 "\\fR"
1125 msgstr ""
1126
1127 #. type: Plain text
1128 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
1129 #: opensuse-tumbleweed
1130 #, no-wrap
1131 msgid ""
1132 "\\f[B][TriggerMatch]\\f[R]\n"
1133 "Distribution=debian\n"
1134 "Release=bookworm\\fR\n"
1135 msgstr ""
1136
1137 #. type: Plain text
1138 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
1139 #: opensuse-tumbleweed
1140 #, no-wrap
1141 msgid ""
1142 "\\f[B][TriggerMatch]\\f[R]\n"
1143 "Distribution=ubuntu\n"
1144 "Release=noble\\fR\n"
1145 msgstr ""
1146
1147 #. type: Plain text
1148 #: archlinux debian-trixie opensuse-leap-16-1
1149 msgid ""
1150 "The semantics of conditions in \\f[CR][TriggerMatch]\\f[R] sections is the "
1151 "same as in \\f[CR][Match]\\f[R], i.e.\\ all normal conditions are joined by "
1152 "a logical AND and all triggering conditions are joined by a logical OR. "
1153 "When mixing \\f[CR][Match]\\f[R] and \\f[CR][TriggerMatch]\\f[R] sections, a "
1154 "match is achieved when all \\f[CR][Match]\\f[R] sections match and at least "
1155 "one \\f[CR][TriggerMatch]\\f[R] section matches. The absence of match "
1156 "sections is valued as true. Logically this means:\\fR"
1157 msgstr ""
1158
1159 #. type: Plain text
1160 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1161 #: opensuse-leap-16-1 opensuse-tumbleweed
1162 #, no-wrap
1163 msgid "(⋀ᵢ Matchᵢ) ∧ (⋁ᵢ TriggerMatchᵢ)\n"
1164 msgstr ""
1165
1166 #. type: Plain text
1167 #: archlinux
1168 msgid ""
1169 "There is also support for \\f[CR][Assert]\\f[R] and \\f[CR][TriggerAssert]"
1170 "\\f[R] sections which behave identically to match sections except parsing "
1171 "configuration will fail if the assert sections are not satisfied, i.e.\\ all "
1172 "\\f[CR][Assert]\\f[R] sections in a file as well as at least one \\f[CR]"
1173 "[TriggertAssert]\\f[R] section have to be satisfied or config parsing will "
1174 "fail.\\fR"
1175 msgstr ""
1176
1177 #. type: Plain text
1178 #: archlinux debian-trixie opensuse-leap-16-1
1179 msgid ""
1180 "Command line options that take no argument are shown without \\f[CR]=\\f[R] "
1181 "in their long version. In the config files, they should be specified with a "
1182 "boolean argument: either \\f[CR]1\\f[R], \\f[CR]yes\\f[R], or "
1183 "\\f[CR]true\\f[R] to enable, or \\f[CR]0\\f[R], \\f[CR]no\\f[R], "
1184 "\\f[CR]false\\f[R] to disable.\\fR"
1185 msgstr ""
1186
1187 #. type: SS
1188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1189 #: opensuse-leap-16-1 opensuse-tumbleweed
1190 #, no-wrap
1191 msgid "[Distribution] Section"
1192 msgstr ""
1193
1194 #. type: TP
1195 #: archlinux debian-trixie opensuse-leap-16-1
1196 #, no-wrap
1197 msgid "\\f[CR]Distribution=\\f[R], \\f[CR]--distribution=\\f[R], \\f[CR]-d\\fR"
1198 msgstr ""
1199
1200 #. type: Plain text
1201 #: archlinux debian-trixie opensuse-leap-16-1
1202 msgid ""
1203 "The distribution to install in the image. Takes one of the following "
1204 "arguments: \\f[CR]fedora\\f[R], \\f[CR]debian\\f[R], \\f[CR]kali\\f[R], "
1205 "\\f[CR]ubuntu\\f[R], \\f[CR]arch\\f[R], \\f[CR]opensuse\\f[R], "
1206 "\\f[CR]mageia\\f[R], \\f[CR]centos\\f[R], \\f[CR]rhel\\f[R], \\f[CR]rhel-"
1207 "ubi\\f[R], \\f[CR]openmandriva\\f[R], \\f[CR]rocky\\f[R], \\f[CR]alma\\f[R], "
1208 "\\f[CR]azure\\f[R] or \\f[CR]custom\\f[R]. If not specified, defaults to "
1209 "the distribution of the host or \\f[CR]custom\\f[R] if the distribution of "
1210 "the host is not a supported distribution.\\fR"
1211 msgstr ""
1212
1213 #. type: TP
1214 #: archlinux debian-trixie opensuse-leap-16-1
1215 #, no-wrap
1216 msgid "\\f[CR]Release=\\f[R], \\f[CR]--release=\\f[R], \\f[CR]-r\\fR"
1217 msgstr ""
1218
1219 #. type: Plain text
1220 #: archlinux debian-trixie opensuse-leap-16-1
1221 msgid ""
1222 "The release of the distribution to install in the image. The precise syntax "
1223 "of the argument this takes depends on the distribution used, and is either a "
1224 "numeric string (in case of Fedora Linux, CentOS, \\&..., e.g.\\ "
1225 "\\f[CR]29\\f[R]), or a distribution version name (in case of Debian, Kali, "
1226 "Ubuntu, \\&..., e.g.\\ \\f[CR]artful\\f[R]). Defaults to a recent version "
1227 "of the chosen distribution, or the version of the distribution running on "
1228 "the host if it matches the configured distribution.\\fR"
1229 msgstr ""
1230
1231 #. type: TP
1232 #: archlinux debian-trixie opensuse-leap-16-1
1233 #, no-wrap
1234 msgid "\\f[CR]Architecture=\\f[R], \\f[CR]--architecture=\\fR"
1235 msgstr ""
1236
1237 #. type: Plain text
1238 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
1239 msgid ""
1240 "The architecture to build the image for. The architectures that are "
1241 "actually supported depends on the distribution used and whether a bootable "
1242 "image is requested or not. When building for a foreign architecture, you\\"
1243 "[cq]ll also need to install and register a user mode emulator for that "
1244 "architecture."
1245 msgstr ""
1246
1247 #. type: Plain text
1248 #: archlinux debian-trixie opensuse-leap-16-1
1249 msgid ""
1250 "One of the following architectures can be specified per image built: "
1251 "\\f[CR]alpha\\f[R], \\f[CR]arc\\f[R], \\f[CR]arm\\f[R], \\f[CR]arm64\\f[R], "
1252 "\\f[CR]ia64\\f[R], \\f[CR]loongarch64\\f[R], \\f[CR]mips64-le\\f[R], "
1253 "\\f[CR]mips-le\\f[R], \\f[CR]parisc\\f[R], \\f[CR]ppc\\f[R], "
1254 "\\f[CR]ppc64\\f[R], \\f[CR]ppc64-le\\f[R], \\f[CR]riscv32\\f[R], "
1255 "\\f[CR]riscv64\\f[R], \\f[CR]s390\\f[R], \\f[CR]s390x\\f[R], "
1256 "\\f[CR]tilegx\\f[R], \\f[CR]x86\\f[R], \\f[CR]x86-64\\f[R].\\fR"
1257 msgstr ""
1258
1259 #. type: TP
1260 #: archlinux debian-trixie opensuse-leap-16-1
1261 #, no-wrap
1262 msgid "\\f[CR]Mirror=\\f[R], \\f[CR]--mirror=\\f[R], \\f[CR]-m\\fR"
1263 msgstr ""
1264
1265 #. type: Plain text
1266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1267 #: opensuse-leap-16-1 opensuse-tumbleweed
1268 msgid ""
1269 "The mirror to use for downloading the distribution packages. Expects a "
1270 "mirror URL as argument. If not provided, the default mirror for the "
1271 "distribution is used."
1272 msgstr ""
1273
1274 #. type: Plain text
1275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1276 #: opensuse-leap-16-1 opensuse-tumbleweed
1277 msgid ""
1278 "The default mirrors for each distribution are as follows (unless specified, "
1279 "the same mirror is used for all architectures):"
1280 msgstr ""
1281
1282 #. type: tbl table
1283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1284 #: opensuse-leap-16-1 opensuse-tumbleweed
1285 #, no-wrap
1286 msgid "x86-64"
1287 msgstr ""
1288
1289 #. type: tbl table
1290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1291 #: opensuse-leap-16-1 opensuse-tumbleweed
1292 #, no-wrap
1293 msgid "aarch64"
1294 msgstr ""
1295
1296 #. type: tbl table
1297 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1298 #: opensuse-leap-16-1 opensuse-tumbleweed
1299 #, no-wrap
1300 msgid "_"
1301 msgstr ""
1302
1303 #. type: tbl table
1304 #: archlinux debian-trixie opensuse-leap-16-1
1305 #, no-wrap
1306 msgid "\\f[CR]debian\\fR"
1307 msgstr ""
1308
1309 #. type: tbl table
1310 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1311 #, no-wrap
1312 msgid "\\f[R]http://deb.debian.org\\fR"
1313 msgstr ""
1314
1315 #. type: tbl table
1316 #: archlinux debian-trixie opensuse-leap-16-1
1317 #, no-wrap
1318 msgid "\\f[CR]arch\\fR"
1319 msgstr ""
1320
1321 #. type: tbl table
1322 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1323 #, no-wrap
1324 msgid "\\f[R]https://fastly.mirror.pkgbuild.com\\fR"
1325 msgstr ""
1326
1327 #. type: tbl table
1328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1329 #: opensuse-leap-16-1 opensuse-tumbleweed
1330 #, no-wrap
1331 msgid "\\f[R]http://mirror.archlinuxarm.org\\fR"
1332 msgstr ""
1333
1334 #. type: tbl table
1335 #: archlinux debian-trixie opensuse-leap-16-1
1336 #, no-wrap
1337 msgid "\\f[CR]opensuse\\fR"
1338 msgstr ""
1339
1340 #. type: tbl table
1341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1342 #: opensuse-leap-16-1 opensuse-tumbleweed
1343 #, no-wrap
1344 msgid "\\f[R]http://download.opensuse.org\\fR"
1345 msgstr ""
1346
1347 #. type: tbl table
1348 #: archlinux debian-trixie opensuse-leap-16-1
1349 #, no-wrap
1350 msgid "\\f[CR]kali\\fR"
1351 msgstr ""
1352
1353 #. type: tbl table
1354 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1355 #: opensuse-leap-16-1 opensuse-tumbleweed
1356 #, no-wrap
1357 msgid "\\f[R]http://http.kali.org/kali\\fR"
1358 msgstr ""
1359
1360 #. type: tbl table
1361 #: archlinux debian-trixie opensuse-leap-16-1
1362 #, no-wrap
1363 msgid "\\f[CR]ubuntu\\fR"
1364 msgstr ""
1365
1366 #. type: tbl table
1367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1368 #: opensuse-leap-16-1 opensuse-tumbleweed
1369 #, no-wrap
1370 msgid "\\f[R]http://archive.ubuntu.com\\fR"
1371 msgstr ""
1372
1373 #. type: tbl table
1374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1375 #: opensuse-leap-16-1 opensuse-tumbleweed
1376 #, no-wrap
1377 msgid "\\f[R]http://ports.ubuntu.com\\fR"
1378 msgstr ""
1379
1380 #. type: tbl table
1381 #: archlinux debian-trixie opensuse-leap-16-1
1382 #, no-wrap
1383 msgid "\\f[CR]centos\\fR"
1384 msgstr ""
1385
1386 #. type: tbl table
1387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1388 #: opensuse-leap-16-1 opensuse-tumbleweed
1389 #, no-wrap
1390 msgid "\\f[R]https://mirrors.centos.org\\fR"
1391 msgstr ""
1392
1393 #. type: tbl table
1394 #: archlinux debian-trixie opensuse-leap-16-1
1395 #, no-wrap
1396 msgid "\\f[CR]rocky\\fR"
1397 msgstr ""
1398
1399 #. type: tbl table
1400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1401 #: opensuse-leap-16-1 opensuse-tumbleweed
1402 #, no-wrap
1403 msgid "\\f[R]https://mirrors.rockylinux.org\\fR"
1404 msgstr ""
1405
1406 #. type: tbl table
1407 #: archlinux debian-trixie opensuse-leap-16-1
1408 #, no-wrap
1409 msgid "\\f[CR]alma\\fR"
1410 msgstr ""
1411
1412 #. type: tbl table
1413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1414 #: opensuse-leap-16-1 opensuse-tumbleweed
1415 #, no-wrap
1416 msgid "\\f[R]https://mirrors.almalinux.org\\fR"
1417 msgstr ""
1418
1419 #. type: tbl table
1420 #: archlinux debian-trixie opensuse-leap-16-1
1421 #, no-wrap
1422 msgid "\\f[CR]fedora\\fR"
1423 msgstr ""
1424
1425 #. type: tbl table
1426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1427 #: opensuse-leap-16-1 opensuse-tumbleweed
1428 #, no-wrap
1429 msgid "\\f[R]https://mirrors.fedoraproject.org\\fR"
1430 msgstr ""
1431
1432 #. type: tbl table
1433 #: archlinux debian-trixie opensuse-leap-16-1
1434 #, no-wrap
1435 msgid "\\f[CR]rhel-ubi\\fR"
1436 msgstr ""
1437
1438 #. type: tbl table
1439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1440 #: opensuse-leap-16-1 opensuse-tumbleweed
1441 #, no-wrap
1442 msgid "\\f[R]https://cdn-ubi.redhat.com\\fR"
1443 msgstr ""
1444
1445 #. type: tbl table
1446 #: archlinux debian-trixie opensuse-leap-16-1
1447 #, no-wrap
1448 msgid "\\f[CR]mageia\\fR"
1449 msgstr ""
1450
1451 #. type: tbl table
1452 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1453 #: opensuse-leap-16-1 opensuse-tumbleweed
1454 #, no-wrap
1455 msgid "\\f[R]https://www.mageia.org\\fR"
1456 msgstr ""
1457
1458 #. type: tbl table
1459 #: archlinux debian-trixie opensuse-leap-16-1
1460 #, no-wrap
1461 msgid "\\f[CR]openmandriva\\fR"
1462 msgstr ""
1463
1464 #. type: tbl table
1465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1466 #: opensuse-leap-16-1 opensuse-tumbleweed
1467 #, no-wrap
1468 msgid "\\f[R]http://mirrors.openmandriva.org\\fR"
1469 msgstr ""
1470
1471 #. type: tbl table
1472 #: archlinux debian-trixie opensuse-leap-16-1
1473 #, no-wrap
1474 msgid "\\f[CR]azure\\fR"
1475 msgstr ""
1476
1477 #. type: tbl table
1478 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1479 #: opensuse-leap-16-1 opensuse-tumbleweed
1480 #, no-wrap
1481 msgid "\\f[R]https://packages.microsoft.com/\\fR"
1482 msgstr ""
1483
1484 #. type: TP
1485 #: archlinux
1486 #, no-wrap
1487 msgid "\\f[CR]Snapshot=\\fR"
1488 msgstr ""
1489
1490 #. type: Plain text
1491 #: archlinux
1492 msgid ""
1493 "Download packages from the given snapshot instead of downloading the latest "
1494 "distribution packages from the given mirror. Takes a snapshot ID (the "
1495 "format of the snapshot ID differs per distribution), use the \\f[CR]latest-"
1496 "snapshot\\f[R] verb to figure out the latest available snapshot.\\fR"
1497 msgstr ""
1498
1499 #. type: Plain text
1500 #: archlinux
1501 msgid ""
1502 "If this setting is configured and \\f[CR]Mirror=\\f[R] is not explicitly "
1503 "configured, different default mirrors are used:\\fR"
1504 msgstr ""
1505
1506 #. type: tbl table
1507 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1508 #, no-wrap
1509 msgid "\\f[R]https://snapshot.debian.org\\fR"
1510 msgstr ""
1511
1512 #. type: tbl table
1513 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1514 #, no-wrap
1515 msgid "\\f[R]https://archive.archlinux.org\\fR"
1516 msgstr ""
1517
1518 #. type: tbl table
1519 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1520 #, no-wrap
1521 msgid "\\f[R]https://composes.stream.centos.org\\fR"
1522 msgstr ""
1523
1524 #. type: tbl table
1525 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1526 #, no-wrap
1527 msgid "\\f[R]https://kojipkgs.fedoraproject.org\\fR"
1528 msgstr ""
1529
1530 #. type: Plain text
1531 #: archlinux fedora-44 fedora-rawhide
1532 msgid "For any distribution not listed above, snapshots are not supported."
1533 msgstr ""
1534
1535 #. type: TP
1536 #: archlinux debian-trixie opensuse-leap-16-1
1537 #, no-wrap
1538 msgid "\\f[CR]LocalMirror=\\f[R], \\f[CR]--local-mirror=\\fR"
1539 msgstr ""
1540
1541 #. type: Plain text
1542 #: archlinux debian-trixie opensuse-leap-16-1
1543 msgid ""
1544 "The mirror will be used as a local, plain and direct mirror instead of using "
1545 "it as a prefix for the full set of repositories normally supported by "
1546 "distributions. Useful for fully offline builds with a single repository. "
1547 "Supported on \\f[B]deb\\f[R]-, \\f[B]rpm\\f[R]-, and \\f[B]pacman\\f[R]-"
1548 "based distributions. Overrides \\f[CR]--mirror=\\f[R] but only for the "
1549 "local \\f[B]mkosi\\f[R] build, it will not be configured inside the final "
1550 "image, \\f[CR]--mirror=\\f[R] (or the default repository) will be configured "
1551 "inside the final image instead.\\fR"
1552 msgstr ""
1553
1554 #. type: TP
1555 #: archlinux debian-trixie opensuse-leap-16-1
1556 #, no-wrap
1557 msgid "\\f[CR]RepositoryKeyCheck=\\f[R], \\f[CR]--repository-key-check=\\fR"
1558 msgstr ""
1559
1560 #. type: Plain text
1561 #: archlinux debian-trixie opensuse-leap-16-1
1562 msgid ""
1563 "Controls signature/key checks when using repositories, enabled by default. "
1564 "Useful to disable checks when combined with \\f[CR]--local-mirror=\\f[R] and "
1565 "using only a repository from a local filesystem.\\fR"
1566 msgstr ""
1567
1568 #. type: TP
1569 #: archlinux debian-trixie opensuse-leap-16-1
1570 #, no-wrap
1571 msgid "\\f[CR]RepositoryKeyFetch=\\f[R], \\f[CR]--repository-key-fetch=\\fR"
1572 msgstr ""
1573
1574 #. type: Plain text
1575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1576 #: opensuse-leap-16-1 opensuse-tumbleweed
1577 msgid ""
1578 "Controls whether \\f[B]mkosi\\f[R] will fetch distribution GPG keys "
1579 "remotely. Enabled by default on Ubuntu when not using a tools tree or when "
1580 "using Ubuntu tools trees to build Arch Linux or RPM-based distributions. "
1581 "Disabled by default on all other distributions. When disabled, the "
1582 "distribution GPG keys for the target distribution have to be installed "
1583 "locally on the host system alongside the package manager for that "
1584 "distribution.\\fR"
1585 msgstr ""
1586
1587 #. type: Plain text
1588 #: archlinux debian-trixie opensuse-leap-16-1
1589 msgid ""
1590 "This setting is only implemented for distributions using \\f[B]dnf\\f[R], "
1591 "\\f[B]pacman\\f[R] or \\f[B]zypper\\f[R] as their package manager. For "
1592 "other distributions the distribution GPG keys are always looked up locally "
1593 "regardless of the value of this setting. To make the distribution GPG keys "
1594 "for distributions available without enabling this setting, the corresponding "
1595 "package has to be installed on the host. This is usually one of "
1596 "\\f[CR]archlinux-keyring\\f[R], \\f[CR]debian-keyring\\f[R], \\f[CR]kali-"
1597 "archive-keyring\\f[R], \\f[CR]ubuntu-keyring\\f[R] or \\f[CR]distribution-"
1598 "gpg-keys\\f[R] (for RPM-based distributions).\\fR"
1599 msgstr ""
1600
1601 #. type: TP
1602 #: archlinux debian-trixie opensuse-leap-16-1
1603 #, no-wrap
1604 msgid "\\f[CR]Repositories=\\f[R], \\f[CR]--repositories=\\fR"
1605 msgstr ""
1606
1607 #. type: Plain text
1608 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1609 #: opensuse-leap-16-1 opensuse-tumbleweed
1610 msgid ""
1611 "Enable package repositories that are disabled by default. This can be used "
1612 "to enable the EPEL repos for CentOS or different components of the Debian/"
1613 "Kali/Ubuntu repositories."
1614 msgstr ""
1615
1616 #. type: SS
1617 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1618 #: opensuse-leap-16-1 opensuse-tumbleweed
1619 #, no-wrap
1620 msgid "[Output] Section"
1621 msgstr ""
1622
1623 #. type: TP
1624 #: archlinux debian-trixie opensuse-leap-16-1
1625 #, no-wrap
1626 msgid "\\f[CR]Format=\\f[R], \\f[CR]--format=\\f[R], \\f[CR]-t\\fR"
1627 msgstr ""
1628
1629 #. type: Plain text
1630 #: archlinux
1631 msgid ""
1632 "The image format type to generate. One of \\f[CR]directory\\f[R] (for "
1633 "generating an OS image directly in a local directory), \\f[CR]tar\\f[R] "
1634 "(similar, but a tarball of the OS image is generated), \\f[CR]cpio\\f[R] "
1635 "(similar, but a cpio archive is generated), \\f[CR]disk\\f[R] (a block "
1636 "device OS image with a GPT partition table), \\f[CR]uki\\f[R] (a unified "
1637 "kernel image with the OS image in the \\f[CR].initrd\\f[R] PE section), "
1638 "\\f[CR]esp\\f[R] (a disk image with only an ESP partition, bootloader and "
1639 "optionally a UKI), \\f[CR]oci\\f[R] (a directory compatible with the OCI "
1640 "image specification), \\f[CR]sysext\\f[R], \\f[CR]confext\\f[R], "
1641 "\\f[CR]portable\\f[R], \\f[CR]addon\\f[R] or \\f[CR]none\\f[R] (the OS image "
1642 "is solely intended as a build image to produce another artifact).\\fR"
1643 msgstr ""
1644
1645 #. type: Plain text
1646 #: archlinux debian-trixie opensuse-leap-16-1
1647 msgid ""
1648 "If the \\f[CR]disk\\f[R] output format is used, the disk image is generated "
1649 "using \\f[B]systemd-repart\\f[R]. The repart partition definition files to "
1650 "use can be configured using the \\f[CR]RepartDirectories=\\f[R] setting or "
1651 "via \\f[CR]mkosi.repart/\\f[R]. When verity partitions are configured using "
1652 "\\f[B]systemd-repart\\f[R]\\[cq]s \\f[CR]Verity=\\f[R] setting, "
1653 "\\f[B]mkosi\\f[R] will automatically parse the verity hash partition\\[cq]s "
1654 "roothash from \\f[B]systemd-repart\\f[R]\\[cq]s JSON output and include it "
1655 "in the kernel command line of every unified kernel image built by "
1656 "\\f[B]mkosi\\f[R].\\fR"
1657 msgstr ""
1658
1659 #. type: Plain text
1660 #: archlinux debian-trixie opensuse-leap-16-1
1661 msgid ""
1662 "If the \\f[CR]none\\f[R] output format is used, the outputs from a previous "
1663 "build are not removed, but clean scripts (see \\f[CR]CleanScripts=\\f[R]) "
1664 "are still executed. This allows rerunning a build script (see "
1665 "\\f[CR]BuildScripts=\\f[R]) without removing the results of a previous "
1666 "build.\\fR"
1667 msgstr ""
1668
1669 #. type: TP
1670 #: archlinux debian-trixie opensuse-leap-16-1
1671 #, no-wrap
1672 msgid "\\f[CR]ManifestFormat=\\f[R], \\f[CR]--manifest-format=\\fR"
1673 msgstr ""
1674
1675 #. type: Plain text
1676 #: archlinux debian-trixie opensuse-leap-16-1
1677 msgid ""
1678 "The manifest format type or types to generate. A comma-delimited list "
1679 "consisting of \\f[CR]json\\f[R] (the standard JSON output format that "
1680 "describes the packages installed), \\f[CR]changelog\\f[R] (a human-readable "
1681 "text format designed for diffing). By default no manifest is generated.\\fR"
1682 msgstr ""
1683
1684 #. type: TP
1685 #: archlinux debian-trixie opensuse-leap-16-1
1686 #, no-wrap
1687 msgid "\\f[CR]Output=\\f[R], \\f[CR]--output=\\f[R], \\f[CR]-o\\fR"
1688 msgstr ""
1689
1690 #. type: Plain text
1691 #: archlinux debian-trixie opensuse-leap-16-1
1692 msgid ""
1693 "Name to use for the generated output image file or directory. Defaults to "
1694 "\\f[CR]image\\f[R] or, if \\f[CR]ImageId=\\f[R] is specified, it is used as "
1695 "the default output name, optionally suffixed with the version set with "
1696 "\\f[CR]ImageVersion=\\f[R] or if a specific image is built from "
1697 "\\f[CR]mkosi.images\\f[R], the name of the image is preferred over "
1698 "\\f[CR]ImageId\\f[R]. Note that this option does not allow configuring the "
1699 "output directory, use \\f[CR]OutputDirectory=\\f[R] for that.\\fR"
1700 msgstr ""
1701
1702 #. type: Plain text
1703 #: archlinux debian-trixie opensuse-leap-16-1
1704 msgid ""
1705 "Note that this only specifies the output prefix, depending on the specific "
1706 "output format, compression and image version used, the full output name "
1707 "might be \\f[CR]image_7.8.raw.xz\\f[R].\\fR"
1708 msgstr ""
1709
1710 #. type: TP
1711 #: archlinux
1712 #, no-wrap
1713 msgid "\\f[CR]OutputExtension=\\f[R], \\f[CR]--output-extension=\\fR"
1714 msgstr ""
1715
1716 #. type: Plain text
1717 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1718 msgid ""
1719 "Use the specified extension for the output file. Defaults to the "
1720 "appropriate extension based on the output format. Only includes the file "
1721 "extension, not any compression extension which will be appended to this "
1722 "extension if compression is enabled."
1723 msgstr ""
1724
1725 #. type: TP
1726 #: archlinux debian-trixie opensuse-leap-16-1
1727 #, no-wrap
1728 msgid "\\f[CR]CompressOutput=\\f[R], \\f[CR]--compress-output=\\fR"
1729 msgstr ""
1730
1731 #. type: Plain text
1732 #: archlinux debian-trixie opensuse-leap-16-1
1733 msgid ""
1734 "Configure compression for the resulting image or archive. The argument can "
1735 "be either a boolean or a compression algorithm (\\f[B]xz\\f[R], "
1736 "\\f[B]zstd\\f[R]). \\f[B]zstd\\f[R] compression is used by default, except "
1737 "CentOS and derivatives up to version 8, which default to \\f[B]xz\\f[R], and "
1738 "OCI images, which default to \\f[B]gzip\\f[R]. Note that when applied to "
1739 "block device image types, compression means the image cannot be started "
1740 "directly but needs to be decompressed first. This also means that the "
1741 "\\f[CR]shell\\f[R], \\f[CR]boot\\f[R], \\f[CR]vm\\f[R] verbs are not "
1742 "available when this option is used. Implied for \\f[CR]tar\\f[R], "
1743 "\\f[CR]cpio\\f[R], \\f[CR]uki\\f[R], \\f[CR]esp\\f[R], \\f[CR]oci\\f[R] and "
1744 "\\f[CR]addon\\f[R].\\fR"
1745 msgstr ""
1746
1747 #. type: TP
1748 #: archlinux debian-trixie opensuse-leap-16-1
1749 #, no-wrap
1750 msgid "\\f[CR]CompressLevel=\\f[R], \\f[CR]--compress-level=\\fR"
1751 msgstr ""
1752
1753 #. type: Plain text
1754 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1755 #: opensuse-leap-16-1 opensuse-tumbleweed
1756 msgid ""
1757 "Configure the compression level to use. Takes an integer. The possible "
1758 "values depend on the compression being used."
1759 msgstr ""
1760
1761 #. type: TP
1762 #: archlinux debian-trixie opensuse-leap-16-1
1763 #, no-wrap
1764 msgid "\\f[CR]OutputDirectory=\\f[R], \\f[CR]--output-directory=\\f[R], \\f[CR]-O\\fR"
1765 msgstr ""
1766
1767 #. type: Plain text
1768 #: archlinux debian-trixie opensuse-leap-16-1
1769 msgid ""
1770 "Path to a directory where to place all generated artifacts. If this is not "
1771 "specified and the directory \\f[CR]mkosi.output/\\f[R] exists in the local "
1772 "directory, it is automatically used for this purpose.\\fR"
1773 msgstr ""
1774
1775 #. type: TP
1776 #: archlinux debian-trixie opensuse-leap-16-1
1777 #, no-wrap
1778 msgid "\\f[CR]OutputMode=\\f[R], \\f[CR]--output-mode=\\fR"
1779 msgstr ""
1780
1781 #. type: Plain text
1782 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1783 #: opensuse-leap-16-1 opensuse-tumbleweed
1784 msgid ""
1785 "File system access mode used when creating the output image file. Takes an "
1786 "access mode in octal notation. If not set, uses the current system defaults."
1787 msgstr ""
1788
1789 #. type: TP
1790 #: archlinux debian-trixie opensuse-leap-16-1
1791 #, no-wrap
1792 msgid "\\f[CR]ImageVersion=\\f[R], \\f[CR]--image-version=\\fR"
1793 msgstr ""
1794
1795 #. type: Plain text
1796 #: archlinux debian-trixie opensuse-leap-16-1
1797 msgid ""
1798 "Configure the image version. This accepts any string, but it is recommended "
1799 "to specify a series of dot separated components. The version may also be "
1800 "configured by reading a \\f[CR]mkosi.version\\f[R] file (in which case it "
1801 "may be conveniently managed via the \\f[CR]bump\\f[R] verb or the \\f[CR]--"
1802 "auto-bump\\f[R] option) or by reading stdout if it is executable (see the "
1803 "\\f[B]Scripts\\f[R] section below). When specified the image version is "
1804 "included in the default output file name, i.e.\\ instead of "
1805 "\\f[CR]image.raw\\f[R] the default will be \\f[CR]image_0.1.raw\\f[R] for "
1806 "version \\f[CR]0.1\\f[R] of the image, and similar. The version is also "
1807 "passed via the \\f[CR]$IMAGE_VERSION\\f[R] to any build scripts invoked "
1808 "(which may be useful to patch it into \\f[CR]/usr/lib/os-release\\f[R] or "
1809 "similar, in particular the \\f[CR]IMAGE_VERSION=\\f[R] field of it).\\fR"
1810 msgstr ""
1811
1812 #. type: TP
1813 #: archlinux debian-trixie opensuse-leap-16-1
1814 #, no-wrap
1815 msgid "\\f[CR]ImageId=\\f[R], \\f[CR]--image-id=\\fR"
1816 msgstr ""
1817
1818 #. type: Plain text
1819 #: archlinux debian-trixie opensuse-leap-16-1
1820 msgid ""
1821 "Configure the image identifier. This accepts a freeform string that shall "
1822 "be used to identify the image with. If set the default output file will be "
1823 "named after it (possibly suffixed with the version). The identifier is also "
1824 "passed via the \\f[CR]$IMAGE_ID\\f[R] to any build scripts invoked. The "
1825 "image ID is automatically added to \\f[CR]/usr/lib/os-release\\f[R].\\fR"
1826 msgstr ""
1827
1828 #. type: TP
1829 #: archlinux
1830 #, no-wrap
1831 msgid "\\f[CR]SplitArtifacts=\\f[R], \\f[CR]--split-artifacts=\\fR"
1832 msgstr ""
1833
1834 #. type: Plain text
1835 #: archlinux
1836 msgid ""
1837 "The artifact types to split out of the final image. A comma-delimited list "
1838 "consisting of \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R], \\f[CR]initrd\\f[R], "
1839 "\\f[CR]os-release\\f[R], \\f[CR]prcs\\f[R], \\f[CR]partitions\\f[R], "
1840 "\\f[CR]roothash\\f[R], \\f[CR]kernel-modules-initrd\\f[R], \\f[CR]repart-"
1841 "definitions\\f[R] and \\f[CR]tar\\f[R]. When building a bootable image "
1842 "\\f[CR]kernel\\f[R] and \\f[CR]initrd\\f[R] correspond to their artifact "
1843 "found in the image (or in the UKI), while \\f[CR]uki\\f[R] copies out the "
1844 "entire UKI. If \\f[CR]pcrs\\f[R] is specified, a JSON file containing the "
1845 "pre-calculated TPM2 digests is written out, according to the E<.UR https://"
1846 "uapi-group.org/specifications/specs/unified_kernel_image/#json-format-for-"
1847 "pcrsig> UKI specification E<.UE > , which is useful for offline signing.\\fR"
1848 msgstr ""
1849
1850 #. type: Plain text
1851 #: archlinux
1852 msgid ""
1853 "When building a disk image and \\f[CR]partitions\\f[R] is specified, pass "
1854 "\\f[CR]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out "
1855 "split partition files for each configured partition. Read the E<.UR https://"
1856 "www.freedesktop.org/software/systemd/man/systemd-repart.html#--split=BOOL> "
1857 "man E<.UE > \\ page for more information. This is useful in A/B update "
1858 "scenarios where an existing disk image shall be augmented with a new version "
1859 "of a root or \\f[CR]/usr\\f[R] partition along with its Verity partition and "
1860 "unified kernel.\\fR"
1861 msgstr ""
1862
1863 #. type: Plain text
1864 #: archlinux
1865 msgid ""
1866 "When \\f[CR]tar\\f[R] is specified, the rootfs is additionally archived as a "
1867 "tar archive (compressed according to \\f[CR]CompressOutput=\\f[R]).\\fR"
1868 msgstr ""
1869
1870 #. type: Plain text
1871 #: archlinux
1872 msgid ""
1873 "When \\f[CR]roothash\\f[R] is specified and a dm-verity disk image is built, "
1874 "the dm-verity roothash is written out as a separate file, which is useful "
1875 "for offline signing.\\fR"
1876 msgstr ""
1877
1878 #. type: Plain text
1879 #: archlinux
1880 msgid ""
1881 "\\f[CR]kernel-modules-initrd\\f[R] corresponds to the separate kernel "
1882 "modules initrd which mkosi appends to the main initrd. This is primarily "
1883 "intended for debugging as many initrd inspection tools don\\[cq]t properly "
1884 "handle multiple initrds appended to each other.\\fR"
1885 msgstr ""
1886
1887 #. type: Plain text
1888 #: archlinux
1889 msgid ""
1890 "When \\f[CR]repart-definitions\\f[R] is specified, a directory containing "
1891 "the used repart definition files is written to the output directory. If "
1892 "multiple directories are configured via \\f[CR]RepartDirectories=\\f[R], "
1893 "they are merged, with later directories taking priority over earlier ones "
1894 "when files with identical names exist.\\fR"
1895 msgstr ""
1896
1897 #. type: Plain text
1898 #: archlinux
1899 msgid ""
1900 "By default \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R] and \\f[CR]initrd\\f[R] are "
1901 "split out.\\fR"
1902 msgstr ""
1903
1904 #. type: TP
1905 #: archlinux debian-trixie opensuse-leap-16-1
1906 #, no-wrap
1907 msgid "\\f[CR]RepartDirectories=\\f[R], \\f[CR]--repart-directory=\\fR"
1908 msgstr ""
1909
1910 #. type: Plain text
1911 #: archlinux debian-trixie opensuse-leap-16-1
1912 msgid ""
1913 "Paths to directories containing \\f[B]systemd-repart\\f[R] partition "
1914 "definition files that are used when \\f[B]mkosi\\f[R] invokes \\f[B]systemd-"
1915 "repart\\f[R] when building a disk image. If \\f[CR]mkosi.repart/\\f[R] "
1916 "exists in the local directory, it will be used for this purpose as well. "
1917 "Note that \\f[B]mkosi\\f[R] invokes repart with \\f[CR]--root=\\f[R] set to "
1918 "the root of the image root, so any \\f[CR]CopyFiles=\\f[R] source paths in "
1919 "partition definition files will be relative to the image root directory.\\fR"
1920 msgstr ""
1921
1922 #. type: TP
1923 #: archlinux debian-trixie opensuse-leap-16-1
1924 #, no-wrap
1925 msgid "\\f[CR]SectorSize=\\f[R], \\f[CR]--sector-size=\\fR"
1926 msgstr ""
1927
1928 #. type: Plain text
1929 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1930 #: opensuse-leap-16-1 opensuse-tumbleweed
1931 msgid ""
1932 "Override the default sector size that \\f[B]systemd-repart\\f[R] uses when "
1933 "building a disk image.\\fR"
1934 msgstr ""
1935
1936 #. type: TP
1937 #: archlinux
1938 #, no-wrap
1939 msgid "\\f[CR]Overlay=\\f[R], \\f[CR]--overlay=\\fR"
1940 msgstr ""
1941
1942 #. type: Plain text
1943 #: archlinux debian-trixie opensuse-leap-16-1
1944 msgid ""
1945 "When used together with \\f[CR]BaseTrees=\\f[R], the output will consist "
1946 "only out of changes to the specified base trees. Each base tree is attached "
1947 "as a lower layer in an overlayfs structure, and the output becomes the upper "
1948 "layer, initially empty. Thus files that are not modified compared to the "
1949 "base trees will not be present in the final output.\\fR"
1950 msgstr ""
1951
1952 #. type: Plain text
1953 #: archlinux fedora-44 fedora-rawhide
1954 msgid ""
1955 "This option may be used to create E<.UR https://uapi-group.org/"
1956 "specifications/specs/extension_image> systemd \\f[I]system extensions\\f[R] "
1957 "E<.UE > \\&.\\fR"
1958 msgstr ""
1959
1960 #. type: TP
1961 #: archlinux debian-trixie opensuse-leap-16-1
1962 #, no-wrap
1963 msgid "\\f[CR]Seed=\\f[R], \\f[CR]--seed=\\fR"
1964 msgstr ""
1965
1966 #. type: Plain text
1967 #: archlinux debian-trixie opensuse-leap-16-1
1968 msgid ""
1969 "Takes a UUID as argument or the special value \\f[CR]random\\f[R]. "
1970 "Overrides the seed that \\f[B]systemd-repart\\f[R] uses when building a disk "
1971 "image. This is useful to achieve reproducible builds, where deterministic "
1972 "UUIDs and other partition metadata should be derived on each build. If not "
1973 "specified explicitly and the file \\f[CR]mkosi.seed\\f[R] exists in the "
1974 "local directory, the UUID to use is read from it. Otherwise, a random UUID "
1975 "is used.\\fR"
1976 msgstr ""
1977
1978 #. type: TP
1979 #: archlinux debian-trixie opensuse-leap-16-1
1980 #, no-wrap
1981 msgid "\\f[CR]CleanScripts=\\f[R], \\f[CR]--clean-script=\\fR"
1982 msgstr ""
1983
1984 #. type: Plain text
1985 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
1986 msgid ""
1987 "Takes a comma-separated list of paths to executables that are used as the "
1988 "clean scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for more "
1989 "information.\\fR"
1990 msgstr ""
1991
1992 #. type: SS
1993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1994 #: opensuse-leap-16-1 opensuse-tumbleweed
1995 #, no-wrap
1996 msgid "[Content] Section"
1997 msgstr ""
1998
1999 #. type: TP
2000 #: archlinux debian-trixie opensuse-leap-16-1
2001 #, no-wrap
2002 msgid "\\f[CR]Packages=\\f[R], \\f[CR]--package=\\f[R], \\f[CR]-p\\fR"
2003 msgstr ""
2004
2005 #. type: Plain text
2006 #: archlinux debian-trixie opensuse-leap-16-1
2007 msgid ""
2008 "Install the specified distribution packages (i.e.\\ RPM, deb, \\&...) in "
2009 "the image. Takes a comma-separated list of package specifications. This "
2010 "option may be used multiple times in which case the specified package lists "
2011 "are combined. Use \\f[CR]BuildPackages=\\f[R] to specify packages that "
2012 "shall only be installed in an overlay that is mounted when the prepare "
2013 "scripts are executed with the \\f[CR]build\\f[R] argument and when the build "
2014 "scripts are executed.\\fR"
2015 msgstr ""
2016
2017 #. type: Plain text
2018 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2019 msgid ""
2020 "The types and syntax of \\f[I]package specifications\\f[R] that are allowed "
2021 "depend on the package installer (e.g.\\ \\f[B]dnf\\f[R] for RPM-based "
2022 "distros or \\f[B]apt\\f[R] for deb-based distros), but may include package "
2023 "names, package names with version and/or architecture, package name globs, "
2024 "package groups, and virtual provides, including file paths.\\fR"
2025 msgstr ""
2026
2027 #. type: Plain text
2028 #: archlinux debian-trixie opensuse-leap-16-1
2029 msgid ""
2030 "See \\f[CR]PackageDirectories=\\f[R] for information on how to make local "
2031 "packages available for installation with \\f[CR]Packages=\\f[R].\\fR"
2032 msgstr ""
2033
2034 #. type: Plain text
2035 #: archlinux debian-trixie opensuse-leap-16-1
2036 msgid ""
2037 "\\f[B]Example\\f[R]: when using a distro that uses \\f[B]dnf\\f[R], the "
2038 "following configuration would install the \\f[B]meson\\f[R] package (in the "
2039 "latest version), the 32-bit version of the \\f[CR]libfdisk-devel\\f[R] "
2040 "package, all available packages that start with the \\f[CR]git-\\f[R] "
2041 "prefix, a \\f[B]systemd\\f[R] RPM from the local file system, one of the "
2042 "packages that provides \\f[CR]/usr/bin/ld\\f[R], the packages in the "
2043 "\\f[I]Development Tools\\f[R] group, and the package that contains the "
2044 "\\f[CR]mypy\\f[R] python module.\\fR"
2045 msgstr ""
2046
2047 #. type: Plain text
2048 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2049 #, no-wrap
2050 msgid ""
2051 "Packages=meson\n"
2052 " libfdisk-devel.i686\n"
2053 " git-*\n"
2054 " /usr/bin/ld\n"
2055 " \\[at]development-tools\n"
2056 " python3dist(mypy)\n"
2057 msgstr ""
2058
2059 #. type: TP
2060 #: archlinux debian-trixie opensuse-leap-16-1
2061 #, no-wrap
2062 msgid "\\f[CR]BuildPackages=\\f[R], \\f[CR]--build-package=\\fR"
2063 msgstr ""
2064
2065 #. type: Plain text
2066 #: archlinux debian-trixie opensuse-leap-16-1
2067 msgid ""
2068 "Similar to \\f[CR]Packages=\\f[R], but configures packages to install only "
2069 "in an overlay that is made available on top of the image to the prepare "
2070 "scripts when executed with the \\f[CR]build\\f[R] argument and the build "
2071 "scripts. This option should be used to list packages containing header "
2072 "files, compilers, build systems, linkers and other build tools the "
2073 "\\f[CR]mkosi.build\\f[R] scripts require to operate. Note that packages "
2074 "listed here will be absent in the final image.\\fR"
2075 msgstr ""
2076
2077 #. type: TP
2078 #: archlinux debian-trixie opensuse-leap-16-1
2079 #, no-wrap
2080 msgid "\\f[CR]VolatilePackages=\\f[R], \\f[CR]--volatile-package=\\fR"
2081 msgstr ""
2082
2083 #. type: Plain text
2084 #: archlinux debian-trixie opensuse-leap-16-1
2085 msgid ""
2086 "Similar to \\f[CR]Packages=\\f[R], but packages configured with this setting "
2087 "are not cached when \\f[CR]Incremental=\\f[R] is enabled and are installed "
2088 "after executing any build scripts.\\fR"
2089 msgstr ""
2090
2091 #. type: Plain text
2092 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2093 msgid ""
2094 "Specifically, this setting can be used to install packages that change often "
2095 "or which are built by a build script."
2096 msgstr ""
2097
2098 #. type: TP
2099 #: archlinux debian-trixie opensuse-leap-16-1
2100 #, no-wrap
2101 msgid "\\f[CR]PackageDirectories=\\f[R], \\f[CR]--package-directory=\\fR"
2102 msgstr ""
2103
2104 #. type: Plain text
2105 #: archlinux debian-trixie opensuse-leap-16-1
2106 msgid ""
2107 "Specify directories containing extra packages to be made available during "
2108 "the build. \\f[B]mkosi\\f[R] will create a local repository containing all "
2109 "packages in these directories and make it available when installing packages "
2110 "or running scripts. If the \\f[CR]mkosi.packages/\\f[R] directory is found "
2111 "in the local directory it is also used for this purpose.\\fR"
2112 msgstr ""
2113
2114 #. type: TP
2115 #: archlinux debian-trixie opensuse-leap-16-1
2116 #, no-wrap
2117 msgid "\\f[CR]VolatilePackageDirectories=\\f[R], \\f[CR]--volatile-package-directory=\\fR"
2118 msgstr ""
2119
2120 #. type: Plain text
2121 #: archlinux debian-trixie opensuse-leap-16-1
2122 msgid ""
2123 "Like \\f[CR]PackageDirectories=\\f[R], but any changes to the packages in "
2124 "these directories will not invalidate the cached images if "
2125 "\\f[CR]Incremental=\\f[R] is enabled.\\fR"
2126 msgstr ""
2127
2128 #. type: Plain text
2129 #: archlinux debian-trixie opensuse-leap-16-1
2130 msgid ""
2131 "Additionally, build scripts can add more packages to the local repository by "
2132 "placing the built packages in \\f[CR]$PACKAGEDIR\\f[R]. The packages placed "
2133 "in \\f[CR]$PACKAGEDIR\\f[R] are shared between all image builds and thus "
2134 "available for installation in all images using "
2135 "\\f[CR]VolatilePackages=\\f[R].\\fR"
2136 msgstr ""
2137
2138 #. type: TP
2139 #: archlinux debian-trixie opensuse-leap-16-1
2140 #, no-wrap
2141 msgid "\\f[CR]WithRecommends=\\f[R], \\f[CR]--with-recommends=\\fR"
2142 msgstr ""
2143
2144 #. type: Plain text
2145 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2146 #: opensuse-leap-16-1 opensuse-tumbleweed
2147 msgid ""
2148 "Configures whether to install recommended or weak dependencies, depending on "
2149 "how they are named by the used package manager, or not. By default, "
2150 "recommended packages are not installed. This is only used for package "
2151 "managers that support the concept, which are currently \\f[B]apt\\f[R], "
2152 "\\f[B]dnf\\f[R] and \\f[B]zypper\\f[R].\\fR"
2153 msgstr ""
2154
2155 #. type: TP
2156 #: archlinux
2157 #, no-wrap
2158 msgid "\\f[CR]WithDocs=\\f[R], \\f[CR]--with-docs=\\fR"
2159 msgstr ""
2160
2161 #. type: Plain text
2162 #: archlinux debian-trixie opensuse-leap-16-1
2163 msgid ""
2164 "Include documentation in the image. Enabled by default. When disabled, if "
2165 "the underlying distribution package manager supports it documentation is not "
2166 "included in the image. The \\f[CR]$WITH_DOCS\\f[R] environment variable "
2167 "passed to the \\f[CR]mkosi.build\\f[R] scripts is set to \\f[CR]0\\f[R] or "
2168 "\\f[CR]1\\f[R] depending on whether this option is enabled or disabled.\\fR"
2169 msgstr ""
2170
2171 #. type: TP
2172 #: archlinux debian-trixie opensuse-leap-16-1
2173 #, no-wrap
2174 msgid "\\f[CR]BaseTrees=\\f[R], \\f[CR]--base-tree=\\fR"
2175 msgstr ""
2176
2177 #. type: Plain text
2178 #: archlinux debian-trixie opensuse-leap-16-1
2179 msgid ""
2180 "Takes a comma-separated list of paths to use as base trees. When used, "
2181 "these base trees are each copied into the OS tree and form the base "
2182 "distribution instead of installing the distribution from scratch. Only "
2183 "extra packages are installed on top of the ones already installed in the "
2184 "base trees. Note that for this to work properly, the base image still needs "
2185 "to contain the package manager metadata by setting "
2186 "\\f[CR]CleanPackageMetadata=no\\f[R] (see "
2187 "\\f[CR]CleanPackageMetadata=\\f[R]).\\fR"
2188 msgstr ""
2189
2190 #. type: Plain text
2191 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2192 msgid ""
2193 "Instead of a directory, a tar file or a disk image may be provided. In this "
2194 "case it is unpacked into the OS tree. This mode of operation allows setting "
2195 "permissions and file ownership explicitly, in particular for projects stored "
2196 "in a version control system such as \\f[B]git\\f[R] which retain full file "
2197 "ownership and access mode metadata for committed files.\\fR"
2198 msgstr ""
2199
2200 #. type: TP
2201 #: archlinux debian-trixie opensuse-leap-16-1
2202 #, no-wrap
2203 msgid "\\f[CR]SkeletonTrees=\\f[R], \\f[CR]--skeleton-tree=\\fR"
2204 msgstr ""
2205
2206 #. type: Plain text
2207 #: archlinux
2208 msgid ""
2209 "Takes a comma-separated list of colon-separated path pairs. The first path "
2210 "of each pair refers to a directory to copy into the OS tree before invoking "
2211 "the package manager. The second path of each pair refers to the target "
2212 "directory inside the image. If the second path is not provided, the "
2213 "directory is copied on top of the root directory of the image. The second "
2214 "path is always interpreted as an absolute path. Use this to insert files "
2215 "and directories into the OS tree before the package manager installs any "
2216 "packages. If the \\f[CR]mkosi.skeleton/\\f[R] directory is found in the "
2217 "local directory it is also used for this purpose with the root directory as "
2218 "target (also see the \\f[B]FILES\\f[R] section below).\\fR"
2219 msgstr ""
2220
2221 #. type: Plain text
2222 #: archlinux debian-trixie opensuse-leap-16-1
2223 msgid ""
2224 "Note that skeleton trees are cached and any changes to skeleton trees after "
2225 "a cached image has been built (when using \\f[CR]Incremental=\\f[R]) are "
2226 "only applied when the cached image is rebuilt (by using \\f[CR]-ff\\f[R] or "
2227 "running \\f[CR]mkosi -f clean\\f[R]).\\fR"
2228 msgstr ""
2229
2230 #. type: Plain text
2231 #: archlinux debian-trixie opensuse-leap-16-1
2232 msgid ""
2233 "As with the base tree logic above, instead of a directory, a tar file may be "
2234 "provided too. \\f[CR]mkosi.skeleton.tar\\f[R] will be automatically used if "
2235 "found in the local directory.\\fR"
2236 msgstr ""
2237
2238 #. type: Plain text
2239 #: archlinux debian-trixie opensuse-leap-16-1
2240 msgid ""
2241 "To add extra package manager configuration files such as extra repositories, "
2242 "use \\f[CR]SandboxTrees=\\f[R] as \\f[B]mkosi\\f[R] invokes the package "
2243 "managers from outside the image and not inside so any package manager "
2244 "configuration files provided via \\f[CR]SkeletonTrees=\\f[R] won\\[cq]t take "
2245 "effect when \\f[B]mkosi\\f[R] invokes a package manager to install packages."
2246 "\\fR"
2247 msgstr ""
2248
2249 #. type: TP
2250 #: archlinux debian-trixie opensuse-leap-16-1
2251 #, no-wrap
2252 msgid "\\f[CR]ExtraTrees=\\f[R], \\f[CR]--extra-tree=\\fR"
2253 msgstr ""
2254
2255 #. type: Plain text
2256 #: archlinux
2257 msgid ""
2258 "Takes a comma-separated list of colon-separated path pairs. The first path "
2259 "of each pair refers to a directory to copy from the host into the image. "
2260 "The second path of each pair refers to the target directory inside the "
2261 "image. If the second path is not provided, the directory is copied on top "
2262 "of the root directory of the image. The second path is always interpreted "
2263 "as an absolute path. Use this to override any default configuration files "
2264 "shipped with the distribution. If the \\f[CR]mkosi.extra/\\f[R] directory "
2265 "is found in the local directory it is also used for this purpose with the "
2266 "root directory as target (also see the \\f[B]FILES\\f[R] section below).\\fR"
2267 msgstr ""
2268
2269 #. type: Plain text
2270 #: archlinux debian-trixie opensuse-leap-16-1
2271 msgid ""
2272 "As with the base tree logic above, instead of a directory, a tar file may be "
2273 "provided too. \\f[CR]mkosi.extra.tar\\f[R] will be automatically used if "
2274 "found in the local directory.\\fR"
2275 msgstr ""
2276
2277 #. type: TP
2278 #: archlinux debian-trixie opensuse-leap-16-1
2279 #, no-wrap
2280 msgid "\\f[CR]RemovePackages=\\f[R], \\f[CR]--remove-package=\\fR"
2281 msgstr ""
2282
2283 #. type: Plain text
2284 #: archlinux debian-trixie opensuse-leap-16-1
2285 msgid ""
2286 "Takes a comma-separated list of package specifications for removal, in the "
2287 "same format as \\f[CR]Packages=\\f[R]. The removal will be performed as one "
2288 "of the last steps. This step is skipped if "
2289 "\\f[CR]CleanPackageMetadata=no\\f[R] is used.\\fR"
2290 msgstr ""
2291
2292 #. type: TP
2293 #: archlinux debian-trixie opensuse-leap-16-1
2294 #, no-wrap
2295 msgid "\\f[CR]RemoveFiles=\\f[R], \\f[CR]--remove-files=\\fR"
2296 msgstr ""
2297
2298 #. type: Plain text
2299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2300 #: opensuse-leap-16-1 opensuse-tumbleweed
2301 msgid ""
2302 "Takes a comma-separated list of globs. Files in the image matching the "
2303 "globs will be purged at the end."
2304 msgstr ""
2305
2306 #. type: TP
2307 #: archlinux debian-trixie opensuse-leap-16-1
2308 #, no-wrap
2309 msgid "\\f[CR]CleanPackageMetadata=\\f[R], \\f[CR]--clean-package-metadata=\\fR"
2310 msgstr ""
2311
2312 #. type: Plain text
2313 #: archlinux debian-trixie opensuse-leap-16-1
2314 msgid ""
2315 "Enable/disable removal of package manager databases and repository metadata "
2316 "at the end of installation. Can be specified as \\f[CR]true\\f[R], "
2317 "\\f[CR]false\\f[R], or \\f[CR]auto\\f[R] (the default). With "
2318 "\\f[CR]auto\\f[R], package manager databases and repository metadata will be "
2319 "removed if the respective package manager executable is \\f[I]not\\f[R] "
2320 "present at the end of the installation.\\fR"
2321 msgstr ""
2322
2323 #. type: TP
2324 #: archlinux debian-trixie opensuse-leap-16-1
2325 #, no-wrap
2326 msgid "\\f[CR]SourceDateEpoch=\\f[R], \\f[CR]--source-date-epoch=\\fR"
2327 msgstr ""
2328
2329 #. type: Plain text
2330 #: archlinux
2331 msgid ""
2332 "Takes a timestamp in seconds since the UNIX epoch as argument. File "
2333 "modification times of all files will be clamped to this value. The variable "
2334 "is also propagated to \\f[B]systemd-repart\\f[R] and scripts executed by "
2335 "\\f[B]mkosi\\f[R]. If not set explicitly, \\f[CR]SOURCE_DATE_EPOCH\\f[R] "
2336 "from \\f[CR]--environment=\\f[R] and from the host environment are tried in "
2337 "that order. This is useful to make builds reproducible. See E<.UR https://"
2338 "reproducible-builds.org/specs/source-date-epoch/> SOURCE_DATE_EPOCH E<.UE > "
2339 "\\ for more information.\\fR"
2340 msgstr ""
2341
2342 #. type: TP
2343 #: archlinux debian-trixie opensuse-leap-16-1
2344 #, no-wrap
2345 msgid "\\f[CR]SyncScripts=\\f[R], \\f[CR]--sync-script=\\fR"
2346 msgstr ""
2347
2348 #. type: Plain text
2349 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2350 msgid ""
2351 "Takes a comma-separated list of paths to executables that are used as the "
2352 "sync scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for more "
2353 "information.\\fR"
2354 msgstr ""
2355
2356 #. type: TP
2357 #: archlinux debian-trixie opensuse-leap-16-1
2358 #, no-wrap
2359 msgid "\\f[CR]PrepareScripts=\\f[R], \\f[CR]--prepare-script=\\fR"
2360 msgstr ""
2361
2362 #. type: Plain text
2363 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2364 msgid ""
2365 "Takes a comma-separated list of paths to executables that are used as the "
2366 "prepare scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for "
2367 "more information.\\fR"
2368 msgstr ""
2369
2370 #. type: TP
2371 #: archlinux debian-trixie opensuse-leap-16-1
2372 #, no-wrap
2373 msgid "\\f[CR]BuildScripts=\\f[R], \\f[CR]--build-script=\\fR"
2374 msgstr ""
2375
2376 #. type: Plain text
2377 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2378 msgid ""
2379 "Takes a comma-separated list of paths to executables that are used as the "
2380 "build scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for more "
2381 "information.\\fR"
2382 msgstr ""
2383
2384 #. type: TP
2385 #: archlinux debian-trixie opensuse-leap-16-1
2386 #, no-wrap
2387 msgid "\\f[CR]PostInstallationScripts=\\f[R], \\f[CR]--postinst-script=\\fR"
2388 msgstr ""
2389
2390 #. type: Plain text
2391 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2392 msgid ""
2393 "Takes a comma-separated list of paths to executables that are used as the "
2394 "post-installation scripts for this image. See the \\f[B]SCRIPTS\\f[R] "
2395 "section for more information.\\fR"
2396 msgstr ""
2397
2398 #. type: TP
2399 #: archlinux debian-trixie opensuse-leap-16-1
2400 #, no-wrap
2401 msgid "\\f[CR]FinalizeScripts=\\f[R], \\f[CR]--finalize-script=\\fR"
2402 msgstr ""
2403
2404 #. type: Plain text
2405 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2406 msgid ""
2407 "Takes a comma-separated list of paths to executables that are used as the "
2408 "finalize scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for "
2409 "more information.\\fR"
2410 msgstr ""
2411
2412 #. type: TP
2413 #: archlinux
2414 #, no-wrap
2415 msgid "\\f[CR]PostOutputScripts=\\f[R], \\f[CR]--postoutput-script=\\fR"
2416 msgstr ""
2417
2418 #. type: Plain text
2419 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2420 msgid ""
2421 "Takes a comma-separated list of paths to executables that are used as the "
2422 "post output scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for "
2423 "more information.\\fR"
2424 msgstr ""
2425
2426 #. type: TP
2427 #: archlinux debian-trixie opensuse-leap-16-1
2428 #, no-wrap
2429 msgid "\\f[CR]Bootable=\\f[R], \\f[CR]--bootable=\\fR"
2430 msgstr ""
2431
2432 #. type: Plain text
2433 #: archlinux debian-trixie opensuse-leap-16-1
2434 msgid ""
2435 "Takes a boolean or \\f[CR]auto\\f[R]. Enables or disables generation of a "
2436 "bootable image. If enabled, \\f[B]mkosi\\f[R] will install an EFI "
2437 "bootloader, and add an ESP partition when the disk image output is used. If "
2438 "the selected EFI bootloader (see \\f[CR]Bootloader=\\f[R]) is not installed "
2439 "or no kernel images can be found, the build will fail. \\f[CR]auto\\f[R] "
2440 "behaves as if the option was enabled, but the build won\\[cq]t fail if "
2441 "either no kernel images or the selected EFI bootloader can\\[cq]t be found. "
2442 "If disabled, no bootloader will be installed even if found inside the image, "
2443 "no unified kernel images will be generated and no ESP partition will be "
2444 "added to the image if the disk output format is used.\\fR"
2445 msgstr ""
2446
2447 #. type: Plain text
2448 #: archlinux
2449 msgid ""
2450 "If the \\f[CR]esp\\f[R] output format is used, an ESP partition and "
2451 "bootloader are always added, and the \\f[CR]Bootable=\\f[R] option only "
2452 "controls whether a UKI is added to the ESP partition or not.\\fR"
2453 msgstr ""
2454
2455 #. type: TP
2456 #: archlinux debian-trixie opensuse-leap-16-1
2457 #, no-wrap
2458 msgid "\\f[CR]Bootloader=\\f[R], \\f[CR]--bootloader=\\fR"
2459 msgstr ""
2460
2461 #. type: Plain text
2462 #: archlinux debian-trixie opensuse-leap-16-1
2463 msgid ""
2464 "Takes one of \\f[CR]none\\f[R], \\f[CR]systemd-boot\\f[R], \\f[CR]uki\\f[R], "
2465 "\\f[CR]grub\\f[R], \\f[CR]systemd-boot-signed\\f[R], \\f[CR]uki-signed\\f[R] "
2466 "or \\f[CR]grub-signed\\f[R]. Defaults to \\f[CR]systemd-boot\\f[R]. If set "
2467 "to \\f[CR]none\\f[R], no EFI bootloader will be installed into the image. "
2468 "If set to \\f[CR]systemd-boot\\f[R], \\f[B]systemd-boot\\f[R] will be "
2469 "installed and for each installed kernel, a UKI will be generated and stored "
2470 "in \\f[CR]EFI/Linux\\f[R] in the ESP. If set to \\f[CR]uki\\f[R], a single "
2471 "UKI will be generated for the latest installed kernel (the one with the "
2472 "highest version) which is installed to \\f[CR]EFI/BOOT/BOOTX64.EFI\\f[R] in "
2473 "the ESP. If set to \\f[CR]grub\\f[R], for each installed kernel, a UKI will "
2474 "be generated and stored in \\f[CR]EFI/Linux\\f[R] in the ESP. For each "
2475 "generated UKI, a menu entry is appended to the grub configuration in "
2476 "\\f[CR]grub/grub.cfg\\f[R] in the ESP which chainloads into the UKI. A shim "
2477 "grub.cfg is also written to \\f[CR]EFI/E<lt>distributionE<gt>/grub.cfg\\f[R] "
2478 "in the ESP which loads \\f[CR]grub/grub.cfg\\f[R] in the ESP for "
2479 "compatibility with signed versions of grub which load the grub configuration "
2480 "from this location.\\fR"
2481 msgstr ""
2482
2483 #. type: Plain text
2484 #: archlinux debian-trixie opensuse-leap-16-1
2485 msgid ""
2486 "The \\f[CR]signed\\f[R] variants will only install pre-signed EFI binaries "
2487 "shipped by the distribution.\\fR"
2488 msgstr ""
2489
2490 #. type: Plain text
2491 #: archlinux debian-trixie opensuse-leap-16-1
2492 msgid ""
2493 "Kernels need to be placed into the root filesystem (for example using "
2494 "\\f[CR]ExtraTrees=\\f[R]) under \\f[CR]/usr/lib/modules/$version\\f[R], "
2495 "named \\f[CR]vmlinux\\f[R] or \\f[CR]vmlinuz\\f[R]. The \\f[CR]"
2496 "$version\\f[R] is as produced by Kbuild\\[cq]s \\f[CR]kernelversion\\f[R] "
2497 "make target.\\fR"
2498 msgstr ""
2499
2500 #. type: Plain text
2501 #: archlinux
2502 msgid ""
2503 "Note: When using \\f[CR]systemd-boot\\f[R] or \\f[CR]systemd-boot-"
2504 "signed\\f[R], \\f[CR]mkosi\\f[R] expects the \\f[CR]systemd-boot\\f[R] EFI "
2505 "binaries to be present in the image. Depending on your distribution, these "
2506 "may be packaged separately. For example, Debian- based images will need "
2507 "\\f[CR]systemd-boot-efi\\f[R].\\fR"
2508 msgstr ""
2509
2510 #. type: TP
2511 #: archlinux debian-trixie opensuse-leap-16-1
2512 #, no-wrap
2513 msgid "\\f[CR]BiosBootloader=\\f[R], \\f[CR]--bios-bootloader=\\fR"
2514 msgstr ""
2515
2516 #. type: Plain text
2517 #: archlinux debian-trixie opensuse-leap-16-1
2518 msgid ""
2519 "Takes one of \\f[CR]none\\f[R] or \\f[CR]grub\\f[R]. Defaults to "
2520 "\\f[CR]none\\f[R]. If set to \\f[CR]none\\f[R], no BIOS bootloader will be "
2521 "installed. If set to \\f[CR]grub\\f[R], grub is installed as the BIOS boot "
2522 "loader if a bootable image is requested with the \\f[CR]Bootable=\\f[R] "
2523 "option. If no repart partition definition files are configured, "
2524 "\\f[B]mkosi\\f[R] will add a grub BIOS boot partition and an EFI system "
2525 "partition to the default partition definition files.\\fR"
2526 msgstr ""
2527
2528 #. type: Plain text
2529 #: archlinux debian-trixie opensuse-leap-16-1
2530 msgid ""
2531 "Note that this option is not mutually exclusive with "
2532 "\\f[CR]Bootloader=\\f[R]. It is possible to have an image that is both "
2533 "bootable on UEFI and BIOS by configuring both \\f[CR]Bootloader=\\f[R] and "
2534 "\\f[CR]BiosBootloader=\\f[R].\\fR"
2535 msgstr ""
2536
2537 #. type: Plain text
2538 #: archlinux debian-trixie opensuse-leap-16-1
2539 msgid ""
2540 "The grub BIOS boot partition should have UUID "
2541 "\\f[CR]21686148-6449-6e6f-744e-656564454649\\f[R] and should be at least 1MB."
2542 "\\fR"
2543 msgstr ""
2544
2545 #. type: Plain text
2546 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2547 msgid ""
2548 "Even if no EFI bootloader is installed, we still need an ESP for BIOS boot "
2549 "as that\\[cq]s where we store the kernel, initrd and grub modules."
2550 msgstr ""
2551
2552 #. type: TP
2553 #: archlinux debian-trixie opensuse-leap-16-1
2554 #, no-wrap
2555 msgid "\\f[CR]ShimBootloader=\\f[R], \\f[CR]--shim-bootloader=\\fR"
2556 msgstr ""
2557
2558 #. type: Plain text
2559 #: archlinux debian-trixie opensuse-leap-16-1
2560 msgid ""
2561 "Takes one of \\f[CR]none\\f[R], \\f[CR]unsigned\\f[R], or "
2562 "\\f[CR]signed\\f[R]. Defaults to \\f[CR]none\\f[R]. If set to "
2563 "\\f[CR]none\\f[R], shim and MokManager will not be installed to the ESP. If "
2564 "set to \\f[CR]unsigned\\f[R], \\f[B]mkosi\\f[R] will search for unsigned "
2565 "shim and MokManager EFI binaries and install them. If "
2566 "\\f[CR]SecureBoot=\\f[R] is enabled, \\f[B]mkosi\\f[R] will sign the "
2567 "unsigned EFI binaries before installing them. If set to "
2568 "\\f[CR]signed\\f[R], \\f[B]mkosi\\f[R] will search for signed EFI binaries "
2569 "and install those. Even if \\f[CR]SecureBoot=\\f[R] is enabled, "
2570 "\\f[B]mkosi\\f[R] won\\[cq]t sign these binaries again.\\fR"
2571 msgstr ""
2572
2573 #. type: Plain text
2574 #: archlinux debian-trixie opensuse-leap-16-1
2575 msgid ""
2576 "Note that this option only takes effect when an image that is bootable on "
2577 "UEFI firmware is requested using other options (\\f[CR]Bootable=\\f[R], "
2578 "\\f[CR]Bootloader=\\f[R]).\\fR"
2579 msgstr ""
2580
2581 #. type: Plain text
2582 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2583 msgid ""
2584 "Note that when this option is enabled, \\f[B]mkosi\\f[R] will only install "
2585 "already signed bootloader binaries, kernel image files and unified kernel "
2586 "images as self-signed binaries would not be accepted by the signed version "
2587 "of shim.\\fR"
2588 msgstr ""
2589
2590 #. type: TP
2591 #: archlinux debian-trixie opensuse-leap-16-1
2592 #, no-wrap
2593 msgid "\\f[CR]UnifiedKernelImages=\\f[R], \\f[CR]--unified-kernel-images=\\fR"
2594 msgstr ""
2595
2596 #. type: Plain text
2597 #: archlinux
2598 msgid ""
2599 "Specifies whether to use unified kernel images or not when "
2600 "\\f[CR]Bootloader=\\f[R] is set to \\f[CR]systemd-boot\\f[R] or "
2601 "\\f[CR]grub\\f[R]. Takes one of \\f[CR]none\\f[R], \\f[CR]unsigned\\f[R], "
2602 "\\f[CR]signed\\f[R] or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]. "
2603 "If \\f[CR]unsigned\\f[R] or \\f[CR]signed\\f[R], unified kernel images are "
2604 "always used and the build will fail if any components required to build "
2605 "unified kernel images are missing. If set to \\f[CR]auto\\f[R], unified "
2606 "kernel images will be used if all necessary components are available. "
2607 "Otherwise Type 1 entries as defined by the Boot Loader Specification will be "
2608 "used instead. If disabled, Type 1 entries will always be used. If "
2609 "\\f[CR]Bootloader=\\f[R] is set to one of the signed variant, a pre-built "
2610 "UKI will be searched and the build will fail if it cannot be found, unless "
2611 "\\f[CR]UnifiedKernelImages=\\f[R] is set to \\f[CR]unsigned\\f[R], in which "
2612 "case the UKI will be built locally. This is useful when combined with the "
2613 "runtime \\f[CR]Firmware=\\f[R] option set to \\f[CR]custom\\f[R] so that the "
2614 "local signing key is enrolled in UEFI db.\\fR"
2615 msgstr ""
2616
2617 #. type: TP
2618 #: archlinux debian-trixie opensuse-leap-16-1
2619 #, no-wrap
2620 msgid "\\f[CR]UnifiedKernelImageFormat=\\f[R], \\f[CR]--unified-kernel-image-format=\\fR"
2621 msgstr ""
2622
2623 #. type: Plain text
2624 #: archlinux debian-trixie opensuse-leap-16-1
2625 msgid ""
2626 "Takes a filename without any path components to specify the format that "
2627 "unified kernel images should be installed as. This may include both the "
2628 "regular specifiers (see \\f[B]Specifiers\\f[R]) and special delayed "
2629 "specifiers, that are expanded during the installation of the files, which "
2630 "are described below. The default format for this parameter is \\f[CR]&e-"
2631 "&k\\f[R] with \\f[CR]-&h\\f[R] being appended if \\f[CR]roothash=\\f[R] or "
2632 "\\f[CR]usrhash=\\f[R] is found on the kernel command line and \\f[CR]"
2633 "+&c\\f[R] if \\f[CR]/etc/kernel/tries\\f[R] is found in the image.\\fR"
2634 msgstr ""
2635
2636 #. type: Plain text
2637 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2638 msgid "The following specifiers may be used:"
2639 msgstr ""
2640
2641 #. type: tbl table
2642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2643 #: opensuse-leap-16-1 opensuse-tumbleweed
2644 #, no-wrap
2645 msgid "Specifier"
2646 msgstr ""
2647
2648 #. type: tbl table
2649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2650 #: opensuse-leap-16-1 opensuse-tumbleweed
2651 #, no-wrap
2652 msgid "Value"
2653 msgstr ""
2654
2655 #. type: tbl table
2656 #: archlinux debian-trixie opensuse-leap-16-1
2657 #, no-wrap
2658 msgid "\\f[CR]&&\\fR"
2659 msgstr ""
2660
2661 #. type: tbl table
2662 #: archlinux debian-trixie opensuse-leap-16-1
2663 #, no-wrap
2664 msgid "\\f[CR]&\\f[R] character\\fR"
2665 msgstr ""
2666
2667 #. type: tbl table
2668 #: archlinux debian-trixie opensuse-leap-16-1
2669 #, no-wrap
2670 msgid "\\f[CR]&e\\fR"
2671 msgstr ""
2672
2673 #. type: tbl table
2674 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2675 #: opensuse-leap-16-1 opensuse-tumbleweed
2676 #, no-wrap
2677 msgid "\\f[R]Entry Token\\fR"
2678 msgstr ""
2679
2680 #. type: tbl table
2681 #: archlinux debian-trixie opensuse-leap-16-1
2682 #, no-wrap
2683 msgid "\\f[CR]&k\\fR"
2684 msgstr ""
2685
2686 #. type: tbl table
2687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2688 #: opensuse-leap-16-1 opensuse-tumbleweed
2689 #, no-wrap
2690 msgid "\\f[R]Kernel version\\fR"
2691 msgstr ""
2692
2693 #. type: tbl table
2694 #: archlinux debian-trixie opensuse-leap-16-1
2695 #, no-wrap
2696 msgid "\\f[CR]&h\\fR"
2697 msgstr ""
2698
2699 #. type: tbl table
2700 #: archlinux debian-trixie opensuse-leap-16-1
2701 #, no-wrap
2702 msgid "\\f[CR]roothash=\\f[R] or \\f[CR]usrhash=\\f[R] value of kernel argument\\fR"
2703 msgstr ""
2704
2705 #. type: TP
2706 #: archlinux debian-trixie opensuse-leap-16-1
2707 #, no-wrap
2708 msgid "\\f[CR]UnifiedKernelImageProfiles=\\f[R], \\f[CR]--uki-profile=\\fR"
2709 msgstr ""
2710
2711 #. type: Plain text
2712 #: archlinux debian-trixie opensuse-leap-16-1
2713 msgid ""
2714 "Build additional UKI profiles. Takes a comma-separated list of paths to UKI "
2715 "profile config files. This option may be used multiple times in which case "
2716 "each config gets built into a corresponding UKI profile. Config files in "
2717 "the \\f[CR]mkosi.uki-profiles/\\f[R] directory are automatically picked up. "
2718 "All configured UKI profiles are added as additional UKI profiles to each UKI "
2719 "built by \\f[B]mkosi\\f[R].\\fR"
2720 msgstr ""
2721
2722 #. type: Plain text
2723 #: archlinux debian-trixie opensuse-leap-16-1
2724 msgid ""
2725 "See the documentation for the \\f[CR]UKIProfile\\f[R] section for "
2726 "information on which settings can be configured in UKI profile config files."
2727 "\\fR"
2728 msgstr ""
2729
2730 #. type: TP
2731 #: archlinux
2732 #, no-wrap
2733 msgid "\\f[CR]Initrds=\\f[R], \\f[CR]--initrd=\\fR"
2734 msgstr ""
2735
2736 #. type: Plain text
2737 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2738 msgid ""
2739 "Use user-provided initrd(s). Takes a comma-separated list of paths to "
2740 "initrd files. This option may be used multiple times in which case the "
2741 "initrd lists are combined. If no initrds are specified and a bootable image "
2742 "is requested, \\f[B]mkosi\\f[R] will automatically build a default initrd."
2743 "\\fR"
2744 msgstr ""
2745
2746 #. type: Plain text
2747 #: archlinux
2748 msgid ""
2749 "\\f[B]mkosi\\f[R] will also look for initrds in a subdirectory "
2750 "\\f[CR]io.mkosi.initrd\\f[R] of the artifact directory (see \\f[CR]"
2751 "$ARTIFACTDIR\\f[R] in the section \\f[B]ENVIRONMENT VARIABLES\\f[R]). Any "
2752 "initrds found there are appended to the user-provided initrd(s) and any "
2753 "default initrd built by mkosi.\\fR"
2754 msgstr ""
2755
2756 #. type: TP
2757 #: archlinux
2758 #, no-wrap
2759 msgid "\\f[CR]InitrdProfiles=\\f[R], \\f[CR]--initrd-profile=\\fR"
2760 msgstr ""
2761
2762 #. type: Plain text
2763 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2764 msgid ""
2765 "Set the profiles to enable for the default initrd. Takes a comma-delimited "
2766 "list of profiles. By default, all profiles are disabled."
2767 msgstr ""
2768
2769 #. type: Plain text
2770 #: archlinux
2771 msgid ""
2772 "The \\f[CR]lvm\\f[R] profile enables support for LVM. The "
2773 "\\f[CR]network\\f[R] profile enables support for network via \\f[B]systemd-"
2774 "networkd\\f[R]. The \\f[CR]nfs\\f[R] profile enables support for NFS. It "
2775 "requires networking in the initrd, using the \\f[CR]network\\f[R] profile, "
2776 "or some other custom method. The \\f[CR]pkcs11\\f[R] profile enables "
2777 "support for PKCS#11. The \\f[CR]plymouth\\f[R] profile provides a graphical "
2778 "interface at boot (animation and password prompt). The \\f[CR]raid\\f[R] "
2779 "profile enables support for RAID arrays.\\fR"
2780 msgstr ""
2781
2782 #. type: TP
2783 #: archlinux debian-trixie opensuse-leap-16-1
2784 #, no-wrap
2785 msgid "\\f[CR]InitrdPackages=\\f[R], \\f[CR]--initrd-package=\\fR"
2786 msgstr ""
2787
2788 #. type: Plain text
2789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2790 #: opensuse-leap-16-1 opensuse-tumbleweed
2791 msgid ""
2792 "Extra packages to install into the default initrd. Takes a comma separated "
2793 "list of package specifications. This option may be used multiple times in "
2794 "which case the specified package lists are combined."
2795 msgstr ""
2796
2797 #. type: TP
2798 #: archlinux debian-trixie opensuse-leap-16-1
2799 #, no-wrap
2800 msgid "\\f[CR]InitrdVolatilePackages=\\f[R], \\f[CR]--initrd-volatile-package=\\fR"
2801 msgstr ""
2802
2803 #. type: Plain text
2804 #: archlinux debian-trixie opensuse-leap-16-1
2805 msgid ""
2806 "Similar to \\f[CR]VolatilePackages=\\f[R], except it applies to the default "
2807 "initrd.\\fR"
2808 msgstr ""
2809
2810 #. type: TP
2811 #: archlinux
2812 #, no-wrap
2813 msgid "\\f[CR]Devicetrees=\\f[R], \\f[CR]--devicetrees=\\fR"
2814 msgstr ""
2815
2816 #. type: Plain text
2817 #: archlinux
2818 msgid ""
2819 "Comma-separated list of devicetree patterns for automatic hardware-based "
2820 "selection. Patterns are glob expressions. \\f[B]mkosi\\f[R] searches for "
2821 "devicetree files in standard locations relative to \\f[CR]/usr/lib/modules/"
2822 "E<lt>kverE<gt>/dtb/\\f[R], \\f[CR]/usr/lib/firmware/E<lt>kverE<gt>/device-"
2823 "tree/\\f[R], and \\f[CR]/usr/lib/linux-image-E<lt>kverE<gt>/\\f[R].\\fR"
2824 msgstr ""
2825
2826 #. type: Plain text
2827 #: archlinux
2828 msgid ""
2829 "For UKI builds, multiple matches enable automatic hardware-based selection "
2830 "using the \\f[CR].dtbauto\\f[R] sections. Type 1 boot entries require "
2831 "exactly one match.\\fR"
2832 msgstr ""
2833
2834 #. type: Plain text
2835 #: archlinux
2836 msgid ""
2837 "Example: \\f[CR]Devicetrees=rockchip/*,imx.*\\f[R] would include all "
2838 "Rockchip devicetrees and any IMX devicetrees.\\fR"
2839 msgstr ""
2840
2841 #. type: TP
2842 #: archlinux
2843 #, no-wrap
2844 msgid "\\f[CR]Splash=\\f[R], \\f[CR]--splash=\\fR"
2845 msgstr ""
2846
2847 #. type: Plain text
2848 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2849 msgid ""
2850 "When set, the boot splash for any unified kernel image built by "
2851 "\\f[B]mkosi\\f[R] will be picked up from the given path inside the image.\\fR"
2852 msgstr ""
2853
2854 #. type: TP
2855 #: archlinux debian-trixie opensuse-leap-16-1
2856 #, no-wrap
2857 msgid "\\f[CR]MicrocodeHost=\\f[R], \\f[CR]--microcode-host=\\fR"
2858 msgstr ""
2859
2860 #. type: Plain text
2861 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
2862 msgid ""
2863 "When set to true only include microcode for the host\\[cq]s CPU in the image."
2864 msgstr ""
2865
2866 #. type: TP
2867 #: archlinux debian-trixie opensuse-leap-16-1
2868 #, no-wrap
2869 msgid "\\f[CR]KernelCommandLine=\\f[R], \\f[CR]--kernel-command-line=\\fR"
2870 msgstr ""
2871
2872 #. type: Plain text
2873 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
2874 #: opensuse-leap-16-1 opensuse-tumbleweed
2875 msgid "Use the specified kernel command line when building images."
2876 msgstr ""
2877
2878 #. type: Plain text
2879 #: archlinux debian-trixie opensuse-leap-16-1
2880 msgid ""
2881 "If the root or usr partition are created with verity enabled, "
2882 "\\f[CR]roothash=\\f[R] or \\f[CR]usrhash=\\f[R] respectively are "
2883 "automatically added to the kernel command line and \\f[CR]root=\\f[R] or "
2884 "\\f[CR]mount.usr=\\f[R] should not be added. Otherwise, if the value of "
2885 "this setting contains the literals \\f[CR]root=PARTUUID\\f[R] or "
2886 "\\f[CR]mount.usr=PARTUUID\\f[R], these are replaced with the partition UUID "
2887 "of the root or usr partition respectively. For example, "
2888 "\\f[CR]root=PARTUUID\\f[R] would be replaced with "
2889 "\\f[CR]root=PARTUUID=58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] where "
2890 "\\f[CR]58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] is the partition UUID of "
2891 "the root partition.\\fR"
2892 msgstr ""
2893
2894 #. type: TP
2895 #: archlinux
2896 #, no-wrap
2897 msgid "\\f[CR]KernelModules=\\f[R], \\f[CR]--kernel-modules=\\fR"
2898 msgstr ""
2899
2900 #. type: Plain text
2901 #: archlinux
2902 msgid ""
2903 "Takes a list of glob patterns that specify which kernel modules to include "
2904 "in the image. Each argument may be prefixed with a dash (\\f[CR]-\\f[R]), "
2905 "to \\f[I]exclude\\f[R] matching modules. The arguments are evaluated in "
2906 "order, the last positive or negative matching pattern determines the "
2907 "result. The modules that were last matched by a positive pattern are "
2908 "included in the image, as well as their module and firmware dependencies.\\fR"
2909 msgstr ""
2910
2911 #. type: Plain text
2912 #: archlinux
2913 msgid ""
2914 "The \\f[CR].ko\\f[R] suffix and compression suffix are ignored during "
2915 "matching.\\fR"
2916 msgstr ""
2917
2918 #. type: Plain text
2919 #: archlinux
2920 msgid ""
2921 "Globs are matched against module paths relative to \\f[CR]/usr/lib/module/"
2922 "E<lt>kverE<gt>\\f[R], e.g.\\ the module at \\f[CR]/usr/lib/module/"
2923 "E<lt>kverE<gt>/kernel/foo/bar.ko.xz\\f[R] becomes \\f[CR]kernel/foo/"
2924 "bar\\f[R] for matching purposes.\\fR"
2925 msgstr ""
2926
2927 #. type: Plain text
2928 #: archlinux
2929 msgid ""
2930 "Globs beginning with \\[lq]/\\[rq] are treated specially. The glob is "
2931 "\\f[I]first\\f[R] matched against a path relative to \\f[CR]/usr/lib/module/"
2932 "E<lt>kverE<gt>/kernel\\f[R], and only then against \\f[CR]/usr/lib/module/"
2933 "E<lt>kverE<gt>/\\f[R]. This is a convenience, since usually only the in-"
2934 "tree modules under \\f[CR]kernel/\\f[R] are of interest.\\fR"
2935 msgstr ""
2936
2937 #. type: Plain text
2938 #: archlinux
2939 msgid ""
2940 "For example, the module at\\f[CR]/usr/lib/module/E<lt>kverE<gt>/kernel/foo/"
2941 "bar.ko.xz\\f[R] can be matched by either \\f[CR]/foo/bar\\f[R] or \\f[CR]/"
2942 "kernel/foo/bar\\f[R].\\fR"
2943 msgstr ""
2944
2945 #. type: Plain text
2946 #: archlinux
2947 msgid ""
2948 "The glob patterns may include just the basename (e.g.\\ \\f[CR]loop\\f[R]), "
2949 "which must match the basename of the module, the relative path (e.g.\\ "
2950 "\\f[CR]block/loop\\f[R]), which must match the final components of the "
2951 "module path up to the basename, or an absolute path (e.g.\\ \\f[CR]/drivers/"
2952 "block/loop\\f[R]), which must match the full path to the module.\\fR"
2953 msgstr ""
2954
2955 #. type: Plain text
2956 #: archlinux
2957 msgid ""
2958 "When suffixed with \\f[CR]/\\f[R], the pattern will match all modules "
2959 "underneath that directory.\\fR"
2960 msgstr ""
2961
2962 #. type: Plain text
2963 #: archlinux
2964 msgid ""
2965 "The patterns may include shell-style globs (\\f[CR]*\\f[R], \\f[CR]?\\f[R], "
2966 "\\f[CR][\\&...-\\&...]\\f[R]).\\fR"
2967 msgstr ""
2968
2969 #. type: Plain text
2970 #: archlinux debian-trixie opensuse-leap-16-1
2971 msgid ""
2972 "If the special value \\f[CR]default\\f[R] is used, the default kernel "
2973 "modules defined in the \\f[B]mkosi-initrd\\f[R] configuration are included "
2974 "as well.\\fR"
2975 msgstr ""
2976
2977 #. type: Plain text
2978 #: archlinux debian-trixie opensuse-leap-16-1
2979 msgid ""
2980 "If the special value \\f[CR]host\\f[R] is used, the currently loaded modules "
2981 "on the host system are included as well.\\fR"
2982 msgstr ""
2983
2984 #. type: TP
2985 #: archlinux debian-trixie opensuse-leap-16-1
2986 #, no-wrap
2987 msgid "\\f[CR]KernelModulesInitrd=\\f[R], \\f[CR]--kernel-modules-initrd=\\fR"
2988 msgstr ""
2989
2990 #. type: Plain text
2991 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
2992 msgid ""
2993 "Boolean value, enabled (true) by default. If enabled, when building a "
2994 "bootable image, \\f[B]mkosi\\f[R] will generate an extra initrd for each "
2995 "unified kernel image it assembles. This initrd contains only modules and "
2996 "possibly firmware, and is then appended to the base initrd to form the final "
2997 "initrd file. This keeps the base initrd kernel independent, and only "
2998 "augments it with the necessary kernel-version specific modules when the UKI "
2999 "is assembled.\\fR"
3000 msgstr ""
3001
3002 #. type: Plain text
3003 #: archlinux fedora-44 fedora-rawhide
3004 msgid ""
3005 "If disabled, no extra initrd is generated. Note that the kernel modules "
3006 "will still \\f[B]not\\f[R] be included in the base initrd, which remains "
3007 "kernel independent. Instead, it is assumed the user provides the necessary "
3008 "modules, if any, via an additional custom initrd.\\fR"
3009 msgstr ""
3010
3011 #. type: TP
3012 #: archlinux
3013 #, no-wrap
3014 msgid "\\f[CR]KernelInitrdModules=\\f[R], \\f[CR]--kernel-modules-initrd-include=\\fR"
3015 msgstr ""
3016
3017 #. type: Plain text
3018 #: archlinux
3019 msgid ""
3020 "Like \\f[CR]KernelModules=\\f[R], but specifies the kernel modules to "
3021 "include in the initrd.\\fR"
3022 msgstr ""
3023
3024 #. type: TP
3025 #: archlinux
3026 #, no-wrap
3027 msgid "\\f[CR]FirmwareFiles=\\f[R], \\f[CR]--firmware-files=\\fR"
3028 msgstr ""
3029
3030 #. type: Plain text
3031 #: archlinux
3032 msgid ""
3033 "Takes a list of glob patterns that specify which firmware files to include "
3034 "in the image. The patterns are interpreted in the same way as in the "
3035 "\\f[CR]KernelModules=\\f[R] settings, except that the paths are relative to "
3036 "\\f[CR]/usr/lib/firmware/E<lt>subdirE<gt>\\f[R]. The compression suffix is "
3037 "ignored and must not be included in the pattern.\\fR"
3038 msgstr ""
3039
3040 #. type: Plain text
3041 #: archlinux fedora-44 fedora-rawhide
3042 msgid ""
3043 "Firmware dependencies of kernel modules installed in the image are "
3044 "automatically included."
3045 msgstr ""
3046
3047 #. type: Plain text
3048 #: archlinux
3049 msgid ""
3050 "Example: \\f[CR]FirmwareFiles=cxgb4/bcm8483.bin\\f[R] or "
3051 "\\f[CR]FirmwareFiles=bcm8483.*\\f[R] would both cause \\f[CR]/usr/lib/"
3052 "firmware/cxgb4/bcm8483.bin.xz\\f[R] to be included, even if not listed by a "
3053 "module.\\fR"
3054 msgstr ""
3055
3056 #. type: TP
3057 #: archlinux debian-trixie opensuse-leap-16-1
3058 #, no-wrap
3059 msgid "\\f[CR]Locale=\\f[R], \\f[CR]--locale=\\f[R], \\f[CR]LocaleMessages=\\f[R], \\f[CR]--locale-messages=\\f[R], \\f[CR]Keymap=\\f[R], \\f[CR]--keymap=\\f[R], \\f[CR]Timezone=\\f[R], \\f[CR]--timezone=\\f[R], \\f[CR]Hostname=\\f[R], \\f[CR]--hostname=\\f[R], \\f[CR]RootShell=\\f[R], \\f[CR]--root-shell=\\fR"
3060 msgstr ""
3061
3062 #. type: Plain text
3063 #: archlinux debian-trixie opensuse-leap-16-1
3064 msgid ""
3065 "The settings \\f[CR]Locale=\\f[R], \\f[CR]--locale=\\f[R], "
3066 "\\f[CR]LocaleMessages=\\f[R], \\f[CR]--locale-messages=\\f[R], "
3067 "\\f[CR]Keymap=\\f[R], \\f[CR]--keymap=\\f[R], \\f[CR]Timezone=\\f[R], "
3068 "\\f[CR]--timezone=\\f[R], \\f[CR]Hostname=\\f[R], \\f[CR]--hostname=\\f[R], "
3069 "\\f[CR]RootShell=\\f[R], \\f[CR]--root-shell=\\f[R] correspond to the "
3070 "identically named systemd-firstboot options. See \\f[B]systemd-"
3071 "firstboot\\f[R](1) for more information. Additionally, where applicable, "
3072 "the corresponding systemd credentials for these settings are written to "
3073 "\\f[CR]/usr/lib/credstore\\f[R], so that they apply even if only \\f[CR]/"
3074 "usr\\f[R] is shipped in the image.\\fR"
3075 msgstr ""
3076
3077 #. type: TP
3078 #: archlinux debian-trixie opensuse-leap-16-1
3079 #, no-wrap
3080 msgid "\\f[CR]RootPassword=\\f[R], \\f[CR]--root-password=\\f[R],\\fR"
3081 msgstr ""
3082
3083 #. type: Plain text
3084 #: archlinux
3085 msgid ""
3086 "Set the system root password. If this option is not used, but a "
3087 "\\f[CR]mkosi.rootpw\\f[R] file is found in the local directory, the password "
3088 "is automatically read from it or if the file is executable it is run as a "
3089 "script and stdout is read instead (see the \\f[B]SCRIPTS\\f[R] section "
3090 "below). If the password starts with \\f[CR]hashed:\\f[R], it is treated as "
3091 "an already hashed root password. The root password is also stored in "
3092 "\\f[CR]/usr/lib/credstore\\f[R] under the appropriate systemd credential so "
3093 "that it applies even if only \\f[CR]/usr\\f[R] is shipped in the image. To "
3094 "create an unlocked account without any password use \\f[CR]hashed:\\f[R] "
3095 "without a hash.\\fR"
3096 msgstr ""
3097
3098 #. type: TP
3099 #: archlinux
3100 #, no-wrap
3101 msgid "\\f[CR]Autologin=\\f[R], \\f[CR]--autologin=\\f[R], \\f[CR]-a\\fR"
3102 msgstr ""
3103
3104 #. type: Plain text
3105 #: archlinux debian-trixie opensuse-leap-16-1
3106 msgid ""
3107 "Enable autologin for the \\f[CR]root\\f[R] user on \\f[CR]/dev/pts/0\\f[R] "
3108 "(nspawn), \\f[CR]/dev/tty1\\f[R] and \\f[CR]/dev/hvc0\\f[R].\\fR"
3109 msgstr ""
3110
3111 #. type: TP
3112 #: archlinux
3113 #, no-wrap
3114 msgid "\\f[CR]MakeInitrd=\\f[R], \\f[CR]--make-initrd=\\fR"
3115 msgstr ""
3116
3117 #. type: Plain text
3118 #: archlinux debian-trixie opensuse-leap-16-1
3119 msgid ""
3120 "Add \\f[CR]/etc/initrd-release\\f[R] and \\f[CR]/init\\f[R] to the image so "
3121 "that it can be used as an initramfs.\\fR"
3122 msgstr ""
3123
3124 #. type: TP
3125 #: archlinux
3126 #, no-wrap
3127 msgid "\\f[CR]Ssh=\\f[R], \\f[CR]--ssh=\\fR"
3128 msgstr ""
3129
3130 #. type: Plain text
3131 #: archlinux
3132 msgid ""
3133 "Specifies whether to install an \\f[B]sshd\\f[R] socket unit and matching "
3134 "service in the final image. Takes one of \\f[CR]always\\f[R], "
3135 "\\f[CR]never\\f[R], \\f[CR]auto\\f[R] or \\f[CR]runtime\\f[R]. Defaults to "
3136 "\\f[CR]auto\\f[R].\\fR"
3137 msgstr ""
3138
3139 #. type: Plain text
3140 #: archlinux
3141 msgid ""
3142 "If set to \\f[CR]auto\\f[R] and \\f[CR]sshd\\f[R] is present in the image "
3143 "and the generator binary \\f[CR]systemd-ssh-generator\\f[R] is not present, "
3144 "or if set to \\f[CR]always\\f[R], mkosi will install \\f[B]sshd\\f[R] units "
3145 "in the final image that expose SSH over VSock. If set to "
3146 "\\f[CR]never\\f[R], mkosi will not install these units. If the "
3147 "\\f[CR]runtime\\f[R] value is used, mkosi will also not install any units "
3148 "but abort starting \\f[CR]mkosi vm\\f[R] if no SSH credentials are "
3149 "configured. When building with this option and running the image using "
3150 "\\f[CR]mkosi vm\\f[R], the \\f[CR]mkosi ssh\\f[R] command can be used to "
3151 "connect to the container/VM via SSH. Note that you still have to make sure "
3152 "openssh is installed in the image to make \\f[CR]mkosi ssh\\f[R] behave "
3153 "correctly. Run \\f[CR]mkosi genkey\\f[R] to automatically generate an X.509 "
3154 "certificate and private key to be used by \\f[B]mkosi\\f[R] to enable SSH "
3155 "access to any virtual machines via \\f[CR]mkosi ssh\\f[R]. To access images "
3156 "booted using \\f[CR]mkosi boot\\f[R], use \\f[B]machinectl\\f[R].\\fR"
3157 msgstr ""
3158
3159 #. type: Plain text
3160 #: archlinux
3161 msgid ""
3162 "Starting with systemd v256, systemd-ssh-generator(8) will automatically "
3163 "provide \\f[CR]sshd\\f[R] over VSock when running inside a VM. So if you\\"
3164 "[cq]re using a recent version of systemd inside a VM, this option is "
3165 "generally not used. You still need openssh installed in the image, and the "
3166 "default setting of \\f[CR]--vsock=auto\\f[R] is enough to ensure a VSock is "
3167 "available inside the VM.\\fR"
3168 msgstr ""
3169
3170 #. type: Plain text
3171 #: archlinux
3172 msgid ""
3173 "Note: if the image distro uses SELinux, mkosi\\[cq]s sshd service will be "
3174 "denied access to the VSock, resulting in failure to connect to it from the "
3175 "host. You will need to either disable SELinux enforcement, or create a "
3176 "custom policy module (e.g.\\ with \\f[CR]audit2allow\\f[R]).\\fR"
3177 msgstr ""
3178
3179 #. type: TP
3180 #: archlinux debian-trixie opensuse-leap-16-1
3181 #, no-wrap
3182 msgid "\\f[CR]SELinuxRelabel=\\f[R], \\f[CR]--selinux-relabel=\\fR"
3183 msgstr ""
3184
3185 #. type: Plain text
3186 #: archlinux
3187 msgid ""
3188 "Specifies whether to relabel files to match the image\\[cq]s SELinux "
3189 "policy. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to "
3190 "\\f[CR]auto\\f[R]. If disabled, files will not relabeled. If enabled, an "
3191 "SELinux policy has to be installed in the image and \\f[B]setfiles\\f[R] has "
3192 "to be available to relabel files. If any errors occur during "
3193 "\\f[B]setfiles\\f[R], the build will fail. If set to \\f[CR]auto\\f[R], "
3194 "files will be relabeled if mkosi is not building a directory image, an "
3195 "SELinux policy is installed in the image and if \\f[B]setfiles\\f[R] is "
3196 "available. Any errors occurred during \\f[B]setfiles\\f[R] will be ignored."
3197 "\\fR"
3198 msgstr ""
3199
3200 #. type: Plain text
3201 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
3202 msgid ""
3203 "Note that when running unprivileged, \\f[B]setfiles\\f[R] will fail to set "
3204 "any labels that are not in the host\\[cq]s SELinux policy. To ensure "
3205 "\\f[B]setfiles\\f[R] succeeds without errors, make sure to run "
3206 "\\f[B]mkosi\\f[R] as root or build from a host system with the same SELinux "
3207 "policy as the image you\\[cq]re building.\\fR"
3208 msgstr ""
3209
3210 #. type: TP
3211 #: archlinux debian-trixie opensuse-leap-16-1
3212 #, no-wrap
3213 msgid "\\f[CR]MachineId=\\f[R], \\f[CR]--machine-id=\\fR"
3214 msgstr ""
3215
3216 #. type: Plain text
3217 #: archlinux debian-trixie opensuse-leap-16-1
3218 msgid ""
3219 "Takes a UUID or the special value \\f[CR]random\\f[R]. Sets the machine ID "
3220 "of the image to the specified UUID. If set to \\f[CR]random\\f[R], a random "
3221 "UUID will be written to \\f[CR]/etc/machine-id\\f[R]. If not specified "
3222 "explicitly and the file \\f[CR]mkosi.machine-id\\f[R] exists in the local "
3223 "directory, the UUID to use is read from it. Otherwise, "
3224 "\\f[CR]uninitialized\\f[R] will be written to \\f[CR]/etc/machine-id\\f[R]."
3225 "\\fR"
3226 msgstr ""
3227
3228 #. type: SS
3229 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3230 #: opensuse-leap-16-1 opensuse-tumbleweed
3231 #, no-wrap
3232 msgid "[Validation] Section"
3233 msgstr ""
3234
3235 #. type: TP
3236 #: archlinux
3237 #, no-wrap
3238 msgid "\\f[CR]SecureBoot=\\f[R], \\f[CR]--secure-boot=\\fR"
3239 msgstr ""
3240
3241 #. type: Plain text
3242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3243 #: opensuse-leap-16-1 opensuse-tumbleweed
3244 msgid ""
3245 "Sign \\f[B]systemd-boot\\f[R] (if it is not signed yet) and any generated "
3246 "unified kernel images for UEFI SecureBoot.\\fR"
3247 msgstr ""
3248
3249 #. type: TP
3250 #: archlinux debian-trixie opensuse-leap-16-1
3251 #, no-wrap
3252 msgid "\\f[CR]SecureBootAutoEnroll=\\f[R], \\f[CR]--secure-boot-auto-enroll=\\fR"
3253 msgstr ""
3254
3255 #. type: Plain text
3256 #: archlinux debian-trixie opensuse-leap-16-1
3257 msgid ""
3258 "Set up automatic enrollment of the secure boot keys in virtual machines as "
3259 "documented in \\f[B]systemd-boot\\f[R](7) if \\f[CR]SecureBoot=\\f[R] is "
3260 "used. Note that \\f[B]systemd-boot\\f[R] will only do automatic secure boot "
3261 "key enrollment in virtual machines starting from systemd v253. To do auto "
3262 "enrollment on systemd v252 or on bare metal machines, write a \\f[B]systemd-"
3263 "boot\\f[R] configuration file to \\f[CR]/efi/loader/loader.conf\\f[R] using "
3264 "an extra tree with \\f[CR]secure-boot-enroll force\\f[R] or \\f[CR]secure-"
3265 "boot-enroll manual\\f[R] in it. Auto enrollment is not supported on systemd "
3266 "versions older than v252. Defaults to \\f[CR]yes\\f[R].\\fR"
3267 msgstr ""
3268
3269 #. type: TP
3270 #: archlinux debian-trixie opensuse-leap-16-1
3271 #, no-wrap
3272 msgid "\\f[CR]SecureBootKey=\\f[R], \\f[CR]--secure-boot-key=\\fR"
3273 msgstr ""
3274
3275 #. type: Plain text
3276 #: archlinux debian-trixie opensuse-leap-16-1
3277 msgid ""
3278 "Path to the PEM file containing the secret key for signing the UEFI kernel "
3279 "image if \\f[CR]SecureBoot=\\f[R] is used and PCR signatures when "
3280 "\\f[CR]SignExpectedPcr=\\f[R] is also used. When "
3281 "\\f[CR]SecureBootKeySource=\\f[R] is specified, the input type depends on "
3282 "the source.\\fR"
3283 msgstr ""
3284
3285 #. type: TP
3286 #: archlinux debian-trixie opensuse-leap-16-1
3287 #, no-wrap
3288 msgid "\\f[CR]SecureBootCertificate=\\f[R], \\f[CR]--secure-boot-certificate=\\fR"
3289 msgstr ""
3290
3291 #. type: Plain text
3292 #: archlinux debian-trixie opensuse-leap-16-1
3293 msgid ""
3294 "Path to the X.509 file containing the certificate for the signed UEFI kernel "
3295 "image, if \\f[CR]SecureBoot=\\f[R] is used.\\fR"
3296 msgstr ""
3297
3298 #. type: TP
3299 #: archlinux
3300 #, no-wrap
3301 msgid "\\f[CR]SecureBootSignTool=\\f[R], \\f[CR]--secure-boot-sign-tool=\\fR"
3302 msgstr ""
3303
3304 #. type: Plain text
3305 #: archlinux debian-trixie opensuse-leap-16-1
3306 msgid ""
3307 "Tool to use to sign secure boot PE binaries. Takes one of \\f[CR]systemd-"
3308 "sbsign\\f[R], \\f[CR]sbsign\\f[R] or \\f[CR]auto\\f[R]. Defaults to "
3309 "\\f[CR]auto\\f[R]. If set to \\f[CR]auto\\f[R], either \\f[B]systemd-"
3310 "sbsign\\f[R] or \\f[B]sbsign\\f[R] are used if available, with \\f[B]systemd-"
3311 "sbsign\\f[R] being preferred.\\fR"
3312 msgstr ""
3313
3314 #. type: TP
3315 #: archlinux debian-trixie opensuse-leap-16-1
3316 #, no-wrap
3317 msgid "\\f[CR]Verity=\\f[R], \\f[CR]--verity=\\fR"
3318 msgstr ""
3319
3320 #. type: Plain text
3321 #: archlinux
3322 msgid ""
3323 "Whether to enforce or disable verity for extension images. Takes one of "
3324 "\\f[CR]signed\\f[R], \\f[CR]hash\\f[R], \\f[CR]defer\\f[R], "
3325 "\\f[CR]auto\\f[R] or a boolean value. If set to \\f[CR]signed\\f[R], a "
3326 "verity key and certificate must be present and the build will fail if we "
3327 "don\\[cq]t detect any verity partitions in the disk image produced by "
3328 "\\f[B]systemd-repart\\f[R]. If disabled, verity partitions will be excluded "
3329 "from the extension images produced by \\f[B]systemd-repart\\f[R]. If set to "
3330 "\\f[CR]hash\\f[R], \\f[B]mkosi\\f[R] configures \\f[B]systemd-repart\\f[R] "
3331 "to create a verity hash partition, but no signature partition. If set to "
3332 "\\f[CR]defer\\f[R], space for the verity sig partition will be allocated but "
3333 "it will not be populated yet. If set to \\f[CR]auto\\f[R] and a verity key "
3334 "and certificate are present, \\f[B]mkosi\\f[R] will pass them to "
3335 "\\f[B]systemd-repart\\f[R] and expects the generated disk image to contain "
3336 "verity partitions, but the build won\\[cq]t fail if no verity partitions are "
3337 "found in the disk image produced by \\f[B]systemd-repart\\f[R].\\fR"
3338 msgstr ""
3339
3340 #. type: Plain text
3341 #: archlinux
3342 msgid ""
3343 "Note that explicitly disabling verity signature and/or hash is not yet "
3344 "implemented for the \\f[CR]disk\\f[R] output and only works for extension "
3345 "images at the moment.\\fR"
3346 msgstr ""
3347
3348 #. type: TP
3349 #: archlinux debian-trixie opensuse-leap-16-1
3350 #, no-wrap
3351 msgid "\\f[CR]VerityKey=\\f[R], \\f[CR]--verity-key=\\fR"
3352 msgstr ""
3353
3354 #. type: Plain text
3355 #: archlinux debian-trixie opensuse-leap-16-1
3356 msgid ""
3357 "Path to the PEM file containing the secret key for signing the verity "
3358 "signature, if a verity signature partition is added with \\f[B]systemd-"
3359 "repart\\f[R]. When \\f[CR]VerityKeySource=\\f[R] is specified, the input "
3360 "type depends on the source.\\fR"
3361 msgstr ""
3362
3363 #. type: TP
3364 #: archlinux debian-trixie opensuse-leap-16-1
3365 #, no-wrap
3366 msgid "\\f[CR]VerityCertificate=\\f[R], \\f[CR]--verity-certificate=\\fR"
3367 msgstr ""
3368
3369 #. type: Plain text
3370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3371 #: opensuse-leap-16-1 opensuse-tumbleweed
3372 msgid ""
3373 "Path to the X.509 file containing the certificate for signing the verity "
3374 "signature, if a verity signature partition is added with \\f[B]systemd-"
3375 "repart\\f[R].\\fR"
3376 msgstr ""
3377
3378 #. type: TP
3379 #: archlinux
3380 #, no-wrap
3381 msgid "\\f[CR]SignExpectedPcr=\\f[R], \\f[CR]--sign-expected-pcr=\\fR"
3382 msgstr ""
3383
3384 #. type: Plain text
3385 #: archlinux debian-trixie opensuse-leap-16-1
3386 msgid ""
3387 "Measure the components of the unified kernel image (UKI) using \\f[B]systemd-"
3388 "measure\\f[R] and embed the PCR signature into the unified kernel image. "
3389 "This option takes a boolean value or the special value \\f[CR]auto\\f[R], "
3390 "which is the default, which is equal to a true value if the \\f[B]systemd-"
3391 "measure\\f[R] binary is in \\f[CR]PATH\\f[R]. Depends on "
3392 "\\f[CR]SecureBoot=\\f[R] being enabled and key from "
3393 "\\f[CR]SecureBootKey=\\f[R].\\fR"
3394 msgstr ""
3395
3396 #. type: TP
3397 #: archlinux debian-trixie opensuse-leap-16-1
3398 #, no-wrap
3399 msgid "\\f[CR]SignExpectedPcrKey=\\f[R], \\f[CR]--sign-expected-pcr-key=\\fR"
3400 msgstr ""
3401
3402 #. type: Plain text
3403 #: archlinux debian-trixie opensuse-leap-16-1
3404 msgid ""
3405 "Path to the PEM file containing the secret key for signing the expected PCR "
3406 "signatures. When \\f[CR]SignExpectedPcrKeySource=\\f[R] is specified, the "
3407 "input type depends on the source.\\fR"
3408 msgstr ""
3409
3410 #. type: TP
3411 #: archlinux debian-trixie opensuse-leap-16-1
3412 #, no-wrap
3413 msgid "\\f[CR]SignExpectedPcrCertificate=\\f[R], \\f[CR]--sign-expected-pcr-certificate=\\fR"
3414 msgstr ""
3415
3416 #. type: Plain text
3417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3418 #: opensuse-leap-16-1 opensuse-tumbleweed
3419 msgid ""
3420 "Path to the X.509 file containing the certificate for signing the expected "
3421 "PCR signatures."
3422 msgstr ""
3423
3424 #. type: TP
3425 #: archlinux debian-trixie opensuse-leap-16-1
3426 #, no-wrap
3427 msgid "\\f[CR]SecureBootKeySource=\\f[R], \\f[CR]--secure-boot-key-source=\\f[R], \\f[CR]VerityKeySource=\\f[R], \\f[CR]--verity-key-source=\\f[R], \\f[CR]SignExpectedPcrKeySource=\\f[R], \\f[CR]--sign-expected-key-source=\\fR"
3428 msgstr ""
3429
3430 #. type: Plain text
3431 #: archlinux debian-trixie opensuse-leap-16-1
3432 msgid ""
3433 "The source of the corresponding private key, to support OpenSSL engines and "
3434 "providers, e.g.\\ \\f[CR]--secure-boot-key-source=engine:pkcs11\\f[R] or "
3435 "\\f[CR]--secure-boot-key-source=provider:pkcs11\\f[R].\\fR"
3436 msgstr ""
3437
3438 #. type: TP
3439 #: archlinux debian-trixie opensuse-leap-16-1
3440 #, no-wrap
3441 msgid "\\f[CR]SecureBootCertificateSource=\\f[R], \\f[CR]--secure-boot-certificate-source=\\f[R], \\f[CR]VerityCertificateSource=\\f[R], \\f[CR]--verity-certificate-source=\\f[R], \\f[CR]SignExpectedPcrCertificateSource=\\f[R], \\f[CR]--sign-expected-certificate-source=\\fR"
3442 msgstr ""
3443
3444 #. type: Plain text
3445 #: archlinux debian-trixie opensuse-leap-16-1
3446 msgid ""
3447 "The source of the corresponding certificate, to support OpenSSL providers, "
3448 "e.g.\\ \\f[CR]--secure-boot-certificate-source=provider:pkcs11\\f[R]. Note "
3449 "that engines are not supported.\\fR"
3450 msgstr ""
3451
3452 #. type: TP
3453 #: archlinux
3454 #, no-wrap
3455 msgid "\\f[CR]Passphrase=\\f[R], \\f[CR]--passphrase=\\fR"
3456 msgstr ""
3457
3458 #. type: Plain text
3459 #: archlinux debian-trixie opensuse-leap-16-1
3460 msgid ""
3461 "Specify the path to a file containing the passphrase to use for LUKS "
3462 "encryption. It should contain the passphrase literally, and not end in a "
3463 "newline character (i.e.\\ in the same format as \\f[B]cryptsetup\\f[R] and "
3464 "\\f[CR]/etc/crypttab\\f[R] expect the passphrase files). The file must have "
3465 "an access mode of 0600 or less.\\fR"
3466 msgstr ""
3467
3468 #. type: Plain text
3469 #: archlinux
3470 msgid ""
3471 "Note that this setting on its own does not enable any encryption. You also "
3472 "have to add one or more partition definition files to \\f[CR]mkosi.repart/"
3473 "\\f[R] with \\f[CR]Encrypt=key-file\\f[R] to add encrypted partitions to the "
3474 "image.\\fR"
3475 msgstr ""
3476
3477 #. type: TP
3478 #: archlinux
3479 #, no-wrap
3480 msgid "\\f[CR]Checksum=\\f[R], \\f[CR]--checksum=\\fR"
3481 msgstr ""
3482
3483 #. type: Plain text
3484 #: archlinux debian-trixie opensuse-leap-16-1
3485 msgid ""
3486 "Generate a \\f[CR]E<lt>outputE<gt>.SHA256SUMS\\f[R] file of all generated "
3487 "artifacts after the build is complete.\\fR"
3488 msgstr ""
3489
3490 #. type: TP
3491 #: archlinux
3492 #, no-wrap
3493 msgid "\\f[CR]Sign=\\f[R], \\f[CR]--sign=\\fR"
3494 msgstr ""
3495
3496 #. type: Plain text
3497 #: archlinux debian-trixie opensuse-leap-16-1
3498 msgid ""
3499 "Sign the generated \\f[CR]SHA256SUMS\\f[R] using \\f[B]gpg\\f[R] after "
3500 "completion.\\fR"
3501 msgstr ""
3502
3503 #. type: TP
3504 #: archlinux
3505 #, no-wrap
3506 msgid "\\f[CR]OpenPGPTool=\\f[R], \\f[CR]--openpgp-tool=\\fR"
3507 msgstr ""
3508
3509 #. type: Plain text
3510 #: archlinux debian-trixie opensuse-leap-16-1
3511 msgid ""
3512 "OpenPGP implementation to use for signing. \\f[CR]gpg\\f[R] is the "
3513 "default. Selecting a value different than the default will use the given "
3514 "Stateless OpenPGP (SOP) tool for signing the \\f[CR]SHA256SUMS\\f[R] file."
3515 "\\fR"
3516 msgstr ""
3517
3518 #. type: Plain text
3519 #: archlinux debian-trixie opensuse-leap-16-1
3520 msgid ""
3521 "Exemplary choices are \\f[CR]sqop\\f[R] and \\f[CR]rsop\\f[R], but any "
3522 "implementation from https://www.openpgp.org/about/sop/ that can be installed "
3523 "locally will work.\\fR"
3524 msgstr ""
3525
3526 #. type: TP
3527 #: archlinux debian-trixie opensuse-leap-16-1
3528 #, no-wrap
3529 msgid "\\f[CR]Key=\\f[R], \\f[CR]--key=\\fR"
3530 msgstr ""
3531
3532 #. type: Plain text
3533 #: archlinux debian-trixie opensuse-leap-16-1
3534 msgid ""
3535 "Select the \\f[B]gpg\\f[R] key to use for signing \\f[CR]SHA256SUMS\\f[R]. "
3536 "This key must be already present in the \\f[B]gpg\\f[R] keyring.\\fR"
3537 msgstr ""
3538
3539 #. type: SS
3540 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3541 #: opensuse-leap-16-1 opensuse-tumbleweed
3542 #, no-wrap
3543 msgid "[Build] Section"
3544 msgstr ""
3545
3546 #. type: TP
3547 #: archlinux debian-trixie opensuse-leap-16-1
3548 #, no-wrap
3549 msgid "\\f[CR]ToolsTree=\\f[R], \\f[CR]--tools-tree=\\fR"
3550 msgstr ""
3551
3552 #. type: Plain text
3553 #: archlinux debian-trixie opensuse-leap-16-1
3554 msgid ""
3555 "If specified, programs executed by \\f[B]mkosi\\f[R] to build and boot an "
3556 "image are looked up inside the given tree instead of in the host system. "
3557 "Use this option to make image builds more reproducible by always using the "
3558 "same versions of programs to build the final image instead of whatever "
3559 "version is installed on the host system. If this option is not used, but "
3560 "the \\f[CR]mkosi.tools/\\f[R] directory is found in the local directory it "
3561 "is automatically used for this purpose with the root directory as target.\\fR"
3562 msgstr ""
3563
3564 #. type: Plain text
3565 #: archlinux
3566 msgid ""
3567 "The tools tree directory is kept between repeated image builds unless "
3568 "cleaned by calling \\f[CR]mkosi clean -f\\f[R].\\fR"
3569 msgstr ""
3570
3571 #. type: Plain text
3572 #: archlinux debian-trixie opensuse-leap-16-1
3573 msgid ""
3574 "Note that binaries found in any of the paths configured with "
3575 "\\f[CR]ExtraSearchPaths=\\f[R] will be executed with \\f[CR]/usr/\\f[R] from "
3576 "the tools tree instead of from the host. If the host distribution or "
3577 "release does not match the tools tree distribution or release respectively, "
3578 "this might result in failures when trying to execute binaries from any of "
3579 "the extra search paths.\\fR"
3580 msgstr ""
3581
3582 #. type: Plain text
3583 #: archlinux
3584 msgid ""
3585 "If set to \\f[CR]yes\\f[R], \\f[B]mkosi\\f[R] will automatically add an "
3586 "extra tools tree image and use it as the tools tree. This image can be "
3587 "further configured using the settings below or with "
3588 "\\f[CR]mkosi.tools.conf\\f[R] which can either be a file or directory "
3589 "containing extra configuration for the default tools tree.\\fR"
3590 msgstr ""
3591
3592 #. type: Plain text
3593 #: archlinux fedora-44 fedora-rawhide
3594 msgid "See the \\f[B]TOOLS TREE\\f[R] section for further details.\\fR"
3595 msgstr ""
3596
3597 #. type: TP
3598 #: archlinux debian-trixie opensuse-leap-16-1
3599 #, no-wrap
3600 msgid "\\f[CR]ToolsTreeDistribution=\\f[R], \\f[CR]--tools-tree-distribution=\\fR"
3601 msgstr ""
3602
3603 #. type: Plain text
3604 #: archlinux debian-trixie opensuse-leap-16-1
3605 msgid ""
3606 "Set the distribution to use for the default tools tree. Defaults to the "
3607 "host distribution except for Ubuntu, which defaults to Debian, and RHEL, "
3608 "CentOS, Alma and Rocky, which default to Fedora, or \\f[CR]custom\\f[R] if "
3609 "the distribution of the host is not a supported distribution.\\fR"
3610 msgstr ""
3611
3612 #. type: TP
3613 #: archlinux debian-trixie opensuse-leap-16-1
3614 #, no-wrap
3615 msgid "\\f[CR]ToolsTreeRelease=\\f[R], \\f[CR]--tools-tree-release=\\fR"
3616 msgstr ""
3617
3618 #. type: Plain text
3619 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3620 #: opensuse-leap-16-1 opensuse-tumbleweed
3621 msgid ""
3622 "Set the distribution release to use for the default tools tree. By default, "
3623 "the hardcoded default release in \\f[B]mkosi\\f[R] for the distribution is "
3624 "used.\\fR"
3625 msgstr ""
3626
3627 #. type: TP
3628 #: archlinux
3629 #, no-wrap
3630 msgid "\\f[CR]ToolsTreeProfiles=\\f[R], \\f[CR]--tools-tree-profile=\\fR"
3631 msgstr ""
3632
3633 #. type: Plain text
3634 #: archlinux
3635 msgid ""
3636 "Set the profiles to enable for the default tools tree. Takes a comma-"
3637 "delimited list consisting of \\f[CR]devel\\f[R], \\f[CR]misc\\f[R], "
3638 "\\f[CR]package-manager\\f[R] and \\f[CR]runtime\\f[R]. By default, all "
3639 "profiles except \\f[CR]devel\\f[R] are enabled.\\fR"
3640 msgstr ""
3641
3642 #. type: Plain text
3643 #: archlinux
3644 msgid ""
3645 "The \\f[CR]devel\\f[R] profile contains tools required to build (C/C++) "
3646 "projects. The \\f[CR]misc\\f[R] profile contains various useful tools that "
3647 "are handy to have available in scripts. The package manager profile "
3648 "contains package managers and related tools other than those native to the "
3649 "tools tree distribution. The \\f[CR]runtime\\f[R] profile contains the "
3650 "tools required to boot images in a systemd-nspawn container or in a virtual "
3651 "machine.\\fR"
3652 msgstr ""
3653
3654 #. type: TP
3655 #: archlinux debian-trixie opensuse-leap-16-1
3656 #, no-wrap
3657 msgid "\\f[CR]ToolsTreeMirror=\\f[R], \\f[CR]--tools-tree-mirror=\\fR"
3658 msgstr ""
3659
3660 #. type: Plain text
3661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3662 #: opensuse-leap-16-1 opensuse-tumbleweed
3663 msgid ""
3664 "Set the mirror to use for the default tools tree. By default, the default "
3665 "mirror for the tools tree distribution is used."
3666 msgstr ""
3667
3668 #. type: TP
3669 #: archlinux
3670 #, no-wrap
3671 msgid "\\f[CR]ToolsTreeRepositories=\\f[R], \\f[CR]--tools-tree-repository=\\fR"
3672 msgstr ""
3673
3674 #. type: Plain text
3675 #: archlinux debian-trixie opensuse-leap-16-1
3676 msgid "Same as \\f[CR]Repositories=\\f[R] but for the default tools tree.\\fR"
3677 msgstr ""
3678
3679 #. type: TP
3680 #: archlinux
3681 #, no-wrap
3682 msgid "\\f[CR]ToolsTreeSandboxTrees=\\f[R], \\f[CR]--tools-tree-sandbox-tree=\\fR"
3683 msgstr ""
3684
3685 #. type: Plain text
3686 #: archlinux debian-trixie opensuse-leap-16-1
3687 msgid "Same as \\f[CR]SandboxTrees=\\f[R] but for the default tools tree.\\fR"
3688 msgstr ""
3689
3690 #. type: TP
3691 #: archlinux debian-trixie opensuse-leap-16-1
3692 #, no-wrap
3693 msgid "\\f[CR]ToolsTreePackages=\\f[R], \\f[CR]--tools-tree-package=\\fR"
3694 msgstr ""
3695
3696 #. type: Plain text
3697 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
3698 #: opensuse-leap-16-1 opensuse-tumbleweed
3699 msgid ""
3700 "Extra packages to install into the default tools tree. Takes a comma "
3701 "separated list of package specifications. This option may be used multiple "
3702 "times in which case the specified package lists are combined."
3703 msgstr ""
3704
3705 #. type: TP
3706 #: archlinux debian-trixie opensuse-leap-16-1
3707 #, no-wrap
3708 msgid "\\f[CR]ToolsTreePackageDirectories=\\f[R], \\f[CR]--tools-tree-package-directory=\\fR"
3709 msgstr ""
3710
3711 #. type: Plain text
3712 #: archlinux debian-trixie opensuse-leap-16-1
3713 msgid ""
3714 "Same as \\f[CR]PackageDirectories=\\f[R], but for the default tools tree.\\fR"
3715 msgstr ""
3716
3717 #. type: TP
3718 #: archlinux debian-trixie opensuse-leap-16-1
3719 #, no-wrap
3720 msgid "\\f[CR]ToolsTreeCertificates=\\f[R], \\f[CR]--tools-tree-certificates=\\fR"
3721 msgstr ""
3722
3723 #. type: Plain text
3724 #: archlinux
3725 msgid ""
3726 "Specify whether to use certificates and keys from the tools tree. Enabled "
3727 "by default. If enabled, \\f[CR]/etc/pki/ca-trust\\f[R], \\f[CR]/etc/pki/"
3728 "tls\\f[R], \\f[CR]/etc/ssl\\f[R], \\f[CR]/etc/ca-certificates\\f[R], and "
3729 "\\f[CR]/var/lib/ca-certificates\\f[R] from the tools tree are used. "
3730 "Otherwise, these directories are picked up from the host.\\fR"
3731 msgstr ""
3732
3733 #. type: TP
3734 #: archlinux debian-trixie opensuse-leap-16-1
3735 #, no-wrap
3736 msgid "\\f[CR]ExtraSearchPaths=\\f[R], \\f[CR]--extra-search-path=\\fR"
3737 msgstr ""
3738
3739 #. type: Plain text
3740 #: archlinux debian-trixie opensuse-leap-16-1
3741 msgid ""
3742 "List of colon-separated paths to look for tools in, before using the regular "
3743 "\\f[CR]$PATH\\f[R] search path.\\fR"
3744 msgstr ""
3745
3746 #. type: TP
3747 #: archlinux debian-trixie opensuse-leap-16-1
3748 #, no-wrap
3749 msgid "\\f[CR]Incremental=\\f[R], \\f[CR]--incremental=\\f[R], \\f[CR]-i\\fR"
3750 msgstr ""
3751
3752 #. type: Plain text
3753 #: archlinux debian-trixie opensuse-leap-16-1
3754 msgid ""
3755 "Takes either \\f[CR]strict\\f[R] or a boolean value as its argument. "
3756 "Enables incremental build mode. In this mode, a copy of the OS image is "
3757 "created immediately after all OS packages are installed and the prepare "
3758 "scripts have executed but before the \\f[CR]mkosi.build\\f[R] scripts are "
3759 "invoked (or anything that happens after it). On subsequent invocations of "
3760 "\\f[B]mkosi\\f[R] with the \\f[CR]-i\\f[R] switch this cached image may be "
3761 "used to skip the OS package installation, thus drastically speeding up "
3762 "repetitive build times. Note that while there is some rudimentary cache "
3763 "invalidation, it is definitely not perfect. In order to force a rebuild of "
3764 "the cached image, combine \\f[CR]-i\\f[R] with \\f[CR]-ff\\f[R] to ensure "
3765 "the cached image is first removed and then re-created.\\fR"
3766 msgstr ""
3767
3768 #. type: Plain text
3769 #: archlinux debian-trixie opensuse-leap-16-1
3770 msgid ""
3771 "If set to \\f[CR]strict\\f[R], the build fails if previously built cached "
3772 "image does not exist.\\fR"
3773 msgstr ""
3774
3775 #. type: TP
3776 #: archlinux debian-trixie opensuse-leap-16-1
3777 #, no-wrap
3778 msgid "\\f[CR]CacheOnly=\\f[R], \\f[CR]--cache-only=\\fR"
3779 msgstr ""
3780
3781 #. type: Plain text
3782 #: archlinux debian-trixie opensuse-leap-16-1
3783 msgid ""
3784 "Takes one of \\f[CR]auto\\f[R], \\f[CR]metadata\\f[R], \\f[CR]always\\f[R] "
3785 "or \\f[CR]never\\f[R]. Defaults to \\f[CR]auto\\f[R]. If "
3786 "\\f[CR]always\\f[R], the package manager is instructed not to contact the "
3787 "network. This provides a minimal level of reproducibility, as long as the "
3788 "package cache is already fully populated. If set to \\f[CR]metadata\\f[R], "
3789 "the package manager can still download packages, but we won\\[cq]t sync the "
3790 "repository metadata. If set to \\f[CR]auto\\f[R], the repository metadata "
3791 "is synced unless we have a cached image (see \\f[CR]Incremental=\\f[R]) and "
3792 "packages can be downloaded during the build. If set to \\f[CR]never\\f[R], "
3793 "repository metadata is always synced and packages can be downloaded during "
3794 "the build.\\fR"
3795 msgstr ""
3796
3797 #. type: TP
3798 #: archlinux debian-trixie opensuse-leap-16-1
3799 #, no-wrap
3800 msgid "\\f[CR]SandboxTrees=\\f[R], \\f[CR]--sandbox-tree=\\fR"
3801 msgstr ""
3802
3803 #. type: Plain text
3804 #: archlinux
3805 msgid ""
3806 "Takes a comma-separated list of colon-separated path pairs. The first path "
3807 "of each pair refers to a directory to copy into the mkosi sandbox before "
3808 "executing a tool. The second path of each pair refers to the target "
3809 "directory inside the sandbox. If the second path is not provided, the "
3810 "directory is copied on top of the root directory of the sandbox. The second "
3811 "path is always interpreted as an absolute path. If the \\f[CR]mkosi.sandbox/"
3812 "\\f[R] directory is found in the local directory it is used for this purpose "
3813 "with the root directory as target (also see the \\f[B]FILES\\f[R] section "
3814 "below).\\fR"
3815 msgstr ""
3816
3817 #. type: Plain text
3818 #: archlinux debian-trixie opensuse-leap-16-1
3819 msgid ""
3820 "\\f[B]mkosi\\f[R] will look for the package manager configuration and "
3821 "related files in the configured sandbox trees. Unless specified otherwise, "
3822 "it will use the configuration files from their canonical locations in "
3823 "\\f[CR]/usr\\f[R] or \\f[CR]/etc\\f[R] in the sandbox trees. For example, "
3824 "it will look for \\f[CR]/etc/dnf/dnf.conf\\f[R] in the sandbox trees if "
3825 "\\f[B]dnf\\f[R] is used to install packages.\\fR"
3826 msgstr ""
3827
3828 #. type: TP
3829 #: archlinux debian-trixie opensuse-leap-16-1
3830 #, no-wrap
3831 msgid "\\f[CR]WorkspaceDirectory=\\f[R], \\f[CR]--workspace-directory=\\fR"
3832 msgstr ""
3833
3834 #. type: Plain text
3835 #: archlinux
3836 msgid ""
3837 "Path to a directory where to store data required temporarily while building "
3838 "the image. This directory should have enough space to store the full OS "
3839 "image, though in most modes the actually used disk space is smaller. If not "
3840 "specified, a subdirectory of \\f[CR]$XDG_CACHE_HOME\\f[R] (if set), \\f[CR]"
3841 "$CACHE_DIRECTORY\\f[R] (if set), \\f[CR]$HOME/.cache\\f[R] (if set) or "
3842 "\\f[CR]/var/tmp\\f[R] is used.\\fR"
3843 msgstr ""
3844
3845 #. type: Plain text
3846 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
3847 msgid ""
3848 "The data in this directory is removed automatically after each build. It\\"
3849 "[cq]s safe to manually remove the contents of this directory should an "
3850 "\\f[B]mkosi\\f[R] invocation be aborted abnormally (for example, due to "
3851 "reboot/power failure).\\fR"
3852 msgstr ""
3853
3854 #. type: TP
3855 #: archlinux debian-trixie opensuse-leap-16-1
3856 #, no-wrap
3857 msgid "\\f[CR]CacheDirectory=\\f[R], \\f[CR]--cache-directory=\\fR"
3858 msgstr ""
3859
3860 #. type: Plain text
3861 #: archlinux debian-trixie opensuse-leap-16-1
3862 msgid ""
3863 "Takes a path to a directory to use as the incremental cache directory for "
3864 "the incremental images produced when the \\f[CR]Incremental=\\f[R] option is "
3865 "enabled. If this option is not used, but a \\f[CR]mkosi.cache/\\f[R] "
3866 "directory is found in the local directory it is automatically used for this "
3867 "purpose.\\fR"
3868 msgstr ""
3869
3870 #. type: TP
3871 #: archlinux
3872 #, no-wrap
3873 msgid "\\f[CR]CacheKey=\\f[R], \\f[CR]--cache-key=\\fR"
3874 msgstr ""
3875
3876 #. type: Plain text
3877 #: archlinux
3878 msgid ""
3879 "Specifies the subdirectory within the cache directory where to store the "
3880 "cached image. This may include both the regular specifiers (see "
3881 "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded "
3882 "after config parsing has finished, instead of during config parsing, which "
3883 "are described below. The default format for this parameter is \\f[CR]&d\\"
3884 "[ti]&r\\[ti]&a\\[ti]&I\\f[R].\\fR"
3885 msgstr ""
3886
3887 #. type: tbl table
3888 #: archlinux
3889 #, no-wrap
3890 msgid "\\f[CR]&d\\fR"
3891 msgstr ""
3892
3893 #. type: Plain text
3894 #: archlinux debian-trixie opensuse-leap-16-1
3895 #, no-wrap
3896 msgid "\\f[CR]Distribution=\\fR"
3897 msgstr ""
3898
3899 #. type: tbl table
3900 #: archlinux
3901 #, no-wrap
3902 msgid "\\f[CR]&r\\fR"
3903 msgstr ""
3904
3905 #. type: Plain text
3906 #: archlinux debian-trixie opensuse-leap-16-1
3907 #, no-wrap
3908 msgid "\\f[CR]Release=\\fR"
3909 msgstr ""
3910
3911 #. type: tbl table
3912 #: archlinux
3913 #, no-wrap
3914 msgid "\\f[CR]&a\\fR"
3915 msgstr ""
3916
3917 #. type: Plain text
3918 #: archlinux debian-trixie opensuse-leap-16-1
3919 #, no-wrap
3920 msgid "\\f[CR]Architecture=\\fR"
3921 msgstr ""
3922
3923 #. type: tbl table
3924 #: archlinux
3925 #, no-wrap
3926 msgid "\\f[CR]&i\\fR"
3927 msgstr ""
3928
3929 #. type: Plain text
3930 #: archlinux debian-trixie opensuse-leap-16-1
3931 #, no-wrap
3932 msgid "\\f[CR]ImageId=\\fR"
3933 msgstr ""
3934
3935 #. type: tbl table
3936 #: archlinux
3937 #, no-wrap
3938 msgid "\\f[CR]&v\\fR"
3939 msgstr ""
3940
3941 #. type: Plain text
3942 #: archlinux debian-trixie opensuse-leap-16-1
3943 #, no-wrap
3944 msgid "\\f[CR]ImageVersion=\\fR"
3945 msgstr ""
3946
3947 #. type: tbl table
3948 #: archlinux
3949 #, no-wrap
3950 msgid "\\f[CR]&I\\fR"
3951 msgstr ""
3952
3953 #. type: tbl table
3954 #: archlinux
3955 #, no-wrap
3956 msgid "\\f[R]Subimage name within mkosi.images/ or \\f[CR]main\\fR"
3957 msgstr ""
3958
3959 #. type: Plain text
3960 #: archlinux fedora-44 fedora-rawhide
3961 msgid "Note that all images within a build must have a unique cache key."
3962 msgstr ""
3963
3964 #. type: TP
3965 #: archlinux
3966 #, no-wrap
3967 msgid "\\f[CR]PackageCacheDirectory=\\f[R], \\f[CR]--package-cache-dir=\\fR"
3968 msgstr ""
3969
3970 #. type: Plain text
3971 #: archlinux debian-trixie opensuse-leap-16-1
3972 msgid ""
3973 "Takes a path to a directory to use as the package cache directory for the "
3974 "distribution package manager used. If unset, but a \\f[CR]mkosi.pkgcache/"
3975 "\\f[R] directory is found in the local directory it is automatically used "
3976 "for this purpose, otherwise a suitable directory in the user\\[cq]s home "
3977 "directory or system is used.\\fR"
3978 msgstr ""
3979
3980 #. type: TP
3981 #: archlinux debian-trixie opensuse-leap-16-1
3982 #, no-wrap
3983 msgid "\\f[CR]BuildDirectory=\\f[R], \\f[CR]--build-directory=\\fR"
3984 msgstr ""
3985
3986 #. type: Plain text
3987 #: archlinux
3988 msgid ""
3989 "Takes a path to a directory to use as the build directory for build systems "
3990 "that support out-of-tree builds (such as Meson). The directory used this "
3991 "way is shared between repeated builds, and allows the build system to reuse "
3992 "artifacts (such as object files, executable, \\&...) generated on previous "
3993 "invocations. The build scripts can find the path to this directory in the "
3994 "\\f[CR]$BUILDDIR\\f[R] environment variable. This directory is mounted into "
3995 "the image\\[cq]s root directory when \\f[B]mkosi-chroot\\f[R] is invoked "
3996 "during execution of the build scripts. If this option is not specified, but "
3997 "a directory \\f[CR]mkosi.builddir/\\f[R] exists in the local directory it is "
3998 "automatically used for this purpose (also see the \\f[B]FILES\\f[R] section "
3999 "below).\\fR"
4000 msgstr ""
4001
4002 #. type: TP
4003 #: archlinux
4004 #, no-wrap
4005 msgid "\\f[CR]BuildKey=\\f[R], \\f[CR]--build-key=\\fR"
4006 msgstr ""
4007
4008 #. type: Plain text
4009 #: archlinux
4010 msgid ""
4011 "Specifies the subdirectory within the build directory where to store "
4012 "incremental build artifacts. This may include both the regular specifiers "
4013 "(see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that are "
4014 "expanded after config parsing has finished, instead of during config "
4015 "parsing, which are the same delayed specifiers that are supported by "
4016 "\\f[CR]CacheKey=\\f[R]. The default format for this parameter is \\f[CR]&d\\"
4017 "[ti]&r\\[ti]&a\\f[R].\\fR"
4018 msgstr ""
4019
4020 #. type: Plain text
4021 #: archlinux
4022 msgid ""
4023 "To disable usage of a build subdirectory completely, assign a literal "
4024 "\\f[CR]-\\f[R] to this setting.\\fR"
4025 msgstr ""
4026
4027 #. type: TP
4028 #: archlinux debian-trixie opensuse-leap-16-1
4029 #, no-wrap
4030 msgid "\\f[CR]UseSubvolumes=\\f[R], \\f[CR]--use-subvolumes=\\fR"
4031 msgstr ""
4032
4033 #. type: Plain text
4034 #: archlinux debian-trixie opensuse-leap-16-1
4035 msgid ""
4036 "Takes a boolean or \\f[CR]auto\\f[R]. Enables or disables use of btrfs "
4037 "subvolumes for directory tree outputs. If enabled, \\f[B]mkosi\\f[R] will "
4038 "create the root directory as a btrfs subvolume and use btrfs subvolume "
4039 "snapshots where possible to copy base or cached trees which is much faster "
4040 "than doing a recursive copy. If explicitly enabled and \\f[CR]btrfs\\f[R] "
4041 "is not installed or subvolumes cannot be created, an error is raised. If "
4042 "\\f[CR]auto\\f[R], missing \\f[B]btrfs\\f[R] or failures to create "
4043 "subvolumes are ignored.\\fR"
4044 msgstr ""
4045
4046 #. type: TP
4047 #: archlinux debian-trixie opensuse-leap-16-1
4048 #, no-wrap
4049 msgid "\\f[CR]RepartOffline=\\f[R], \\f[CR]--repart-offline=\\fR"
4050 msgstr ""
4051
4052 #. type: Plain text
4053 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4054 #: opensuse-leap-16-1 opensuse-tumbleweed
4055 msgid ""
4056 "Specifies whether to build disk images using loopback devices. Enabled by "
4057 "default. When enabled, \\f[B]systemd-repart\\f[R] will not use loopback "
4058 "devices to build disk images. When disabled, \\f[B]systemd-repart\\f[R] "
4059 "will always use loopback devices to build disk images.\\fR"
4060 msgstr ""
4061
4062 #. type: Plain text
4063 #: archlinux
4064 msgid ""
4065 "Note that when using \\f[CR]RepartOffline=no\\f[R], \\f[B]mkosi\\f[R] cannot "
4066 "run unprivileged and the image build has to be done as the root user outside "
4067 "of any containers and with loopback devices available on the host system.\\fR"
4068 msgstr ""
4069
4070 #. type: Plain text
4071 #: archlinux debian-trixie opensuse-leap-16-1
4072 msgid ""
4073 "There are currently two known scenarios where \\f[CR]RepartOffline=no\\f[R] "
4074 "has to be used. The first is when using \\f[CR]Subvolumes=\\f[R] in a "
4075 "repart partition definition file, as subvolumes cannot be created without "
4076 "using loopback devices. The second is when creating a system with SELinux "
4077 "and an XFS root partition. Because \\f[B]mkfs.xfs\\f[R] does not support "
4078 "populating an XFS filesystem with extended attributes, loopback devices have "
4079 "to be used to ensure the SELinux extended attributes end up in the generated "
4080 "XFS filesystem.\\fR"
4081 msgstr ""
4082
4083 #. type: TP
4084 #: archlinux debian-trixie opensuse-leap-16-1
4085 #, no-wrap
4086 msgid "\\f[CR]History=\\f[R], \\f[CR]--history=\\fR"
4087 msgstr ""
4088
4089 #. type: Plain text
4090 #: archlinux
4091 msgid ""
4092 "Takes a boolean. If enabled, \\f[B]mkosi\\f[R] will write the configuration "
4093 "provided via the CLI for the latest build to the \\f[CR].mkosi-private\\f[R] "
4094 "subdirectory in the directory from which it was invoked. These arguments "
4095 "are then reused as long as the image is not rebuilt to avoid having to "
4096 "specify them over and over again.\\fR"
4097 msgstr ""
4098
4099 #. type: Plain text
4100 #: archlinux debian-trixie opensuse-leap-16-1
4101 msgid ""
4102 "To give an example of why this is useful, if you run \\f[CR]mkosi -O my-"
4103 "custom-output-dir -f\\f[R] followed by \\f[CR]mkosi vm\\f[R], "
4104 "\\f[B]mkosi\\f[R] will fail saying the image hasn\\[cq]t been built yet. If "
4105 "you run \\f[CR]mkosi -O my-custom-output-dir --history=yes -f\\f[R] followed "
4106 "by \\f[CR]mkosi vm\\f[R], it will boot the image built in the previous step "
4107 "as expected.\\fR"
4108 msgstr ""
4109
4110 #. type: TP
4111 #: archlinux debian-trixie opensuse-leap-16-1
4112 #, no-wrap
4113 msgid "\\f[CR]BuildSources=\\f[R], \\f[CR]--build-sources=\\fR"
4114 msgstr ""
4115
4116 #. type: Plain text
4117 #: archlinux debian-trixie opensuse-leap-16-1
4118 msgid ""
4119 "Takes a comma-separated list of colon-separated path pairs. The first path "
4120 "of each pair refers to a directory to mount from the host. The second path "
4121 "of each pair refers to the directory where the source directory should be "
4122 "mounted when running scripts. Every target path is prefixed with \\f[CR]/"
4123 "work/src\\f[R] and all build sources are sorted lexicographically by their "
4124 "target before mounting, so that top level paths are mounted first. If not "
4125 "configured explicitly, the current working directory is mounted to \\f[CR]/"
4126 "work/src\\f[R].\\fR"
4127 msgstr ""
4128
4129 #. type: TP
4130 #: archlinux debian-trixie opensuse-leap-16-1
4131 #, no-wrap
4132 msgid "\\f[CR]BuildSourcesEphemeral=\\f[R], \\f[CR]--build-sources-ephemeral=\\fR"
4133 msgstr ""
4134
4135 #. type: Plain text
4136 #: archlinux debian-trixie opensuse-leap-16-1
4137 msgid ""
4138 "Takes a boolean or the special value \\f[CR]buildcache\\f[R]. Disabled by "
4139 "default. Configures whether changes to source directories, the working "
4140 "directory and configured using \\f[CR]BuildSources=\\f[R], are persisted. "
4141 "If enabled, all source directories will be reset to their original state "
4142 "every time after running all scripts of a specific type (except sync "
4143 "scripts).\\fR"
4144 msgstr ""
4145
4146 #. type: Plain text
4147 #: archlinux debian-trixie opensuse-leap-16-1
4148 msgid ""
4149 "💥💣💥 If set to \\f[CR]buildcache\\f[R] the overlay is not discarded when "
4150 "running build scripts, but saved to the build directory, configured via "
4151 "\\f[CR]BuildDirectory=\\f[R], and will be reused on subsequent runs. The "
4152 "overlay is still discarded for all other scripts. This option can be used "
4153 "to implement more advanced caching of builds, but can lead to unexpected "
4154 "states of the source directory. When using this option, a build directory "
4155 "must be configured. 💥💣💥\\fR"
4156 msgstr ""
4157
4158 #. type: TP
4159 #: archlinux debian-trixie opensuse-leap-16-1
4160 #, no-wrap
4161 msgid "\\f[CR]Environment=\\f[R], \\f[CR]--environment=\\fR"
4162 msgstr ""
4163
4164 #. type: Plain text
4165 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4166 #: opensuse-leap-16-1 opensuse-tumbleweed
4167 msgid ""
4168 "Adds variables to the environment that package managers and the prepare/"
4169 "build/postinstall/finalize scripts are executed with. Takes a space-"
4170 "separated list of variable assignments or just variable names. In the "
4171 "latter case, the values of those variables will be passed through from the "
4172 "environment in which \\f[B]mkosi\\f[R] was invoked. This option may be "
4173 "specified more than once, in which case all listed variables will be set. "
4174 "If the same variable is set twice, the later setting overrides the earlier "
4175 "one.\\fR"
4176 msgstr ""
4177
4178 #. type: TP
4179 #: archlinux debian-trixie opensuse-leap-16-1
4180 #, no-wrap
4181 msgid "\\f[CR]EnvironmentFiles=\\f[R], \\f[CR]--env-file=\\fR"
4182 msgstr ""
4183
4184 #. type: Plain text
4185 #: archlinux debian-trixie opensuse-leap-16-1
4186 msgid ""
4187 "Takes a comma-separated list of paths to files that contain environment "
4188 "variable definitions to be added to the scripting environment. Uses "
4189 "\\f[CR]mkosi.env\\f[R] if it is found in the local directory. The variables "
4190 "are first read from \\f[CR]mkosi.env\\f[R] if it exists, then from the given "
4191 "list of files and then from the \\f[CR]Environment=\\f[R] settings.\\fR"
4192 msgstr ""
4193
4194 #. type: TP
4195 #: archlinux
4196 #, no-wrap
4197 msgid "\\f[CR]WithTests=\\f[R], \\f[CR]--with-tests=\\f[R], \\f[CR]-T\\fR"
4198 msgstr ""
4199
4200 #. type: Plain text
4201 #: archlinux debian-trixie opensuse-leap-16-1
4202 msgid ""
4203 "If set to false (or when the command-line option is used), the \\f[CR]"
4204 "$WITH_TESTS\\f[R] environment variable is set to \\f[CR]0\\f[R] when the "
4205 "\\f[CR]mkosi.build\\f[R] scripts are invoked. This is supposed to be used "
4206 "by the build scripts to bypass any unit or integration tests that are "
4207 "normally run during the source build process. Note that this option has no "
4208 "effect unless the \\f[CR]mkosi.build\\f[R] build scripts honor it.\\fR"
4209 msgstr ""
4210
4211 #. type: TP
4212 #: archlinux debian-trixie opensuse-leap-16-1
4213 #, no-wrap
4214 msgid "\\f[CR]WithNetwork=\\f[R], \\f[CR]--with-network=\\fR"
4215 msgstr ""
4216
4217 #. type: Plain text
4218 #: archlinux debian-trixie opensuse-leap-16-1
4219 msgid ""
4220 "When true, enables network connectivity while the build scripts "
4221 "\\f[CR]mkosi.build\\f[R] are invoked. By default, the build scripts run "
4222 "with networking turned off. The \\f[CR]$WITH_NETWORK\\f[R] environment "
4223 "variable is passed to the \\f[CR]mkosi.build\\f[R] build scripts indicating "
4224 "whether the build is done with or without network.\\fR"
4225 msgstr ""
4226
4227 #. type: TP
4228 #: archlinux debian-trixie opensuse-leap-16-1
4229 #, no-wrap
4230 msgid "\\f[CR]ProxyUrl=\\f[R], \\f[CR]--proxy-url=\\fR"
4231 msgstr ""
4232
4233 #. type: Plain text
4234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4235 #: opensuse-leap-16-1 opensuse-tumbleweed
4236 msgid ""
4237 "Configure a proxy to be used for all outgoing network connections. Various "
4238 "tools that \\f[B]mkosi\\f[R] invokes and for which the proxy can be "
4239 "configured are configured to use this proxy. \\f[B]mkosi\\f[R] also sets "
4240 "various well-known environment variables to specify the proxy to use for any "
4241 "programs it invokes that may need internet access.\\fR"
4242 msgstr ""
4243
4244 #. type: TP
4245 #: archlinux debian-trixie opensuse-leap-16-1
4246 #, no-wrap
4247 msgid "\\f[CR]ProxyExclude=\\f[R], \\f[CR]--proxy-exclude=\\fR"
4248 msgstr ""
4249
4250 #. type: Plain text
4251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4252 #: opensuse-leap-16-1 opensuse-tumbleweed
4253 msgid ""
4254 "Configure hostnames for which requests should not go through the proxy. "
4255 "Takes a comma-separated list of hostnames."
4256 msgstr ""
4257
4258 #. type: TP
4259 #: archlinux debian-trixie opensuse-leap-16-1
4260 #, no-wrap
4261 msgid "\\f[CR]ProxyPeerCertificate=\\f[R], \\f[CR]--proxy-peer-certificate=\\fR"
4262 msgstr ""
4263
4264 #. type: Plain text
4265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4266 #: opensuse-leap-16-1 opensuse-tumbleweed
4267 msgid ""
4268 "Configure a file containing certificates used to verify the proxy. Defaults "
4269 "to the system-wide certificate store."
4270 msgstr ""
4271
4272 #. type: Plain text
4273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4274 #: opensuse-leap-16-1 opensuse-tumbleweed
4275 msgid ""
4276 "Currently, setting a proxy peer certificate is only supported when "
4277 "\\f[B]dnf\\f[R] or \\f[B]dnf5\\f[R] is used to build the image.\\fR"
4278 msgstr ""
4279
4280 #. type: TP
4281 #: archlinux debian-trixie opensuse-leap-16-1
4282 #, no-wrap
4283 msgid "\\f[CR]ProxyClientCertificate=\\f[R], \\f[CR]--proxy-client-certificate=\\fR"
4284 msgstr ""
4285
4286 #. type: Plain text
4287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4288 #: opensuse-leap-16-1 opensuse-tumbleweed
4289 msgid ""
4290 "Configure a file containing the certificate used to authenticate the client "
4291 "with the proxy."
4292 msgstr ""
4293
4294 #. type: Plain text
4295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4296 #: opensuse-leap-16-1 opensuse-tumbleweed
4297 msgid ""
4298 "Currently, setting a proxy client certificate is only supported when "
4299 "\\f[B]dnf\\f[R] or \\f[B]dnf5\\f[R] is used to build the image.\\fR"
4300 msgstr ""
4301
4302 #. type: TP
4303 #: archlinux debian-trixie opensuse-leap-16-1
4304 #, no-wrap
4305 msgid "\\f[CR]ProxyClientKey=\\f[R], \\f[CR]--proxy-client-key=\\fR"
4306 msgstr ""
4307
4308 #. type: Plain text
4309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4310 #: opensuse-leap-16-1 opensuse-tumbleweed
4311 msgid ""
4312 "Configure a file containing the private key used to authenticate the client "
4313 "with the proxy. Defaults to the proxy client certificate if one is provided."
4314 msgstr ""
4315
4316 #. type: Plain text
4317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4318 #: opensuse-leap-16-1 opensuse-tumbleweed
4319 msgid ""
4320 "Currently, setting a proxy client key is only supported when \\f[B]dnf\\f[R] "
4321 "or \\f[B]dnf5\\f[R] is used to build the image.\\fR"
4322 msgstr ""
4323
4324 #. type: SS
4325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4326 #: opensuse-leap-16-1 opensuse-tumbleweed
4327 #, no-wrap
4328 msgid "[Runtime] Section (previously known as the [Host] section)"
4329 msgstr ""
4330
4331 #. type: TP
4332 #: archlinux debian-trixie opensuse-leap-16-1
4333 #, no-wrap
4334 msgid "\\f[CR]NSpawnSettings=\\f[R], \\f[CR]--settings=\\fR"
4335 msgstr ""
4336
4337 #. type: Plain text
4338 #: archlinux debian-trixie opensuse-leap-16-1
4339 msgid ""
4340 "Specifies a \\f[CR].nspawn\\f[R] settings file for \\f[B]systemd-"
4341 "nspawn\\f[R] to use in the \\f[CR]boot\\f[R] and \\f[CR]shell\\f[R] verbs, "
4342 "and to place next to the generated image file. This is useful to configure "
4343 "the \\f[B]systemd-nspawn\\f[R] environment when the image is run. If this "
4344 "setting is not used but an \\f[CR]mkosi.nspawn\\f[R] file found in the local "
4345 "directory it is automatically used for this purpose.\\fR"
4346 msgstr ""
4347
4348 #. type: TP
4349 #: archlinux debian-trixie opensuse-leap-16-1
4350 #, no-wrap
4351 msgid "\\f[CR]VirtualMachineMonitor=\\f[R], \\f[CR]--vmm=\\fR"
4352 msgstr ""
4353
4354 #. type: Plain text
4355 #: archlinux debian-trixie opensuse-leap-16-1
4356 msgid ""
4357 "Configures the virtual machine monitor to use. Takes one of "
4358 "\\f[CR]qemu\\f[R] or \\f[CR]vmspawn\\f[R]. Defaults to \\f[CR]qemu\\f[R]."
4359 "\\fR"
4360 msgstr ""
4361
4362 #. type: Plain text
4363 #: archlinux debian-trixie opensuse-leap-16-1
4364 msgid ""
4365 "When set to \\f[CR]qemu\\f[R], the image is booted with \\f[B]qemu\\f[R]. "
4366 "Most output formats can be booted in \\f[B]qemu\\f[R]. Any arguments "
4367 "specified after the verb are appended to the \\f[B]qemu\\f[R] invocation and "
4368 "are interpreted as extra \\f[B]qemu\\f[R] command line arguments.\\fR"
4369 msgstr ""
4370
4371 #. type: Plain text
4372 #: archlinux debian-trixie opensuse-leap-16-1
4373 msgid ""
4374 "When set to \\f[CR]vmspawn\\f[R], \\f[B]systemd-vmspawn\\f[R] is used to "
4375 "boot up the image, \\f[CR]vmspawn\\f[R] only supports disk and directory "
4376 "type images. Any arguments specified after the verb are appended to the "
4377 "\\f[B]systemd-vmspawn\\f[R] invocation and are interpreted as extra vmspawn "
4378 "options and extra kernel command line arguments.\\fR"
4379 msgstr ""
4380
4381 #. type: TP
4382 #: archlinux debian-trixie opensuse-leap-16-1
4383 #, no-wrap
4384 msgid "\\f[CR]Console=\\f[R], \\f[CR]--console=\\fR"
4385 msgstr ""
4386
4387 #. type: Plain text
4388 #: archlinux debian-trixie opensuse-leap-16-1
4389 msgid ""
4390 "Configures how to set up the console of the VM. Takes one of "
4391 "\\f[CR]interactive\\f[R], \\f[CR]read-only\\f[R], \\f[CR]native\\f[R], or "
4392 "\\f[CR]gui\\f[R]. Defaults to \\f[CR]interactive\\f[R]. "
4393 "\\f[CR]interactive\\f[R] provides an interactive terminal interface to the "
4394 "VM. \\f[CR]read-only\\f[R] is similar, but is strictly read-only, i.e.\\ "
4395 "does not accept any input from the user. \\f[CR]native\\f[R] also provides "
4396 "a TTY-based interface, but uses \\f[B]qemu\\f[R]\\[cq]s native "
4397 "implementation (which means the \\f[B]qemu\\f[R] monitor is available). "
4398 "\\f[CR]gui\\f[R] shows the \\f[B]qemu\\f[R] graphical UI.\\fR"
4399 msgstr ""
4400
4401 #. type: TP
4402 #: archlinux debian-trixie opensuse-leap-16-1
4403 #, no-wrap
4404 msgid "\\f[CR]CPUs=\\f[R], \\f[CR]--cpus=\\fR"
4405 msgstr ""
4406
4407 #. type: Plain text
4408 #: archlinux debian-trixie opensuse-leap-16-1
4409 msgid ""
4410 "Configures the number of CPU cores to assign to the guest when booting a "
4411 "virtual machine. Defaults to \\f[CR]2\\f[R].\\fR"
4412 msgstr ""
4413
4414 #. type: Plain text
4415 #: archlinux debian-trixie opensuse-leap-16-1
4416 msgid ""
4417 "When set to \\f[CR]0\\f[R], the number of CPUs available to the "
4418 "\\f[B]mkosi\\f[R] process will be used.\\fR"
4419 msgstr ""
4420
4421 #. type: TP
4422 #: archlinux debian-trixie opensuse-leap-16-1
4423 #, no-wrap
4424 msgid "\\f[CR]RAM=\\f[R], \\f[CR]--ram=\\fR"
4425 msgstr ""
4426
4427 #. type: Plain text
4428 #: archlinux debian-trixie opensuse-leap-16-1
4429 msgid ""
4430 "Configures the amount of RAM assigned to the guest when booting a virtual "
4431 "machine. Defaults to \\f[CR]2G\\f[R].\\fR"
4432 msgstr ""
4433
4434 #. type: TP
4435 #: archlinux
4436 #, no-wrap
4437 msgid "\\f[CR]MaxMem=\\f[R], \\f[CR]--maxmem=\\fR"
4438 msgstr ""
4439
4440 #. type: Plain text
4441 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
4442 msgid ""
4443 "Configures the maximum amount of memory the guest may deploy in total (RAM + "
4444 "hotplug memory devices). Defaults to the amount of RAM configured."
4445 msgstr ""
4446
4447 #. type: TP
4448 #: archlinux debian-trixie opensuse-leap-16-1
4449 #, no-wrap
4450 msgid "\\f[CR]KVM=\\f[R], \\f[CR]--kvm=\\fR"
4451 msgstr ""
4452
4453 #. type: Plain text
4454 #: archlinux debian-trixie opensuse-leap-16-1
4455 msgid ""
4456 "Configures whether KVM acceleration should be used when booting a virtual "
4457 "machine. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to "
4458 "\\f[CR]auto\\f[R].\\fR"
4459 msgstr ""
4460
4461 #. type: TP
4462 #: archlinux
4463 #, no-wrap
4464 msgid "\\f[CR]CXL=\\f[R], \\f[CR]--cxl=\\fR"
4465 msgstr ""
4466
4467 #. type: Plain text
4468 #: archlinux
4469 msgid ""
4470 "Configures whether CXL devices are enabled for a given machine. Only valid "
4471 "if the architecture supports cxl. Takes a boolean value. Defaults to "
4472 "\\f[CR]false\\f[R].\\fR"
4473 msgstr ""
4474
4475 #. type: TP
4476 #: archlinux
4477 #, no-wrap
4478 msgid "\\f[CR]VSock=\\f[R], \\f[CR]--vsock=\\fR"
4479 msgstr ""
4480
4481 #. type: Plain text
4482 #: archlinux debian-trixie opensuse-leap-16-1
4483 msgid ""
4484 "Configures whether to provision a vsock when booting a virtual machine. "
4485 "Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]."
4486 "\\fR"
4487 msgstr ""
4488
4489 #. type: TP
4490 #: archlinux
4491 #, no-wrap
4492 msgid "\\f[CR]VSockCID=\\f[R], \\f[CR]--vsock-cid=\\fR"
4493 msgstr ""
4494
4495 #. type: Plain text
4496 #: archlinux debian-trixie opensuse-leap-16-1
4497 msgid ""
4498 "Configures the vsock connection ID to use when booting a virtual machine. "
4499 "Takes a number in the interval \\f[CR][3, 0xFFFFFFFF)\\f[R] or "
4500 "\\f[CR]hash\\f[R] or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]. "
4501 "When set to \\f[CR]hash\\f[R], the connection ID will be derived from the "
4502 "full path to the image. When set to \\f[CR]auto\\f[R], \\f[B]mkosi\\f[R] "
4503 "will try to find a free connection ID automatically. Otherwise, the "
4504 "provided number will be used as is.\\fR"
4505 msgstr ""
4506
4507 #. type: TP
4508 #: archlinux debian-trixie opensuse-leap-16-1
4509 #, no-wrap
4510 msgid "\\f[CR]TPM=\\f[R], \\f[CR]--tpm=\\fR"
4511 msgstr ""
4512
4513 #. type: Plain text
4514 #: archlinux debian-trixie opensuse-leap-16-1
4515 msgid ""
4516 "Configure whether to use a virtual TPM when booting a virtual machine. "
4517 "Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]."
4518 "\\fR"
4519 msgstr ""
4520
4521 #. type: TP
4522 #: archlinux debian-trixie opensuse-leap-16-1
4523 #, no-wrap
4524 msgid "\\f[CR]Removable=\\f[R], \\f[CR]--removable=\\fR"
4525 msgstr ""
4526
4527 #. type: Plain text
4528 #: archlinux
4529 msgid ""
4530 "Configures whether to attach the image as a removable device when booting a "
4531 "virtual machine. Takes a boolean value. Defaults to \\f[CR]no\\f[R].\\fR"
4532 msgstr ""
4533
4534 #. type: TP
4535 #: archlinux debian-trixie opensuse-leap-16-1
4536 #, no-wrap
4537 msgid "\\f[CR]Firmware=\\f[R], \\f[CR]--firmware=\\fR"
4538 msgstr ""
4539
4540 #. type: Plain text
4541 #: archlinux
4542 msgid ""
4543 "Configures the virtual machine firmware to use. Takes one of "
4544 "\\f[CR]uefi\\f[R], \\f[CR]uefi-secure-boot\\f[R], \\f[CR]bios\\f[R], "
4545 "\\f[CR]linux\\f[R], \\f[CR]linux-noinitrd\\f[R] or \\f[CR]auto\\f[R]. "
4546 "Defaults to \\f[CR]auto\\f[R]. When set to \\f[CR]uefi\\f[R], the OVMF "
4547 "firmware without secure boot support is used. When set to \\f[CR]uefi-"
4548 "secure-boot\\f[R], the OVMF firmware with secure boot support is used. When "
4549 "set to \\f[CR]bios\\f[R], the default SeaBIOS firmware is used. When set to "
4550 "\\f[CR]linux\\f[R], direct kernel boot is used. See the \\f[CR]Linux=\\f[R] "
4551 "option for more details on which kernel image is used with direct kernel "
4552 "boot. \\f[CR]linux-noinitrd\\f[R] is identical to \\f[CR]linux\\f[R] except "
4553 "that no initrd is used. When set to \\f[CR]auto\\f[R], \\f[CR]uefi-secure-"
4554 "boot\\f[R] is used if possible and \\f[CR]linux\\f[R] otherwise.\\fR"
4555 msgstr ""
4556
4557 #. type: TP
4558 #: archlinux debian-trixie opensuse-leap-16-1
4559 #, no-wrap
4560 msgid "\\f[CR]FirmwareVariables=\\f[R], \\f[CR]--firmware-variables=\\fR"
4561 msgstr ""
4562
4563 #. type: Plain text
4564 #: archlinux
4565 msgid ""
4566 "Configures the path to the virtual machine firmware variables file to use. "
4567 "Currently, this option is only taken into account when the \\f[CR]uefi\\f[R] "
4568 "or \\f[CR]uefi-secure-boot\\f[R] firmware is used. If not specified, "
4569 "\\f[B]mkosi\\f[R] will search for the default variables file and use that "
4570 "instead.\\fR"
4571 msgstr ""
4572
4573 #. type: Plain text
4574 #: archlinux debian-trixie opensuse-leap-16-1
4575 msgid ""
4576 "When set to \\f[CR]microsoft\\f[R], a firmware variables file with the "
4577 "Microsoft secure boot certificates already enrolled will be used.\\fR"
4578 msgstr ""
4579
4580 #. type: Plain text
4581 #: archlinux debian-trixie opensuse-leap-16-1
4582 msgid ""
4583 "When set to \\f[CR]microsoft-mok\\f[R], a firmware variables file with the "
4584 "Microsoft secure boot certificates already enrolled will be extended with a "
4585 "\\f[CR]MokList\\f[R] variable containing the secure boot certificate from "
4586 "\\f[CR]SecureBootCertificate=\\f[R]. This is intended to be used together "
4587 "with shim binaries signed by the distribution and locally signed EFI "
4588 "binaries.\\fR"
4589 msgstr ""
4590
4591 #. type: Plain text
4592 #: archlinux debian-trixie opensuse-leap-16-1
4593 msgid ""
4594 "When set to \\f[CR]custom\\f[R], the secure boot certificate from "
4595 "\\f[CR]SecureBootCertificate=\\f[R] will be enrolled into the default "
4596 "firmware variables file.\\fR"
4597 msgstr ""
4598
4599 #. type: Plain text
4600 #: archlinux debian-trixie opensuse-leap-16-1
4601 msgid ""
4602 "\\f[CR]virt-fw-vars\\f[R] from the E<.UR https://gitlab.com/kraxel/virt-"
4603 "firmware> virt-firmware E<.UE > \\ project can be used to customize OVMF "
4604 "variable files.\\fR"
4605 msgstr ""
4606
4607 #. type: TP
4608 #: archlinux debian-trixie opensuse-leap-16-1
4609 #, no-wrap
4610 msgid "\\f[CR]Linux=\\f[R], \\f[CR]--linux=\\fR"
4611 msgstr ""
4612
4613 #. type: Plain text
4614 #: archlinux
4615 msgid ""
4616 "Set the kernel image to use for \\f[B]qemu\\f[R] direct kernel boot. If not "
4617 "specified, \\f[B]mkosi\\f[R] will use the kernel provided via the command "
4618 "line (\\f[CR]-kernel\\f[R] option) or the latest kernel that was installed "
4619 "into the image (or fail if no kernel was installed into the image).\\fR"
4620 msgstr ""
4621
4622 #. type: Plain text
4623 #: archlinux debian-trixie opensuse-leap-16-1
4624 msgid ""
4625 "Note that when the \\f[CR]cpio\\f[R] output format is used, direct kernel "
4626 "boot is used regardless of the configured firmware. Depending on the "
4627 "configured firmware, \\f[B]qemu\\f[R] might boot the kernel itself or using "
4628 "the configured firmware.\\fR"
4629 msgstr ""
4630
4631 #. type: Plain text
4632 #: archlinux fedora-44 fedora-rawhide
4633 msgid ""
4634 "This setting may include both the regular specifiers (see "
4635 "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded "
4636 "after config parsing has finished, instead of during config parsing, which "
4637 "are described below.\\fR"
4638 msgstr ""
4639
4640 #. type: tbl table
4641 #: archlinux
4642 #, no-wrap
4643 msgid "\\f[CR]&b\\fR"
4644 msgstr ""
4645
4646 #. type: tbl table
4647 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
4648 #, no-wrap
4649 msgid "\\f[R]The final build directory (including subdirectory)\\fR"
4650 msgstr ""
4651
4652 #. type: TP
4653 #: archlinux debian-trixie opensuse-leap-16-1
4654 #, no-wrap
4655 msgid "\\f[CR]Drives=\\f[R], \\f[CR]--drive=\\fR"
4656 msgstr ""
4657
4658 #. type: Plain text
4659 #: archlinux
4660 msgid ""
4661 "Add a drive. Takes a colon-delimited string of format "
4662 "\\f[CR]E<lt>idE<gt>:E<lt>sizeE<gt>[:E<lt>directoryE<gt>[:E<lt>optionsE<gt>[:E<lt>file-"
4663 "idE<gt>[:E<lt>flagsE<gt>]]]]\\f[R]. \\f[CR]id\\f[R] specifies the ID "
4664 "assigned to the drive. This can be used as the \\f[CR]drive=\\f[R] property "
4665 "in various \\f[B]qemu\\f[R] devices. \\f[CR]size\\f[R] specifies the size "
4666 "of the drive. This takes a size in bytes. Additionally, the suffixes "
4667 "\\f[CR]K\\f[R], \\f[CR]M\\f[R] and \\f[CR]G\\f[R] can be used to specify a "
4668 "size in kilobytes, megabytes and gigabytes respectively. "
4669 "\\f[CR]directory\\f[R] optionally specifies the directory in which to create "
4670 "the file backing the drive. If unset, the file will be created under "
4671 "\\f[CR]/var/tmp\\f[R]. \\f[CR]options\\f[R] optionally specifies extra "
4672 "comma-delimited properties which are passed verbatim to \\f[B]qemu\\f[R]\\"
4673 "[cq]s \\f[CR]-blockdev\\f[R] option. \\f[CR]file-id\\f[R] specifies the ID "
4674 "of the file backing the drive. If unset, this defaults to the drive ID. "
4675 "Drives with the same file ID will share the backing file. The directory and "
4676 "size of the file will be determined from the first drive with a given file "
4677 "ID. \\f[CR]flags\\f[R] takes a comma-separated list of drive flags which "
4678 "currently only supports \\f[CR]persist\\f[R]. \\f[CR]persist\\f[R] "
4679 "determines whether the drive will be persisted across \\f[B]qemu\\f[R] "
4680 "invocations. The files backing the drives will be created with the schema "
4681 "\\f[CR]/E<lt>directoryE<gt>/mkosi-drive-E<lt>machine-or-image-nameE<gt>-"
4682 "E<lt>file-idE<gt>\\f[R]. You can skip values by setting them to the empty "
4683 "string, specifying e.g.\\ \\f[CR]myfs:1G::::persist\\f[R] will create a "
4684 "persistent drive under \\f[CR]/var/tmp/mkosi-drive-main-myfs\\f[R].\\fR"
4685 msgstr ""
4686
4687 #. type: Plain text
4688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4689 #: opensuse-leap-16-1 opensuse-tumbleweed
4690 msgid "\\f[B]Example usage:\\fR"
4691 msgstr ""
4692
4693 #. type: Plain text
4694 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
4695 #: opensuse-tumbleweed
4696 #, no-wrap
4697 msgid ""
4698 "\\f[B][Runtime]\\f[R]\n"
4699 "Drives=btrfs:10G\n"
4700 " ext4:20G\n"
4701 "QemuArgs=-device nvme,serial=btrfs,drive=btrfs\n"
4702 " -device nvme,serial=ext4,drive=ext4\\fR\n"
4703 msgstr ""
4704
4705 #. type: TP
4706 #: archlinux debian-trixie opensuse-leap-16-1
4707 #, no-wrap
4708 msgid "\\f[CR]QemuArgs=\\fR"
4709 msgstr ""
4710
4711 #. type: Plain text
4712 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4713 #: opensuse-leap-16-1 opensuse-tumbleweed
4714 msgid ""
4715 "Space-delimited list of additional arguments to pass when invoking "
4716 "\\f[B]qemu\\f[R].\\fR"
4717 msgstr ""
4718
4719 #. type: TP
4720 #: archlinux
4721 #, no-wrap
4722 msgid "\\f[CR]Ephemeral=\\f[R], \\f[CR]--ephemeral=\\fR"
4723 msgstr ""
4724
4725 #. type: Plain text
4726 #: archlinux debian-trixie opensuse-leap-16-1
4727 msgid ""
4728 "When used with the \\f[CR]shell\\f[R], \\f[CR]boot\\f[R], or \\f[CR]vm\\f[R] "
4729 "verbs, this option runs the specified verb on a temporary snapshot of the "
4730 "output image that is removed immediately when the container terminates. "
4731 "Taking the temporary snapshot is more efficient on file systems that support "
4732 "reflinks natively (\\f[B]btrfs\\f[R] or \\f[B]xfs\\f[R]) than on more "
4733 "traditional file systems that do not (ext4).\\fR"
4734 msgstr ""
4735
4736 #. type: TP
4737 #: archlinux debian-trixie opensuse-leap-16-1
4738 #, no-wrap
4739 msgid "\\f[CR]Credentials=\\f[R], \\f[CR]--credential=\\fR"
4740 msgstr ""
4741
4742 #. type: Plain text
4743 #: archlinux debian-trixie opensuse-leap-16-1
4744 msgid ""
4745 "Set credentials to be passed to \\f[B]systemd-nspawn\\f[R] or the virtual "
4746 "machine respectively when \\f[CR]mkosi shell/boot\\f[R] or \\f[CR]mkosi "
4747 "vm\\f[R] are used. This option takes a space separated list of values which "
4748 "can be either key=value pairs or paths. If a path is provided, if it is a "
4749 "file, the credential name will be the name of the file. If the file is "
4750 "executable, the credential value will be the output of executing the file. "
4751 "Otherwise, the credential value will be the contents of the file. If the "
4752 "path is a directory, the same logic applies to each file in the directory."
4753 "\\fR"
4754 msgstr ""
4755
4756 #. type: Plain text
4757 #: archlinux debian-trixie opensuse-leap-16-1
4758 msgid ""
4759 "Note that values will only be treated as paths if they do not contain the "
4760 "delimiter (\\f[CR]=\\f[R]).\\fR"
4761 msgstr ""
4762
4763 #. type: TP
4764 #: archlinux debian-trixie opensuse-leap-16-1
4765 #, no-wrap
4766 msgid "\\f[CR]KernelCommandLineExtra=\\f[R], \\f[CR]--kernel-command-line-extra=\\fR"
4767 msgstr ""
4768
4769 #. type: Plain text
4770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
4771 #: opensuse-leap-16-1 opensuse-tumbleweed
4772 msgid ""
4773 "Set extra kernel command line entries that are appended to the kernel "
4774 "command line at runtime when booting the image. When booting in a "
4775 "container, these are passed as extra arguments to systemd. When booting in "
4776 "a VM, these are appended to the kernel command line via the SMBIOS "
4777 "io.systemd.stub.kernel-cmdline-extra OEM string. This will only be picked "
4778 "up by \\f[B]systemd-boot\\f[R] and \\f[B]systemd-stub\\f[R] versions newer "
4779 "than or equal to v254.\\fR"
4780 msgstr ""
4781
4782 #. type: TP
4783 #: archlinux debian-trixie opensuse-leap-16-1
4784 #, no-wrap
4785 msgid "\\f[CR]RuntimeTrees=\\f[R], \\f[CR]--runtime-tree=\\fR"
4786 msgstr ""
4787
4788 #. type: Plain text
4789 #: archlinux debian-trixie opensuse-leap-16-1
4790 msgid ""
4791 "Takes a colon-separated pair of paths. The first path refers to a directory "
4792 "to mount into any machine (container or VM) started by mkosi. The second "
4793 "path refers to the target directory inside the machine. If the second path "
4794 "is not provided, the directory is mounted at \\f[CR]/root/src\\f[R] in the "
4795 "machine. If the second path is relative, it is interpreted relative to "
4796 "\\f[CR]/root/src\\f[R] in the machine.\\fR"
4797 msgstr ""
4798
4799 #. type: Plain text
4800 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
4801 msgid ""
4802 "For each mounted directory, the uid and gid of the user running mkosi are "
4803 "mapped to the root user in the machine. This means that all the files and "
4804 "directories will appear as if they\\[cq]re owned by root in the machine, and "
4805 "all new files and directories created by root in the machine in these "
4806 "directories will be owned by the user running mkosi on the host."
4807 msgstr ""
4808
4809 #. type: Plain text
4810 #: archlinux debian-trixie opensuse-leap-16-1
4811 msgid ""
4812 "Note that when using \\f[CR]mkosi vm\\f[R] with this feature systemd v254 or "
4813 "newer has to be installed in the image.\\fR"
4814 msgstr ""
4815
4816 #. type: TP
4817 #: archlinux debian-trixie opensuse-leap-16-1
4818 #, no-wrap
4819 msgid "\\f[CR]RuntimeSize=\\f[R], \\f[CR]--runtime-size=\\fR"
4820 msgstr ""
4821
4822 #. type: Plain text
4823 #: archlinux debian-trixie opensuse-leap-16-1
4824 msgid ""
4825 "If specified, disk images are grown to the specified size when they\\[cq]re "
4826 "booted with \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R]. Takes a size "
4827 "in bytes. Additionally, the suffixes \\f[CR]K\\f[R], \\f[CR]M\\f[R] and "
4828 "\\f[CR]G\\f[R] can be used to specify a size in kilobytes, megabytes and "
4829 "gigabytes respectively.\\fR"
4830 msgstr ""
4831
4832 #. type: TP
4833 #: archlinux debian-trixie opensuse-leap-16-1
4834 #, no-wrap
4835 msgid "\\f[CR]RuntimeNetwork=\\f[R], \\f[CR]--runtime-network=\\fR"
4836 msgstr ""
4837
4838 #. type: Plain text
4839 #: archlinux debian-trixie opensuse-leap-16-1
4840 msgid ""
4841 "Takes one of \\f[CR]user\\f[R], \\f[CR]interface\\f[R] or "
4842 "\\f[CR]none\\f[R]. Defaults to \\f[CR]user\\f[R]. Specifies the networking "
4843 "to set up when booting the image. \\f[CR]user\\f[R] sets up usermode "
4844 "networking. \\f[CR]interface\\f[R] sets up a virtual network connection "
4845 "between the host and the image. This translates to a veth interface for "
4846 "\\f[CR]mkosi shell\\f[R] and \\f[CR]mkosi boot\\f[R] and a tap interface for "
4847 "\\f[CR]mkosi vm\\f[R] and \\f[CR]mkosi vmspawn\\f[R].\\fR"
4848 msgstr ""
4849
4850 #. type: Plain text
4851 #: archlinux debian-trixie opensuse-leap-16-1
4852 msgid ""
4853 "Note that when using \\f[CR]interface\\f[R], \\f[B]mkosi\\f[R] does not "
4854 "automatically configure the host interface. It is expected that a recent "
4855 "version of \\f[B]systemd-networkd\\f[R] is running on the host which will "
4856 "automatically configure the host interface of the link.\\fR"
4857 msgstr ""
4858
4859 #. type: TP
4860 #: archlinux debian-trixie opensuse-leap-16-1
4861 #, no-wrap
4862 msgid "\\f[CR]RuntimeBuildSources=\\f[R], \\f[CR]--runtime-build-sources=\\fR"
4863 msgstr ""
4864
4865 #. type: Plain text
4866 #: archlinux debian-trixie opensuse-leap-16-1
4867 msgid ""
4868 "Mount the build sources configured with \\f[CR]BuildSources=\\f[R] and the "
4869 "build directory (if one is configured) to the same locations in \\f[CR]/"
4870 "work\\f[R] that they were mounted to when running the build script when "
4871 "using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R].\\fR"
4872 msgstr ""
4873
4874 #. type: TP
4875 #: archlinux
4876 #, no-wrap
4877 msgid "\\f[CR]BindUser=\\f[R], \\f[CR]--bind-user=\\fR"
4878 msgstr ""
4879
4880 #. type: Plain text
4881 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
4882 msgid ""
4883 "Bind the home directory of the current user into the container/vm. Takes a "
4884 "boolean. Disabled by default."
4885 msgstr ""
4886
4887 #. type: TP
4888 #: archlinux debian-trixie opensuse-leap-16-1
4889 #, no-wrap
4890 msgid "\\f[CR]UnitProperties=\\f[R], \\f[CR]--unit-property=\\fR"
4891 msgstr ""
4892
4893 #. type: Plain text
4894 #: archlinux
4895 msgid ""
4896 "Configure systemd unit properties to add to the systemd scopes allocated "
4897 "when using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R]. These are "
4898 "passed directly to the \\f[CR]--property=\\f[R] options of \\f[B]systemd-"
4899 "nspawn\\f[R] and \\f[B]systemd-run\\f[R] respectively.\\fR"
4900 msgstr ""
4901
4902 #. type: TP
4903 #: archlinux debian-trixie opensuse-leap-16-1
4904 #, no-wrap
4905 msgid "\\f[CR]SshKey=\\f[R], \\f[CR]--ssh-key=\\fR"
4906 msgstr ""
4907
4908 #. type: Plain text
4909 #: archlinux
4910 msgid ""
4911 "Path to the X.509 private key in PEM format to use to connect to a virtual "
4912 "machine started with \\f[CR]mkosi vm\\f[R] and built with the "
4913 "\\f[CR]Ssh=\\f[R] option enabled (or with \\f[B]systemd-ssh-generator\\f[R] "
4914 "installed) via the \\f[CR]mkosi ssh\\f[R] command. If not configured and "
4915 "\\f[CR]mkosi.key\\f[R] exists in the working directory, it will "
4916 "automatically be used for this purpose. Run \\f[CR]mkosi genkey\\f[R] to "
4917 "automatically generate a key in \\f[CR]mkosi.key\\f[R].\\fR"
4918 msgstr ""
4919
4920 #. type: TP
4921 #: archlinux debian-trixie opensuse-leap-16-1
4922 #, no-wrap
4923 msgid "\\f[CR]SshCertificate=\\f[R], \\f[CR]--ssh-certificate=\\fR"
4924 msgstr ""
4925
4926 #. type: Plain text
4927 #: archlinux debian-trixie opensuse-leap-16-1
4928 msgid ""
4929 "Path to the X.509 certificate in PEM format to provision as the SSH public "
4930 "key in virtual machines started with \\f[CR]mkosi vm\\f[R]. If not "
4931 "configured and \\f[CR]mkosi.crt\\f[R] exists in the working directory, it "
4932 "will automatically be used for this purpose. Run \\f[CR]mkosi genkey\\f[R] "
4933 "to automatically generate a certificate in \\f[CR]mkosi.crt\\f[R].\\fR"
4934 msgstr ""
4935
4936 #. type: TP
4937 #: archlinux debian-trixie opensuse-leap-16-1
4938 #, no-wrap
4939 msgid "\\f[CR]Machine=\\f[R], \\f[CR]--machine=\\fR"
4940 msgstr ""
4941
4942 #. type: Plain text
4943 #: archlinux debian-trixie opensuse-leap-16-1
4944 msgid ""
4945 "Specify the machine name to use when booting the image. Can also be used to "
4946 "refer to a specific image when SSH-ing into an image (e.g. \\f[CR]mkosi --"
4947 "image=myimage ssh\\f[R]).\\fR"
4948 msgstr ""
4949
4950 #. type: Plain text
4951 #: archlinux debian-trixie opensuse-leap-16-1
4952 msgid ""
4953 "Note that \\f[CR]Ephemeral=\\f[R] has to be enabled to start multiple "
4954 "instances of the same image.\\fR"
4955 msgstr ""
4956
4957 #. type: TP
4958 #: archlinux debian-trixie opensuse-leap-16-1
4959 #, no-wrap
4960 msgid "\\f[CR]Register=\\f[R], \\f[CR]--register=\\fR"
4961 msgstr ""
4962
4963 #. type: Plain text
4964 #: archlinux debian-trixie opensuse-leap-16-1
4965 msgid ""
4966 "Takes a boolean value or \\f[CR]auto\\f[R]. Specifies whether to register "
4967 "the vm/container with systemd-machined. If enabled, mkosi will fail if it "
4968 "can\\[cq]t register the vm/container with systemd-machined. If disabled, "
4969 "mkosi will not register the vm/container with systemd-machined. If "
4970 "\\f[CR]auto\\f[R], mkosi will register the vm/container with systemd-"
4971 "machined if it is available. Defaults to \\f[CR]auto\\f[R].\\fR"
4972 msgstr ""
4973
4974 #. type: TP
4975 #: archlinux debian-trixie opensuse-leap-16-1
4976 #, no-wrap
4977 msgid "\\f[CR]ForwardJournal=\\f[R], \\f[CR]--forward-journal=\\fR"
4978 msgstr ""
4979
4980 #. type: Plain text
4981 #: archlinux debian-trixie opensuse-leap-16-1
4982 msgid ""
4983 "Specify the path to which journal logs from containers and virtual machines "
4984 "should be forwarded. If the path has the \\f[CR].journal\\f[R] extension, "
4985 "it is interpreted as a file to which the journal should be written. "
4986 "Otherwise, the path is interpreted as a directory to which the journal "
4987 "should be written.\\fR"
4988 msgstr ""
4989
4990 #. type: Plain text
4991 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
4992 msgid ""
4993 "Note that systemd v256 or newer is required in the virtual machine for log "
4994 "forwarding to work."
4995 msgstr ""
4996
4997 #. type: Plain text
4998 #: archlinux debian-trixie opensuse-leap-16-1
4999 msgid ""
5000 "Note that if a path with the \\f[CR].journal\\f[R] extension is given, the "
5001 "journal size is limited to \\f[CR]4G\\f[R]. Configure an output directory "
5002 "instead of file if your workload produces more than \\f[CR]4G\\f[R] worth of "
5003 "journal data.\\fR"
5004 msgstr ""
5005
5006 #. type: TP
5007 #: archlinux
5008 #, no-wrap
5009 msgid "\\f[CR]StorageTargetMode=\\f[R], \\f[CR]--storage-target-mode=\\fR"
5010 msgstr ""
5011
5012 #. type: Plain text
5013 #: archlinux
5014 msgid ""
5015 "Specifies whether the \\f[CR]serve\\f[R] verb should start \\f[B]systemd-"
5016 "storagetm\\f[R] to serve disk images over NVME-TCP. Takes a boolean value "
5017 "or \\f[CR]auto\\f[R]. If enabled, systemd-storagetm is always started and "
5018 "mkosi will fail if it cannot start systemd-storagetm. If disabled, systemd-"
5019 "storagetm is never started. If \\f[CR]auto\\f[R], systemd-storagetm will be "
5020 "started if a disk image is being built, the systemd-storagetm binary is "
5021 "found and \\f[CR]mkosi serve\\f[R] is being invoked as the root user.\\fR"
5022 msgstr ""
5023
5024 #. type: TP
5025 #: archlinux debian-trixie opensuse-leap-16-1
5026 #, no-wrap
5027 msgid "\\f[CR]SysupdateDirectory=\\f[R], \\f[CR]--sysupdate-directory=\\fR"
5028 msgstr ""
5029
5030 #. type: Plain text
5031 #: archlinux debian-trixie opensuse-leap-16-1
5032 msgid ""
5033 "Path to a directory containing systemd-sysupdate transfer definition files "
5034 "that are used by \\f[CR]mkosi sysupdate\\f[R]. If \\f[CR]mkosi.sysupdate/"
5035 "\\f[R] exists in the local directory, it will be used for this purpose as "
5036 "well.\\fR"
5037 msgstr ""
5038
5039 #. type: Plain text
5040 #: archlinux debian-trixie opensuse-leap-16-1
5041 msgid ""
5042 "Note that \\f[CR]mkosi sysupdate\\f[R] invokes \\f[CR]systemd-"
5043 "sysupdate\\f[R] with \\f[CR]--transfer-source=\\f[R] set to the "
5044 "\\f[B]mkosi\\f[R] output directory. To make use of this in a transfer "
5045 "definition file, set \\f[CR]PathRelativeTo=explicit\\f[R] to have the "
5046 "\\f[CR]Path=\\f[R] setting for the transfer source be interpreted relative "
5047 "to the \\f[B]mkosi\\f[R] output directory. Generally, configuring "
5048 "\\f[CR]PathRelativeTo=explicit\\f[R] and \\f[CR]Path=/\\f[R] for the "
5049 "transfer source is sufficient for the match pattern to be interpreted "
5050 "relative to the \\f[B]mkosi\\f[R] output directory.\\fR"
5051 msgstr ""
5052
5053 #. type: SS
5054 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5055 #: opensuse-leap-16-1 opensuse-tumbleweed
5056 #, no-wrap
5057 msgid "[Match] Section"
5058 msgstr ""
5059
5060 #. type: Plain text
5061 #: archlinux debian-trixie opensuse-leap-16-1
5062 #, no-wrap
5063 msgid "\\f[CR]Profiles=\\fR"
5064 msgstr ""
5065
5066 #. type: Plain text
5067 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5068 #: opensuse-leap-16-1 opensuse-tumbleweed
5069 msgid "Matches against the configured profiles."
5070 msgstr ""
5071
5072 #. type: Plain text
5073 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5074 #: opensuse-leap-16-1 opensuse-tumbleweed
5075 msgid "Matches against the configured distribution."
5076 msgstr ""
5077
5078 #. type: Plain text
5079 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5080 #: opensuse-leap-16-1 opensuse-tumbleweed
5081 msgid ""
5082 "Matches against the configured distribution release. If this condition is "
5083 "used and no distribution has been explicitly configured yet, the host "
5084 "distribution and release are used."
5085 msgstr ""
5086
5087 #. type: Plain text
5088 #: archlinux
5089 msgid ""
5090 "Matches against the configured architecture. If this condition is used and "
5091 "no architecture has been explicitly configured yet, the host architecture is "
5092 "used. \\f[CR]Architecture=uefi\\f[R] can be used to match against any "
5093 "architecture that supports UEFI.\\fR"
5094 msgstr ""
5095
5096 #. type: Plain text
5097 #: archlinux debian-trixie opensuse-leap-16-1
5098 #, no-wrap
5099 msgid "\\f[CR]Repositories=\\fR"
5100 msgstr ""
5101
5102 #. type: Plain text
5103 #: archlinux debian-trixie opensuse-leap-16-1
5104 msgid ""
5105 "Matches against repositories enabled with the \\f[CR]Repositories=\\f[R] "
5106 "setting. Takes a single repository name.\\fR"
5107 msgstr ""
5108
5109 #. type: tbl table
5110 #: archlinux debian-trixie opensuse-leap-16-1
5111 #, no-wrap
5112 msgid "\\f[CR]PathExists=\\fR"
5113 msgstr ""
5114
5115 #. type: Plain text
5116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5117 #: opensuse-leap-16-1 opensuse-tumbleweed
5118 msgid ""
5119 "This condition is satisfied if the given path exists. Relative paths are "
5120 "interpreted relative to the parent directory of the config file that the "
5121 "condition is read from."
5122 msgstr ""
5123
5124 #. type: Plain text
5125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5126 #: opensuse-leap-16-1 opensuse-tumbleweed
5127 msgid ""
5128 "Matches against the configured image ID, supporting globs. If this "
5129 "condition is used and no image ID has been explicitly configured yet, this "
5130 "condition fails."
5131 msgstr ""
5132
5133 #. type: Plain text
5134 #: archlinux debian-trixie opensuse-leap-16-1
5135 msgid ""
5136 "Matches against the configured image version. Image versions can be "
5137 "prepended by the operators \\f[CR]==\\f[R], \\f[CR]!=\\f[R], "
5138 "\\f[CR]E<gt>=\\f[R], \\f[CR]E<lt>=\\f[R], \\f[CR]E<lt>\\f[R], "
5139 "\\f[CR]E<gt>\\f[R] for rich version comparisons according to the UAPI group "
5140 "version format specification. If no operator is prepended, the equality "
5141 "operator is assumed by default. If this condition is used and no image "
5142 "version has been explicitly configured yet, this condition fails.\\fR"
5143 msgstr ""
5144
5145 #. type: tbl table
5146 #: archlinux debian-trixie opensuse-leap-16-1
5147 #, no-wrap
5148 msgid "\\f[CR]Bootable=\\fR"
5149 msgstr ""
5150
5151 #. type: Plain text
5152 #: archlinux debian-trixie opensuse-leap-16-1
5153 msgid ""
5154 "Matches against the configured value for the \\f[CR]Bootable=\\f[R] "
5155 "feature. Takes a boolean value or \\f[CR]auto\\f[R].\\fR"
5156 msgstr ""
5157
5158 #. type: tbl table
5159 #: archlinux debian-trixie opensuse-leap-16-1
5160 #, no-wrap
5161 msgid "\\f[CR]Format=\\fR"
5162 msgstr ""
5163
5164 #. type: Plain text
5165 #: archlinux debian-trixie opensuse-leap-16-1
5166 msgid ""
5167 "Matches against the configured value for the \\f[CR]Format=\\f[R] option. "
5168 "Takes an output format (see the \\f[CR]Format=\\f[R] option).\\fR"
5169 msgstr ""
5170
5171 #. type: tbl table
5172 #: archlinux debian-trixie opensuse-leap-16-1
5173 #, no-wrap
5174 msgid "\\f[CR]SystemdVersion=\\fR"
5175 msgstr ""
5176
5177 #. type: Plain text
5178 #: archlinux debian-trixie opensuse-leap-16-1
5179 msgid ""
5180 "Matches against the systemd version on the host (as reported by "
5181 "\\f[CR]systemctl --version\\f[R]). Values can be prepended by the operators "
5182 "\\f[CR]==\\f[R], \\f[CR]!=\\f[R], \\f[CR]E<gt>=\\f[R], \\f[CR]E<lt>=\\f[R], "
5183 "\\f[CR]E<lt>\\f[R], \\f[CR]E<gt>\\f[R] for rich version comparisons "
5184 "according to the UAPI group version format specification. If no operator is "
5185 "prepended, the equality operator is assumed by default.\\fR"
5186 msgstr ""
5187
5188 #. type: Plain text
5189 #: archlinux debian-trixie opensuse-leap-16-1
5190 #, no-wrap
5191 msgid "\\f[CR]BuildSources=\\fR"
5192 msgstr ""
5193
5194 #. type: Plain text
5195 #: archlinux debian-trixie opensuse-leap-16-1
5196 msgid ""
5197 "Takes a build source target path (see \\f[CR]BuildSources=\\f[R]). This "
5198 "match is satisfied if any of the configured build sources uses this target "
5199 "path. For example, if we have a \\f[CR]mkosi.conf\\f[R] file containing:\\fR"
5200 msgstr ""
5201
5202 #. type: Plain text
5203 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
5204 #: opensuse-tumbleweed
5205 #, no-wrap
5206 msgid ""
5207 "\\f[B][Build]\\f[R]\n"
5208 "BuildSources=../abc/qed:kernel\\fR\n"
5209 msgstr ""
5210
5211 #. type: Plain text
5212 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
5213 msgid "and a drop-in containing:"
5214 msgstr ""
5215
5216 #. type: Plain text
5217 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
5218 #: opensuse-tumbleweed
5219 #, no-wrap
5220 msgid ""
5221 "\\f[B][Match]\\f[R]\n"
5222 "BuildSources=kernel\\fR\n"
5223 msgstr ""
5224
5225 #. type: Plain text
5226 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
5227 msgid "The drop-in will be included."
5228 msgstr ""
5229
5230 #. type: Plain text
5231 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
5232 msgid ""
5233 "Any absolute paths passed to this setting are interpreted relative to the "
5234 "current working directory."
5235 msgstr ""
5236
5237 #. type: tbl table
5238 #: archlinux debian-trixie opensuse-leap-16-1
5239 #, no-wrap
5240 msgid "\\f[CR]HostArchitecture=\\fR"
5241 msgstr ""
5242
5243 #. type: Plain text
5244 #: archlinux debian-trixie opensuse-leap-16-1
5245 msgid ""
5246 "Matches against the host\\[cq]s native architecture. See the "
5247 "\\f[CR]Architecture=\\f[R] setting for a list of possible values.\\fR"
5248 msgstr ""
5249
5250 #. #-#-#-#-# archlinux: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-#
5251 #. type: Plain text
5252 #. #-#-#-#-# debian-trixie: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-#
5253 #. type: tbl table
5254 #. #-#-#-#-# opensuse-leap-16-1: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-#
5255 #. type: tbl table
5256 #: archlinux debian-trixie opensuse-leap-16-1
5257 #, no-wrap
5258 msgid "\\f[CR]ToolsTreeDistribution=\\fR"
5259 msgstr ""
5260
5261 #. type: Plain text
5262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5263 #: opensuse-leap-16-1 opensuse-tumbleweed
5264 msgid "Matches against the configured tools tree distribution."
5265 msgstr ""
5266
5267 #. #-#-#-#-# archlinux: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-#
5268 #. type: Plain text
5269 #. #-#-#-#-# debian-trixie: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-#
5270 #. type: tbl table
5271 #. #-#-#-#-# opensuse-leap-16-1: mkosi.1.pot (PACKAGE VERSION) #-#-#-#-#
5272 #. type: tbl table
5273 #: archlinux debian-trixie opensuse-leap-16-1
5274 #, no-wrap
5275 msgid "\\f[CR]ToolsTreeRelease=\\fR"
5276 msgstr ""
5277
5278 #. type: Plain text
5279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5280 #: opensuse-leap-16-1 opensuse-tumbleweed
5281 msgid "Matches against the configured tools tree release."
5282 msgstr ""
5283
5284 #. type: tbl table
5285 #: archlinux debian-trixie opensuse-leap-16-1
5286 #, no-wrap
5287 msgid "\\f[CR]Environment=\\fR"
5288 msgstr ""
5289
5290 #. type: Plain text
5291 #: archlinux debian-trixie opensuse-leap-16-1
5292 msgid ""
5293 "Matches against a specific key/value pair configured with "
5294 "\\f[CR]Environment=\\f[R]. If no value is provided, check if the given key "
5295 "is in the environment regardless of which value it has.\\fR"
5296 msgstr ""
5297
5298 #. type: tbl table
5299 #: archlinux
5300 #, no-wrap
5301 msgid "\\f[CR]Image=\\fR"
5302 msgstr ""
5303
5304 #. type: Plain text
5305 #: archlinux
5306 msgid ""
5307 "Match against the current (sub)image name. The name of a subimage is its "
5308 "name in \\f[CR]mkosi.images/\\f[R] (without any \\f[CR].conf\\f[R] suffix). "
5309 "The name of the top level image is \\f[CR]main\\f[R]. The main use case is "
5310 "to allow having a shared config that can be included by both the top level "
5311 "image and subimages by gating the universal settings behind a "
5312 "\\f[CR]Image=main\\f[R] match.\\fR"
5313 msgstr ""
5314
5315 #. type: Plain text
5316 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5317 #: opensuse-leap-16-1 opensuse-tumbleweed
5318 msgid ""
5319 "This table shows which matchers support globs, rich comparisons and the "
5320 "default value that is matched against if no value has been configured at the "
5321 "time the config file is read:"
5322 msgstr ""
5323
5324 #. type: tbl table
5325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5326 #: opensuse-leap-16-1 opensuse-tumbleweed
5327 #, no-wrap
5328 msgid "Matcher"
5329 msgstr ""
5330
5331 #. type: tbl table
5332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5333 #: opensuse-leap-16-1 opensuse-tumbleweed
5334 #, no-wrap
5335 msgid "Globs"
5336 msgstr ""
5337
5338 #. type: tbl table
5339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5340 #: opensuse-leap-16-1 opensuse-tumbleweed
5341 #, no-wrap
5342 msgid "Rich Comparisons"
5343 msgstr ""
5344
5345 #. type: tbl table
5346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5347 #: opensuse-leap-16-1 opensuse-tumbleweed
5348 #, no-wrap
5349 msgid "Default"
5350 msgstr ""
5351
5352 #. type: tbl table
5353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5354 #: opensuse-leap-16-1 opensuse-tumbleweed
5355 #, no-wrap
5356 msgid "\\f[R]no\\fR"
5357 msgstr ""
5358
5359 #. type: tbl table
5360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5361 #: opensuse-leap-16-1 opensuse-tumbleweed
5362 #, no-wrap
5363 msgid "\\f[R]match fails\\fR"
5364 msgstr ""
5365
5366 #. type: tbl table
5367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5368 #: opensuse-leap-16-1 opensuse-tumbleweed
5369 #, no-wrap
5370 msgid "\\f[R]match host distribution\\fR"
5371 msgstr ""
5372
5373 #. type: tbl table
5374 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5375 #: opensuse-leap-16-1 opensuse-tumbleweed
5376 #, no-wrap
5377 msgid "\\f[R]match host release\\fR"
5378 msgstr ""
5379
5380 #. type: tbl table
5381 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5382 #: opensuse-leap-16-1 opensuse-tumbleweed
5383 #, no-wrap
5384 msgid "\\f[R]match host architecture\\fR"
5385 msgstr ""
5386
5387 #. type: tbl table
5388 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5389 #: opensuse-leap-16-1 opensuse-tumbleweed
5390 #, no-wrap
5391 msgid "\\f[R]n/a\\fR"
5392 msgstr ""
5393
5394 #. type: tbl table
5395 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5396 #: opensuse-leap-16-1 opensuse-tumbleweed
5397 #, no-wrap
5398 msgid "\\f[R]yes\\fR"
5399 msgstr ""
5400
5401 #. type: tbl table
5402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5403 #: opensuse-leap-16-1 opensuse-tumbleweed
5404 #, no-wrap
5405 msgid "\\f[R]match auto feature\\fR"
5406 msgstr ""
5407
5408 #. type: tbl table
5409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5410 #: opensuse-leap-16-1 opensuse-tumbleweed
5411 #, no-wrap
5412 msgid "\\f[R]match default format\\fR"
5413 msgstr ""
5414
5415 #. type: tbl table
5416 #: archlinux debian-trixie opensuse-leap-16-1
5417 #, no-wrap
5418 msgid ""
5419 "\\f[R]match the fallback tools tree distribution (see\n"
5420 "\\f[CR]ToolsTreeDistribution=\\f[R] in \\f[CR][Build]\\f[R])\\fR"
5421 msgstr ""
5422
5423 #. type: tbl table
5424 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5425 #: opensuse-leap-16-1 opensuse-tumbleweed
5426 #, no-wrap
5427 msgid "\\f[R]match default tools tree release\\fR"
5428 msgstr ""
5429
5430 #. type: SS
5431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5432 #: opensuse-leap-16-1 opensuse-tumbleweed
5433 #, no-wrap
5434 msgid "[Include]"
5435 msgstr ""
5436
5437 #. type: TP
5438 #: archlinux debian-trixie opensuse-leap-16-1
5439 #, no-wrap
5440 msgid "\\f[CR]Include=\\f[R], \\f[CR]--include=\\f[R], \\f[CR]-I\\fR"
5441 msgstr ""
5442
5443 #. type: Plain text
5444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5445 #: opensuse-leap-16-1 opensuse-tumbleweed
5446 msgid ""
5447 "Include extra configuration from the given file or directory. The extra "
5448 "configuration is included immediately after parsing the setting, except when "
5449 "used on the command line, in which case the extra configuration is included "
5450 "after parsing all command line arguments."
5451 msgstr ""
5452
5453 #. type: Plain text
5454 #: archlinux debian-trixie opensuse-leap-16-1
5455 msgid ""
5456 "Note that each path containing extra configuration is only parsed once, even "
5457 "if included more than once with \\f[CR]Include=\\f[R].\\fR"
5458 msgstr ""
5459
5460 #. type: Plain text
5461 #: archlinux
5462 msgid ""
5463 "The builtin configs for the \\f[B]mkosi\\f[R] default initrd, default tools "
5464 "tree, default virtual machine image and default UKI addon can be included by "
5465 "including the literal value \\f[CR]mkosi-initrd\\f[R], \\f[CR]mkosi-"
5466 "tools\\f[R], \\f[CR]mkosi-vm\\f[R] or \\f[CR]mkosi-addon\\f[R] respectively."
5467 "\\fR"
5468 msgstr ""
5469
5470 #. type: Plain text
5471 #: archlinux debian-trixie opensuse-leap-16-1
5472 msgid ""
5473 "Note: Include names starting with either of the literals \\f[CR]mkosi-\\f[R] "
5474 "or \\f[CR]contrib-\\f[R] are reserved for use by \\f[B]mkosi\\f[R] itself."
5475 "\\fR"
5476 msgstr ""
5477
5478 #. type: SS
5479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5480 #: opensuse-leap-16-1 opensuse-tumbleweed
5481 #, no-wrap
5482 msgid "[Config] Section"
5483 msgstr ""
5484
5485 #. type: TP
5486 #: archlinux debian-trixie opensuse-leap-16-1
5487 #, no-wrap
5488 msgid "\\f[CR]Profiles=\\f[R], \\f[CR]--profile=\\fR"
5489 msgstr ""
5490
5491 #. type: Plain text
5492 #: archlinux debian-trixie opensuse-leap-16-1
5493 msgid ""
5494 "Select the given profiles. A profile is a configuration file or directory "
5495 "in the \\f[CR]mkosi.profiles/\\f[R] directory. The configuration files and "
5496 "directories of each profile are included after parsing the "
5497 "\\f[CR]mkosi.conf.d/*.conf\\f[R] drop in configuration.\\fR"
5498 msgstr ""
5499
5500 #. type: TP
5501 #: archlinux debian-trixie opensuse-leap-16-1
5502 #, no-wrap
5503 msgid "\\f[CR]Dependencies=\\f[R], \\f[CR]--dependency=\\fR"
5504 msgstr ""
5505
5506 #. type: Plain text
5507 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5508 #: opensuse-leap-16-1 opensuse-tumbleweed
5509 msgid ""
5510 "The images that this image depends on specified as a comma-separated list. "
5511 "All images configured in this option will be built before this image."
5512 msgstr ""
5513
5514 #. type: Plain text
5515 #: archlinux fedora-44 fedora-rawhide
5516 msgid ""
5517 "When this setting is specified for the \\[lq]main\\[rq] image, it specifies "
5518 "which subimages should be built. See the \\f[B]BUILDING MULTIPLE "
5519 "IMAGES\\f[R] section for more information.\\fR"
5520 msgstr ""
5521
5522 #. type: TP
5523 #: archlinux debian-trixie opensuse-leap-16-1
5524 #, no-wrap
5525 msgid "\\f[CR]MinimumVersion=\\f[R], \\f[CR]--minimum-version=\\fR"
5526 msgstr ""
5527
5528 #. type: Plain text
5529 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5530 #: opensuse-leap-16-1 opensuse-tumbleweed
5531 msgid ""
5532 "The minimum \\f[B]mkosi\\f[R] version required to build this configuration. "
5533 "If specified multiple times, the highest specified version is used.\\fR"
5534 msgstr ""
5535
5536 #. type: Plain text
5537 #: archlinux
5538 msgid ""
5539 "The minimum version can also be specified as a git commit hash when prefixed "
5540 "with \\f[CR]commit:\\f[R], in which case mkosi must be executed from a git "
5541 "checkout and the specified git commit hash must be an ancestor of the "
5542 "currently checked out git commit in the repository that mkosi is being "
5543 "executed from.\\fR"
5544 msgstr ""
5545
5546 #. type: TP
5547 #: archlinux debian-trixie opensuse-leap-16-1
5548 #, no-wrap
5549 msgid "\\f[CR]ConfigureScripts=\\f[R], \\f[CR]--configure-script=\\fR"
5550 msgstr ""
5551
5552 #. type: Plain text
5553 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
5554 msgid ""
5555 "Takes a comma-separated list of paths to executables that are used as the "
5556 "configure scripts for this image. See the \\f[B]SCRIPTS\\f[R] section for "
5557 "more information.\\fR"
5558 msgstr ""
5559
5560 #. type: TP
5561 #: archlinux debian-trixie opensuse-leap-16-1
5562 #, no-wrap
5563 msgid "\\f[CR]PassEnvironment=\\f[R], \\f[CR]--pass-environment=\\fR"
5564 msgstr ""
5565
5566 #. type: Plain text
5567 #: archlinux fedora-44 fedora-rawhide
5568 msgid ""
5569 "Takes a list of environment variable names separated by spaces. When "
5570 "building multiple images, pass the listed environment variables to each "
5571 "individual subimage as if they were \\[lq]universal\\[rq] settings. See the "
5572 "\\f[B]BUILDING MULTIPLE IMAGES\\f[R] section for more information.\\fR"
5573 msgstr ""
5574
5575 #. type: SS
5576 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5577 #: opensuse-leap-16-1 opensuse-tumbleweed
5578 #, no-wrap
5579 msgid "[UKIProfile] Section"
5580 msgstr ""
5581
5582 #. type: Plain text
5583 #: archlinux debian-trixie opensuse-leap-16-1
5584 msgid ""
5585 "The \\f[CR]UKIProfile\\f[R] section can be used in UKI profile config files "
5586 "which are passed to the \\f[CR]UnifiedKernelImageProfiles=\\f[R] setting. "
5587 "The following settings can be specified in the \\f[CR]UKIProfile\\f[R] "
5588 "section:\\fR"
5589 msgstr ""
5590
5591 #. type: TP
5592 #: archlinux debian-trixie opensuse-leap-16-1
5593 #, no-wrap
5594 msgid "\\f[CR]Profile=\\fR"
5595 msgstr ""
5596
5597 #. type: Plain text
5598 #: archlinux opensuse-leap-16-1
5599 msgid ""
5600 "The contents of the \\f[CR].profile\\f[R] section of the UKI profile. Takes "
5601 "a list of key/value pairs separated by \\f[CR]=\\f[R]. The \\f[CR]ID=\\f[R] "
5602 "key must be specified. See the UKI E<.UR https://uapi-group.org/"
5603 "specifications/specs/unified_kernel_image/#multi-profile-ukis> specification "
5604 "E<.UE > \\ for a full list of possible keys.\\fR"
5605 msgstr ""
5606
5607 #. type: TP
5608 #: archlinux debian-trixie opensuse-leap-16-1
5609 #, no-wrap
5610 msgid "\\f[CR]Cmdline=\\fR"
5611 msgstr ""
5612
5613 #. type: Plain text
5614 #: archlinux debian-trixie opensuse-leap-16-1
5615 msgid ""
5616 "Extra kernel command line options for the UKI profile. Takes a space "
5617 "delimited list of extra kernel command line arguments. Note that the final "
5618 "\\f[CR].cmdline\\f[R] section will the combination of the base "
5619 "\\f[CR].cmdline\\f[R] section and the extra kernel command line arguments "
5620 "specified with this setting.\\fR"
5621 msgstr ""
5622
5623 #. type: TP
5624 #: archlinux
5625 #, no-wrap
5626 msgid "\\f[CR]SignExpectedPcr=\\fR"
5627 msgstr ""
5628
5629 #. type: Plain text
5630 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
5631 msgid ""
5632 "Sign expected PCR measurements for this UKI profile. Takes a boolean. "
5633 "Enabled by default."
5634 msgstr ""
5635
5636 #. type: SS
5637 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5638 #: opensuse-leap-16-1 opensuse-tumbleweed
5639 #, no-wrap
5640 msgid "Specifiers"
5641 msgstr ""
5642
5643 #. type: Plain text
5644 #: archlinux debian-trixie opensuse-leap-16-1
5645 msgid ""
5646 "The current value of various settings can be accessed when parsing "
5647 "configuration files by using specifiers. To write a literal \\f[CR]%\\f[R] "
5648 "character in a configuration file without treating it as a specifier, use "
5649 "\\f[CR]%%\\f[R]. The following specifiers are understood:\\fR"
5650 msgstr ""
5651
5652 #. type: tbl table
5653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5654 #: opensuse-leap-16-1 opensuse-tumbleweed
5655 #, no-wrap
5656 msgid "Setting"
5657 msgstr ""
5658
5659 #. type: tbl table
5660 #: archlinux debian-trixie opensuse-leap-16-1
5661 #, no-wrap
5662 msgid "\\f[CR]%d\\fR"
5663 msgstr ""
5664
5665 #. type: tbl table
5666 #: archlinux debian-trixie opensuse-leap-16-1
5667 #, no-wrap
5668 msgid "\\f[CR]%r\\fR"
5669 msgstr ""
5670
5671 #. type: tbl table
5672 #: archlinux debian-trixie opensuse-leap-16-1
5673 #, no-wrap
5674 msgid "\\f[CR]%a\\fR"
5675 msgstr ""
5676
5677 #. type: tbl table
5678 #: archlinux debian-trixie opensuse-leap-16-1
5679 #, no-wrap
5680 msgid "\\f[CR]%t\\fR"
5681 msgstr ""
5682
5683 #. type: tbl table
5684 #: archlinux debian-trixie opensuse-leap-16-1
5685 #, no-wrap
5686 msgid "\\f[CR]Output=\\fR"
5687 msgstr ""
5688
5689 #. type: tbl table
5690 #: archlinux debian-trixie opensuse-leap-16-1
5691 #, no-wrap
5692 msgid "\\f[CR]%o\\fR"
5693 msgstr ""
5694
5695 #. type: Plain text
5696 #: archlinux debian-trixie opensuse-leap-16-1
5697 #, no-wrap
5698 msgid "\\f[CR]OutputDirectory=\\fR"
5699 msgstr ""
5700
5701 #. type: tbl table
5702 #: archlinux debian-trixie opensuse-leap-16-1
5703 #, no-wrap
5704 msgid "\\f[CR]%O\\fR"
5705 msgstr ""
5706
5707 #. type: tbl table
5708 #: archlinux debian-trixie opensuse-leap-16-1
5709 #, no-wrap
5710 msgid "\\f[CR]%i\\fR"
5711 msgstr ""
5712
5713 #. type: tbl table
5714 #: archlinux debian-trixie opensuse-leap-16-1
5715 #, no-wrap
5716 msgid "\\f[CR]%v\\fR"
5717 msgstr ""
5718
5719 #. type: Plain text
5720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5721 #: opensuse-leap-16-1 opensuse-tumbleweed
5722 msgid "There are also specifiers that are independent of settings:"
5723 msgstr ""
5724
5725 #. type: tbl table
5726 #: archlinux debian-trixie opensuse-leap-16-1
5727 #, no-wrap
5728 msgid "\\f[CR]%C\\fR"
5729 msgstr ""
5730
5731 #. type: tbl table
5732 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5733 #: opensuse-leap-16-1 opensuse-tumbleweed
5734 #, no-wrap
5735 msgid "\\f[R]Parent directory of current config file\\fR"
5736 msgstr ""
5737
5738 #. type: tbl table
5739 #: archlinux debian-trixie opensuse-leap-16-1
5740 #, no-wrap
5741 msgid "\\f[CR]%P\\fR"
5742 msgstr ""
5743
5744 #. type: tbl table
5745 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5746 #: opensuse-leap-16-1 opensuse-tumbleweed
5747 #, no-wrap
5748 msgid "\\f[R]Current working directory\\fR"
5749 msgstr ""
5750
5751 #. type: tbl table
5752 #: archlinux debian-trixie opensuse-leap-16-1
5753 #, no-wrap
5754 msgid "\\f[CR]%D\\fR"
5755 msgstr ""
5756
5757 #. type: tbl table
5758 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5759 #: opensuse-leap-16-1 opensuse-tumbleweed
5760 #, no-wrap
5761 msgid "\\f[R]Directory that \\f[B]mkosi\\f[R] was invoked in\\fR"
5762 msgstr ""
5763
5764 #. type: tbl table
5765 #: archlinux debian-trixie opensuse-leap-16-1
5766 #, no-wrap
5767 msgid "\\f[CR]%I\\fR"
5768 msgstr ""
5769
5770 #. type: tbl table
5771 #: archlinux debian-trixie opensuse-leap-16-1
5772 #, no-wrap
5773 msgid "\\f[R]Name of the current subimage in \\f[CR]mkosi.images\\fR"
5774 msgstr ""
5775
5776 #. type: Plain text
5777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5778 #: opensuse-leap-16-1 opensuse-tumbleweed
5779 msgid "Finally, there are specifiers that are derived from a setting:"
5780 msgstr ""
5781
5782 #. type: tbl table
5783 #: archlinux debian-trixie opensuse-leap-16-1
5784 #, no-wrap
5785 msgid "\\f[CR]%F\\fR"
5786 msgstr ""
5787
5788 #. type: tbl table
5789 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5790 #: opensuse-leap-16-1 opensuse-tumbleweed
5791 #, no-wrap
5792 msgid "\\f[R]The default filesystem of the configured distribution\\fR"
5793 msgstr ""
5794
5795 #. type: Plain text
5796 #: archlinux debian-trixie opensuse-leap-16-1
5797 msgid ""
5798 "Note that the current working directory changes as \\f[B]mkosi\\f[R] parses "
5799 "its configuration. Specifically, each time \\f[B]mkosi\\f[R] parses a "
5800 "directory containing a \\f[CR]mkosi.conf\\f[R] file, \\f[B]mkosi\\f[R] "
5801 "changes its working directory to that directory.\\fR"
5802 msgstr ""
5803
5804 #. type: Plain text
5805 #: archlinux debian-trixie opensuse-leap-16-1
5806 msgid ""
5807 "Note that the directory that \\f[B]mkosi\\f[R] was invoked in is influenced "
5808 "by the \\f[CR]--directory=\\f[R] command line argument.\\fR"
5809 msgstr ""
5810
5811 #. type: Plain text
5812 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5813 #: opensuse-leap-16-1 opensuse-tumbleweed
5814 msgid ""
5815 "The following table shows example values for the directory specifiers listed "
5816 "above:"
5817 msgstr ""
5818
5819 #. type: tbl table
5820 #: archlinux debian-trixie opensuse-leap-16-1
5821 #, no-wrap
5822 msgid "\\f[CR]$D/mkosi.conf\\fR"
5823 msgstr ""
5824
5825 #. type: tbl table
5826 #: archlinux debian-trixie opensuse-leap-16-1
5827 #, no-wrap
5828 msgid "\\f[CR]$D/mkosi.conf.d/abc/abc.conf\\fR"
5829 msgstr ""
5830
5831 #. type: tbl table
5832 #: archlinux debian-trixie opensuse-leap-16-1
5833 #, no-wrap
5834 msgid "\\f[CR]$D/mkosi.conf.d/abc/mkosi.conf\\fR"
5835 msgstr ""
5836
5837 #. type: tbl table
5838 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5839 #: opensuse-leap-16-1 opensuse-tumbleweed
5840 #, no-wrap
5841 msgid "\\f[R]_\\fR"
5842 msgstr ""
5843
5844 #. type: tbl table
5845 #: archlinux debian-trixie opensuse-leap-16-1
5846 #, no-wrap
5847 msgid "\\f[CR]$D\\fR"
5848 msgstr ""
5849
5850 #. type: tbl table
5851 #: archlinux debian-trixie opensuse-leap-16-1
5852 #, no-wrap
5853 msgid "\\f[CR]$D/mkosi.conf.d\\fR"
5854 msgstr ""
5855
5856 #. type: tbl table
5857 #: archlinux debian-trixie opensuse-leap-16-1
5858 #, no-wrap
5859 msgid "\\f[CR]$D/mkosi.conf.d/abc\\fR"
5860 msgstr ""
5861
5862 #. type: SS
5863 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5864 #: opensuse-leap-16-1 opensuse-tumbleweed
5865 #, no-wrap
5866 msgid "Supported distributions"
5867 msgstr ""
5868
5869 #. type: Plain text
5870 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5871 #: opensuse-leap-16-1 opensuse-tumbleweed
5872 msgid ""
5873 "Images may be created containing installations of the following "
5874 "distributions:"
5875 msgstr ""
5876
5877 #. type: Plain text
5878 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5879 #: opensuse-leap-16-1 opensuse-tumbleweed
5880 msgid "\\f[I]Fedora Linux\\fR"
5881 msgstr ""
5882
5883 #. type: Plain text
5884 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5885 #: opensuse-leap-16-1 opensuse-tumbleweed
5886 msgid "\\f[I]Debian\\fR"
5887 msgstr ""
5888
5889 #. type: Plain text
5890 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5891 #: opensuse-leap-16-1 opensuse-tumbleweed
5892 msgid "\\f[I]Kali Linux\\fR"
5893 msgstr ""
5894
5895 #. type: Plain text
5896 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5897 #: opensuse-leap-16-1 opensuse-tumbleweed
5898 msgid "\\f[I]Ubuntu\\fR"
5899 msgstr ""
5900
5901 #. type: Plain text
5902 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5903 #: opensuse-leap-16-1 opensuse-tumbleweed
5904 msgid "\\f[I]Arch Linux\\fR"
5905 msgstr ""
5906
5907 #. type: Plain text
5908 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5909 #: opensuse-leap-16-1 opensuse-tumbleweed
5910 msgid "\\f[I]openSUSE\\fR"
5911 msgstr ""
5912
5913 #. type: Plain text
5914 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5915 #: opensuse-leap-16-1 opensuse-tumbleweed
5916 msgid "\\f[I]Mageia\\fR"
5917 msgstr ""
5918
5919 #. type: Plain text
5920 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5921 #: opensuse-leap-16-1 opensuse-tumbleweed
5922 msgid "\\f[I]CentOS\\fR"
5923 msgstr ""
5924
5925 #. type: Plain text
5926 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5927 #: opensuse-leap-16-1 opensuse-tumbleweed
5928 msgid "\\f[I]RHEL\\fR"
5929 msgstr ""
5930
5931 #. type: Plain text
5932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5933 #: opensuse-leap-16-1 opensuse-tumbleweed
5934 msgid "\\f[I]RHEL UBI\\fR"
5935 msgstr ""
5936
5937 #. type: Plain text
5938 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5939 #: opensuse-leap-16-1 opensuse-tumbleweed
5940 msgid "\\f[I]OpenMandriva\\fR"
5941 msgstr ""
5942
5943 #. type: Plain text
5944 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5945 #: opensuse-leap-16-1 opensuse-tumbleweed
5946 msgid "\\f[I]Rocky Linux\\fR"
5947 msgstr ""
5948
5949 #. type: Plain text
5950 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5951 #: opensuse-leap-16-1 opensuse-tumbleweed
5952 msgid "\\f[I]Alma Linux\\fR"
5953 msgstr ""
5954
5955 #. type: Plain text
5956 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5957 #: opensuse-leap-16-1 opensuse-tumbleweed
5958 msgid "\\f[I]Azure Linux\\fR"
5959 msgstr ""
5960
5961 #. type: Plain text
5962 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
5963 msgid "\\f[I]postmarketOS\\fR"
5964 msgstr ""
5965
5966 #. type: Plain text
5967 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5968 #: opensuse-leap-16-1 opensuse-tumbleweed
5969 msgid ""
5970 "\\f[I]None\\f[R] (\\f[B]Requires the user to provide a pre-built "
5971 "rootfs\\f[R])\\fR"
5972 msgstr ""
5973
5974 #. type: Plain text
5975 #: archlinux debian-trixie opensuse-leap-16-1
5976 msgid ""
5977 "In theory, any distribution may be used on the host for building images "
5978 "containing any other distribution, as long as the necessary tools are "
5979 "available. Specifically, any distribution that packages \\f[B]apt\\f[R] may "
5980 "be used to build \\f[I]Debian\\f[R], \\f[I]Kali\\f[R] or \\f[I]Ubuntu\\f[R] "
5981 "images. Any distribution that packages \\f[B]dnf\\f[R] may be used to build "
5982 "images for any of the RPM-based distributions. Any distro that packages "
5983 "\\f[B]pacman\\f[R] may be used to build \\f[I]Arch Linux\\f[R] images. Any "
5984 "distribution that packages \\f[B]zypper\\f[R] may be used to build "
5985 "\\f[I]openSUSE\\f[R] images. Other distributions and build automation tools "
5986 "for embedded Linux systems such as Buildroot, OpenEmbedded and Yocto Project "
5987 "may be used by selecting the \\f[CR]custom\\f[R] distribution, and "
5988 "populating the rootfs via a combination of base trees, skeleton trees, and "
5989 "prepare scripts.\\fR"
5990 msgstr ""
5991
5992 #. type: Plain text
5993 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
5994 #: opensuse-leap-16-1 opensuse-tumbleweed
5995 msgid ""
5996 "Currently, \\f[I]Fedora Linux\\f[R] packages all relevant tools as of Fedora "
5997 "28.\\fR"
5998 msgstr ""
5999
6000 #. type: Plain text
6001 #: archlinux debian-trixie opensuse-leap-16-1
6002 msgid ""
6003 "Note that when not using a custom mirror, \\f[CR]RHEL\\f[R] images can only "
6004 "be built from a host system with a \\f[CR]RHEL\\f[R] subscription "
6005 "(established using e.g.\\ \\f[CR]subscription-manager\\f[R]).\\fR"
6006 msgstr ""
6007
6008 #. type: SH
6009 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
6010 #, no-wrap
6011 msgid "EXECUTION FLOW"
6012 msgstr ""
6013
6014 #. type: Plain text
6015 #: archlinux
6016 msgid ""
6017 "Execution flow for \\f[CR]mkosi build\\f[R]. Default values/calls are shown "
6018 "in parentheses. When building with \\f[CR]--incremental=yes\\f[R] "
6019 "\\f[B]mkosi\\f[R] creates a cache of the distribution installation if not "
6020 "already existing and replaces the distribution installation in consecutive "
6021 "runs with data from the cached one.\\fR"
6022 msgstr ""
6023
6024 #. type: IP
6025 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6026 #: opensuse-leap-16-1 opensuse-tumbleweed
6027 #, no-wrap
6028 msgid "\\f[R]1.\\fR"
6029 msgstr ""
6030
6031 #. type: Plain text
6032 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6033 #: opensuse-leap-16-1 opensuse-tumbleweed
6034 msgid "Parse CLI options"
6035 msgstr ""
6036
6037 #. type: IP
6038 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6039 #: opensuse-leap-16-1 opensuse-tumbleweed
6040 #, no-wrap
6041 msgid "2."
6042 msgstr ""
6043
6044 #. type: Plain text
6045 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6046 #: opensuse-leap-16-1 opensuse-tumbleweed
6047 msgid "Parse configuration files"
6048 msgstr ""
6049
6050 #. type: IP
6051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6052 #: opensuse-leap-16-1 opensuse-tumbleweed
6053 #, no-wrap
6054 msgid "3."
6055 msgstr ""
6056
6057 #. type: Plain text
6058 #: archlinux debian-trixie opensuse-leap-16-1
6059 msgid "Run configure scripts (\\f[CR]mkosi.configure\\f[R])\\fR"
6060 msgstr ""
6061
6062 #. type: IP
6063 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6064 #: opensuse-leap-16-1 opensuse-tumbleweed
6065 #, no-wrap
6066 msgid "\\f[R]4.\\fR"
6067 msgstr ""
6068
6069 #. type: Plain text
6070 #: archlinux debian-trixie opensuse-leap-16-1
6071 msgid ""
6072 "If we\\[cq]re not running as root, unshare the user namespace and map the "
6073 "subuid range configured in \\f[CR]/etc/subuid\\f[R] and \\f[CR]/etc/"
6074 "subgid\\f[R] into it.\\fR"
6075 msgstr ""
6076
6077 #. type: IP
6078 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6079 #: opensuse-leap-16-1 opensuse-tumbleweed
6080 #, no-wrap
6081 msgid "\\f[R]5.\\fR"
6082 msgstr ""
6083
6084 #. type: Plain text
6085 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6086 #: opensuse-leap-16-1 opensuse-tumbleweed
6087 msgid "Unshare the mount namespace"
6088 msgstr ""
6089
6090 #. type: IP
6091 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6092 #: opensuse-leap-16-1 opensuse-tumbleweed
6093 #, no-wrap
6094 msgid "6."
6095 msgstr ""
6096
6097 #. type: Plain text
6098 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6099 #: opensuse-leap-16-1 opensuse-tumbleweed
6100 msgid "Remount the following directories read-only if they exist:"
6101 msgstr ""
6102
6103 #. type: Plain text
6104 #: archlinux debian-trixie opensuse-leap-16-1
6105 msgid "\\f[CR]/usr\\fR"
6106 msgstr ""
6107
6108 #. type: Plain text
6109 #: archlinux debian-trixie opensuse-leap-16-1
6110 msgid "\\f[CR]/etc\\fR"
6111 msgstr ""
6112
6113 #. type: Plain text
6114 #: archlinux debian-trixie opensuse-leap-16-1
6115 msgid "\\f[CR]/opt\\fR"
6116 msgstr ""
6117
6118 #. type: Plain text
6119 #: archlinux debian-trixie opensuse-leap-16-1
6120 msgid "\\f[CR]/srv\\fR"
6121 msgstr ""
6122
6123 #. type: Plain text
6124 #: archlinux debian-trixie opensuse-leap-16-1
6125 msgid "\\f[CR]/boot\\fR"
6126 msgstr ""
6127
6128 #. type: Plain text
6129 #: archlinux debian-trixie opensuse-leap-16-1
6130 msgid "\\f[CR]/efi\\fR"
6131 msgstr ""
6132
6133 #. type: Plain text
6134 #: archlinux debian-trixie opensuse-leap-16-1
6135 msgid "\\f[CR]/media\\fR"
6136 msgstr ""
6137
6138 #. type: Plain text
6139 #: archlinux debian-trixie opensuse-leap-16-1
6140 msgid "\\f[CR]/mnt\\fR"
6141 msgstr ""
6142
6143 #. type: Plain text
6144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6145 #: opensuse-leap-16-1 opensuse-tumbleweed
6146 msgid "Then, for each image, we execute the following steps:"
6147 msgstr ""
6148
6149 #. type: IP
6150 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6151 #: opensuse-leap-16-1 opensuse-tumbleweed
6152 #, no-wrap
6153 msgid " 1."
6154 msgstr ""
6155
6156 #. type: Plain text
6157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6158 #: opensuse-leap-16-1 opensuse-tumbleweed
6159 msgid "Copy sandbox trees into the workspace"
6160 msgstr ""
6161
6162 #. type: IP
6163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6164 #: opensuse-leap-16-1 opensuse-tumbleweed
6165 #, no-wrap
6166 msgid " 2."
6167 msgstr ""
6168
6169 #. type: Plain text
6170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6171 #: opensuse-leap-16-1 opensuse-tumbleweed
6172 msgid "Sync the package manager repository metadata"
6173 msgstr ""
6174
6175 #. type: IP
6176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6177 #: opensuse-leap-16-1 opensuse-tumbleweed
6178 #, no-wrap
6179 msgid " 3."
6180 msgstr ""
6181
6182 #. type: Plain text
6183 #: archlinux debian-trixie opensuse-leap-16-1
6184 msgid "Run sync scripts (\\f[CR]mkosi.sync\\f[R])\\fR"
6185 msgstr ""
6186
6187 #. type: IP
6188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6189 #: opensuse-leap-16-1 opensuse-tumbleweed
6190 #, no-wrap
6191 msgid "\\f[R] 4.\\fR"
6192 msgstr ""
6193
6194 #. type: Plain text
6195 #: archlinux debian-trixie opensuse-leap-16-1
6196 msgid "Copy base trees (\\f[CR]--base-tree=\\f[R]) into the image\\fR"
6197 msgstr ""
6198
6199 #. type: IP
6200 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6201 #: opensuse-leap-16-1 opensuse-tumbleweed
6202 #, no-wrap
6203 msgid "\\f[R] 5.\\fR"
6204 msgstr ""
6205
6206 #. type: Plain text
6207 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6208 #: opensuse-leap-16-1 opensuse-tumbleweed
6209 msgid "Reuse a cached image if one is available"
6210 msgstr ""
6211
6212 #. type: IP
6213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6214 #: opensuse-leap-16-1 opensuse-tumbleweed
6215 #, no-wrap
6216 msgid " 6."
6217 msgstr ""
6218
6219 #. type: Plain text
6220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6221 #: opensuse-leap-16-1 opensuse-tumbleweed
6222 msgid ""
6223 "Copy a snapshot of the package manager repository metadata into the image"
6224 msgstr ""
6225
6226 #. type: IP
6227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6228 #: opensuse-leap-16-1 opensuse-tumbleweed
6229 #, no-wrap
6230 msgid " 7."
6231 msgstr ""
6232
6233 #. type: Plain text
6234 #: archlinux debian-trixie opensuse-leap-16-1
6235 msgid "Copy skeleton trees (\\f[CR]mkosi.skeleton\\f[R]) into image\\fR"
6236 msgstr ""
6237
6238 #. type: IP
6239 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6240 #: opensuse-leap-16-1 opensuse-tumbleweed
6241 #, no-wrap
6242 msgid "\\f[R] 8.\\fR"
6243 msgstr ""
6244
6245 #. type: Plain text
6246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6247 #: opensuse-leap-16-1 opensuse-tumbleweed
6248 msgid "Install distribution and packages into image"
6249 msgstr ""
6250
6251 #. type: IP
6252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6253 #: opensuse-leap-16-1 opensuse-tumbleweed
6254 #, no-wrap
6255 msgid " 9."
6256 msgstr ""
6257
6258 #. type: Plain text
6259 #: archlinux debian-trixie opensuse-leap-16-1
6260 msgid ""
6261 "Run prepare scripts on image with the \\f[CR]final\\f[R] argument "
6262 "(\\f[CR]mkosi.prepare\\f[R])\\fR"
6263 msgstr ""
6264
6265 #. type: IP
6266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6267 #: opensuse-leap-16-1 opensuse-tumbleweed
6268 #, no-wrap
6269 msgid "\\f[R]10.\\fR"
6270 msgstr ""
6271
6272 #. type: Plain text
6273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6274 #: opensuse-leap-16-1 opensuse-tumbleweed
6275 msgid "Install build packages in overlay if any build scripts are configured"
6276 msgstr ""
6277
6278 #. type: IP
6279 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6280 #: opensuse-leap-16-1 opensuse-tumbleweed
6281 #, no-wrap
6282 msgid "11."
6283 msgstr ""
6284
6285 #. type: Plain text
6286 #: archlinux debian-trixie opensuse-leap-16-1
6287 msgid ""
6288 "Run prepare scripts on overlay with the \\f[CR]build\\f[R] argument if any "
6289 "build scripts are configured (\\f[CR]mkosi.prepare\\f[R])\\fR"
6290 msgstr ""
6291
6292 #. type: IP
6293 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6294 #: opensuse-leap-16-1 opensuse-tumbleweed
6295 #, no-wrap
6296 msgid "\\f[R]12.\\fR"
6297 msgstr ""
6298
6299 #. type: Plain text
6300 #: archlinux
6301 msgid "Cache the image if configured (\\f[CR]--incremental=yes\\f[R])\\fR"
6302 msgstr ""
6303
6304 #. type: IP
6305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6306 #: opensuse-leap-16-1 opensuse-tumbleweed
6307 #, no-wrap
6308 msgid "\\f[R]13.\\fR"
6309 msgstr ""
6310
6311 #. type: Plain text
6312 #: archlinux debian-trixie opensuse-leap-16-1
6313 msgid ""
6314 "Run build scripts on image + overlay if any build scripts are configured "
6315 "(\\f[CR]mkosi.build\\f[R])\\fR"
6316 msgstr ""
6317
6318 #. type: IP
6319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6320 #: opensuse-leap-16-1 opensuse-tumbleweed
6321 #, no-wrap
6322 msgid "\\f[R]14.\\fR"
6323 msgstr ""
6324
6325 #. type: Plain text
6326 #: archlinux debian-trixie opensuse-leap-16-1
6327 msgid ""
6328 "Finalize the build if the output format \\f[CR]none\\f[R] is configured\\fR"
6329 msgstr ""
6330
6331 #. type: IP
6332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6333 #: opensuse-leap-16-1 opensuse-tumbleweed
6334 #, no-wrap
6335 msgid "\\f[R]15.\\fR"
6336 msgstr ""
6337
6338 #. type: Plain text
6339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6340 #: opensuse-leap-16-1 opensuse-tumbleweed
6341 msgid "Copy the build scripts outputs into the image"
6342 msgstr ""
6343
6344 #. type: IP
6345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6346 #: opensuse-leap-16-1 opensuse-tumbleweed
6347 #, no-wrap
6348 msgid "16."
6349 msgstr ""
6350
6351 #. type: Plain text
6352 #: archlinux debian-trixie opensuse-leap-16-1
6353 msgid "Copy the extra trees into the image (\\f[CR]mkosi.extra\\f[R])\\fR"
6354 msgstr ""
6355
6356 #. type: IP
6357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6358 #: opensuse-leap-16-1 opensuse-tumbleweed
6359 #, no-wrap
6360 msgid "\\f[R]17.\\fR"
6361 msgstr ""
6362
6363 #. type: Plain text
6364 #: archlinux debian-trixie opensuse-leap-16-1
6365 msgid "Run post-install scripts (\\f[CR]mkosi.postinst\\f[R])\\fR"
6366 msgstr ""
6367
6368 #. type: IP
6369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6370 #: opensuse-leap-16-1 opensuse-tumbleweed
6371 #, no-wrap
6372 msgid "\\f[R]18.\\fR"
6373 msgstr ""
6374
6375 #. type: Plain text
6376 #: archlinux debian-trixie opensuse-leap-16-1
6377 msgid ""
6378 "Write config files required for \\f[CR]Ssh=\\f[R], \\f[CR]Autologin=\\f[R] "
6379 "and \\f[CR]MakeInitrd=\\fR"
6380 msgstr ""
6381
6382 #. type: IP
6383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6384 #: opensuse-leap-16-1 opensuse-tumbleweed
6385 #, no-wrap
6386 msgid "\\f[R]19.\\fR"
6387 msgstr ""
6388
6389 #. type: Plain text
6390 #: archlinux
6391 msgid ""
6392 "Install systemd-boot and configure secure boot if configured (\\f[CR]--"
6393 "secure-boot=yes\\f[R])\\fR"
6394 msgstr ""
6395
6396 #. type: IP
6397 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6398 #: opensuse-leap-16-1 opensuse-tumbleweed
6399 #, no-wrap
6400 msgid "\\f[R]20.\\fR"
6401 msgstr ""
6402
6403 #. type: Plain text
6404 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6405 #: opensuse-leap-16-1 opensuse-tumbleweed
6406 msgid "Run \\f[B]systemd-sysusers\\fR"
6407 msgstr ""
6408
6409 #. type: IP
6410 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6411 #: opensuse-leap-16-1 opensuse-tumbleweed
6412 #, no-wrap
6413 msgid "\\f[R]21.\\fR"
6414 msgstr ""
6415
6416 #. type: Plain text
6417 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6418 #: opensuse-leap-16-1 opensuse-tumbleweed
6419 msgid "Run \\f[B]systemd-tmpfiles\\fR"
6420 msgstr ""
6421
6422 #. type: IP
6423 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6424 #: opensuse-leap-16-1 opensuse-tumbleweed
6425 #, no-wrap
6426 msgid "\\f[R]22.\\fR"
6427 msgstr ""
6428
6429 #. type: Plain text
6430 #: archlinux debian-trixie opensuse-leap-16-1
6431 msgid "Run \\f[CR]systemctl preset-all\\fR"
6432 msgstr ""
6433
6434 #. type: IP
6435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6436 #: opensuse-leap-16-1 opensuse-tumbleweed
6437 #, no-wrap
6438 msgid "\\f[R]23.\\fR"
6439 msgstr ""
6440
6441 #. type: Plain text
6442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6443 #: opensuse-leap-16-1 opensuse-tumbleweed
6444 msgid "Run \\f[B]depmod\\fR"
6445 msgstr ""
6446
6447 #. type: IP
6448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6449 #: opensuse-leap-16-1 opensuse-tumbleweed
6450 #, no-wrap
6451 msgid "\\f[R]24.\\fR"
6452 msgstr ""
6453
6454 #. type: Plain text
6455 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6456 #: opensuse-leap-16-1 opensuse-tumbleweed
6457 msgid "Run \\f[B]systemd-firstboot\\fR"
6458 msgstr ""
6459
6460 #. type: IP
6461 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6462 #: opensuse-leap-16-1 opensuse-tumbleweed
6463 #, no-wrap
6464 msgid "\\f[R]25.\\fR"
6465 msgstr ""
6466
6467 #. type: Plain text
6468 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6469 #: opensuse-leap-16-1 opensuse-tumbleweed
6470 msgid "Run \\f[B]systemd-hwdb\\fR"
6471 msgstr ""
6472
6473 #. type: IP
6474 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6475 #: opensuse-leap-16-1 opensuse-tumbleweed
6476 #, no-wrap
6477 msgid "\\f[R]26.\\fR"
6478 msgstr ""
6479
6480 #. type: Plain text
6481 #: archlinux debian-trixie opensuse-leap-16-1
6482 msgid ""
6483 "Remove packages and files (\\f[CR]RemovePackages=\\f[R], "
6484 "\\f[CR]RemoveFiles=\\f[R])\\fR"
6485 msgstr ""
6486
6487 #. type: IP
6488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6489 #: opensuse-leap-16-1 opensuse-tumbleweed
6490 #, no-wrap
6491 msgid "\\f[R]27.\\fR"
6492 msgstr ""
6493
6494 #. type: Plain text
6495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6496 #: opensuse-leap-16-1 opensuse-tumbleweed
6497 msgid "Run SELinux relabel is a SELinux policy is installed"
6498 msgstr ""
6499
6500 #. type: IP
6501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6502 #: opensuse-leap-16-1 opensuse-tumbleweed
6503 #, no-wrap
6504 msgid "28."
6505 msgstr ""
6506
6507 #. type: Plain text
6508 #: archlinux debian-trixie opensuse-leap-16-1
6509 msgid "Run finalize scripts (\\f[CR]mkosi.finalize\\f[R])\\fR"
6510 msgstr ""
6511
6512 #. type: IP
6513 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6514 #: opensuse-leap-16-1 opensuse-tumbleweed
6515 #, no-wrap
6516 msgid "\\f[R]29.\\fR"
6517 msgstr ""
6518
6519 #. type: Plain text
6520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6521 #: opensuse-leap-16-1 opensuse-tumbleweed
6522 msgid "Generate unified kernel image if configured to do so"
6523 msgstr ""
6524
6525 #. type: IP
6526 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6527 #: opensuse-leap-16-1 opensuse-tumbleweed
6528 #, no-wrap
6529 msgid "30."
6530 msgstr ""
6531
6532 #. type: Plain text
6533 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6534 #: opensuse-leap-16-1 opensuse-tumbleweed
6535 msgid "Generate final output format"
6536 msgstr ""
6537
6538 #. type: IP
6539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6540 #: opensuse-leap-16-1 opensuse-tumbleweed
6541 #, no-wrap
6542 msgid "31."
6543 msgstr ""
6544
6545 #. type: Plain text
6546 #: archlinux debian-trixie opensuse-leap-16-1
6547 msgid "Run post-output scripts (\\f[CR]mkosi.postoutput\\f[R])\\fR"
6548 msgstr ""
6549
6550 #. type: SH
6551 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
6552 #, no-wrap
6553 msgid "SCRIPTS"
6554 msgstr ""
6555
6556 #. type: Plain text
6557 #: archlinux debian-trixie opensuse-leap-16-1
6558 msgid ""
6559 "To allow for image customization that cannot be implemented using "
6560 "\\f[B]mkosi\\f[R]\\[cq]s builtin features, \\f[B]mkosi\\f[R] supports "
6561 "running scripts at various points during the image build process that can "
6562 "customize the image as needed. Scripts are executed on the host system as "
6563 "root (either real root or root within the user namespace that "
6564 "\\f[B]mkosi\\f[R] created when running unprivileged) with a customized "
6565 "environment to simplify modifying the image. For each script, the "
6566 "configured build sources (\\f[CR]BuildSources=\\f[R]) are mounted into the "
6567 "current working directory before running the script in the current working "
6568 "directory. \\f[CR]$SRCDIR\\f[R] is set to point to the current working "
6569 "directory. The following scripts are supported:\\fR"
6570 msgstr ""
6571
6572 #. type: Plain text
6573 #: archlinux debian-trixie opensuse-leap-16-1
6574 msgid ""
6575 "If \\f[CB]mkosi.configure\\f[R] (\\f[CR]ConfigureScripts=\\f[R]) exists, it "
6576 "is executed before building the image. This script may be used to "
6577 "dynamically modify the configuration. It receives the configuration "
6578 "serialized as JSON on stdin and should output the modified configuration "
6579 "serialized as JSON on stdout. Note that this script only runs when building "
6580 "or booting the image (\\f[CR]build\\f[R], \\f[CR]vm\\f[R], \\f[CR]boot\\f[R] "
6581 "and \\f[CR]shell\\f[R] verbs). If a default tools tree is configured, it "
6582 "will be built before running the configure scripts and the configure scripts "
6583 "will run with the tools tree available. This also means that the "
6584 "modifications made by configure scripts will not be visible in the "
6585 "\\f[CR]summary\\f[R] output.\\fR"
6586 msgstr ""
6587
6588 #. type: Plain text
6589 #: archlinux debian-trixie opensuse-leap-16-1
6590 msgid ""
6591 "If \\f[CB]mkosi.sync\\f[R] (\\f[CR]SyncScripts=\\f[R]) exists, it is "
6592 "executed before the image is built. This script may be used to update "
6593 "various sources that are used to build the image. One use case is to run "
6594 "\\f[CR]git pull\\f[R] on various source repositories before building the "
6595 "image. Specifically, the \\f[CR]BuildSourcesEphemeral=\\f[R] setting does "
6596 "not apply to sync scripts, which means sync scripts can be used to update "
6597 "build sources even if \\f[CR]BuildSourcesEphemeral=\\f[R] is enabled.\\fR"
6598 msgstr ""
6599
6600 #. type: Plain text
6601 #: archlinux debian-trixie opensuse-leap-16-1
6602 msgid ""
6603 "If \\f[CB]mkosi.prepare\\f[R] (\\f[CR]PrepareScripts=\\f[R]) exists, it is "
6604 "first called with the \\f[CR]final\\f[R] argument, right after the software "
6605 "packages are installed. It is called a second time with the "
6606 "\\f[CR]build\\f[R] command line parameter, right after the build packages "
6607 "are installed and the build overlay mounted on top of the image\\[cq]s root "
6608 "directory . This script has network access and may be used to install "
6609 "packages from other sources than the distro\\[cq]s package manager (e.g.\\ "
6610 "\\f[B]pip\\f[R], \\f[B]npm\\f[R], \\&...), after all software packages are "
6611 "installed but before the image is cached (if incremental mode is enabled). "
6612 "In contrast to a general purpose installation, it is safe to install "
6613 "packages to the system (\\f[CR]pip install\\f[R], \\f[CR]npm install "
6614 "-g\\f[R]) instead of in \\f[CR]$SRCDIR\\f[R] itself because the build image "
6615 "is only used for a single project and can easily be thrown away and rebuilt "
6616 "so there\\[cq]s no risk of conflicting dependencies and no risk of polluting "
6617 "the host system.\\fR"
6618 msgstr ""
6619
6620 #. type: Plain text
6621 #: archlinux debian-trixie opensuse-leap-16-1
6622 msgid ""
6623 "If \\f[CB]mkosi.build\\f[R] (\\f[CR]BuildScripts=\\f[R]) exists, it is "
6624 "executed with the build overlay mounted on top of the image\\[cq]s root "
6625 "directory. When running the build script, \\f[CR]$DESTDIR\\f[R] points to a "
6626 "directory where the script should place any files generated it would like to "
6627 "end up in the image. Note that \\f[B]make\\f[R]-, \\f[B]automake\\f[R]-, "
6628 "and \\f[B]meson\\f[R]-based build systems generally honor \\f[CR]"
6629 "$DESTDIR\\f[R], thus making it very natural to build \\f[I]source\\f[R] "
6630 "trees from the build script. After running the build script, the contents "
6631 "of \\f[CR]$DESTDIR\\f[R] are copied into the image.\\fR"
6632 msgstr ""
6633
6634 #. type: Plain text
6635 #: archlinux debian-trixie opensuse-leap-16-1
6636 msgid ""
6637 "If \\f[CB]mkosi.postinst\\f[R] (\\f[CR]PostInstallationScripts=\\f[R]) "
6638 "exists, it is executed after the (optional) build tree and extra trees have "
6639 "been installed. This script may be used to alter the images without any "
6640 "restrictions, after all software packages and built sources have been "
6641 "installed.\\fR"
6642 msgstr ""
6643
6644 #. type: Plain text
6645 #: archlinux debian-trixie opensuse-leap-16-1
6646 msgid ""
6647 "If \\f[CB]mkosi.finalize\\f[R] (\\f[CR]FinalizeScripts=\\f[R]) exists, it "
6648 "is executed as the last step of preparing an image.\\fR"
6649 msgstr ""
6650
6651 #. type: Plain text
6652 #: archlinux debian-trixie opensuse-leap-16-1
6653 msgid ""
6654 "If \\f[CB]mkosi.postoutput\\f[R] (\\f[CR]PostOutputScripts=\\f[R]) exists, "
6655 "it is executed right after all the output files have been generated, before "
6656 "they are finally moved into the output directory. This can be used to "
6657 "generate additional or alternative outputs, e.g.\\ \\f[CR]SHA256FILES\\f[R] "
6658 "or SBOM manifests.\\fR"
6659 msgstr ""
6660
6661 #. type: Plain text
6662 #: archlinux debian-trixie opensuse-leap-16-1
6663 msgid ""
6664 "If \\f[CB]mkosi.clean\\f[R] (\\f[CR]CleanScripts=\\f[R]) exists, it is "
6665 "executed right after the outputs of a previous build have been cleaned up. "
6666 "A clean script can clean up any outputs that \\f[B]mkosi\\f[R] does not know "
6667 "about (e.g. artifacts from \\f[CR]SplitArtifacts=partitions\\f[R] or RPMs "
6668 "built in a build script). Note that this script does not use the tools tree "
6669 "even if one is configured.\\fR"
6670 msgstr ""
6671
6672 #. type: Plain text
6673 #: archlinux debian-trixie opensuse-leap-16-1
6674 msgid ""
6675 "If \\f[CB]mkosi.version\\f[R] exists and is executable, it is run during "
6676 "configuration parsing and populates \\f[CR]ImageVersion=\\f[R] with the "
6677 "output on stdout. This can be used for external version tracking, e.g.\\ "
6678 "with \\f[CR]git describe\\f[R] or \\f[CR]date \\[aq]+%Y-%m-%d\\[aq]\\f[R]. "
6679 "Note that this script is executed on the host system without any sandboxing."
6680 "\\fR"
6681 msgstr ""
6682
6683 #. type: Plain text
6684 #: archlinux debian-trixie opensuse-leap-16-1
6685 msgid ""
6686 "If \\f[CB]mkosi.rootpw\\f[R] exists and is executable, it is run during "
6687 "configuration parsing and populates \\f[CR]RootPassword=\\f[R] with the "
6688 "output on stdout. This can be used to randomly generate a password and can "
6689 "be remembered by outputting it to stderr or by reading \\f[CR]"
6690 "$MKOSI_CONFIG\\f[R] in another script (e.g.\\ "
6691 "\\f[CR]mkosi.postoutput\\f[R]). Note that this script is executed on the "
6692 "host system without any sandboxing.\\fR"
6693 msgstr ""
6694
6695 #. type: Plain text
6696 #: archlinux debian-trixie opensuse-leap-16-1
6697 msgid ""
6698 "If a script uses the \\f[CR].chroot\\f[R] extension, \\f[B]mkosi\\f[R] will "
6699 "chroot into the image using \\f[B]mkosi-chroot\\f[R] (see below) before "
6700 "executing the script. For example, if \\f[CR]mkosi.postinst.chroot\\f[R] "
6701 "exists, \\f[B]mkosi\\f[R] will chroot into the image and execute it as the "
6702 "post-installation script.\\fR"
6703 msgstr ""
6704
6705 #. type: Plain text
6706 #: archlinux debian-trixie opensuse-leap-16-1
6707 msgid ""
6708 "Instead of a single file script, \\f[B]mkosi\\f[R] will also read all files "
6709 "in lexicographical order from appropriately named \\f[CR].d\\f[R] "
6710 "directories, e.g.\\ all files in a \\f[CR]mkosi.build.d\\f[R] would be used "
6711 "as build scripts. This is supported by\\fR"
6712 msgstr ""
6713
6714 #. type: Plain text
6715 #: archlinux debian-trixie opensuse-leap-16-1
6716 msgid "\\f[CR]mkosi.sync.d\\f[R],\\fR"
6717 msgstr ""
6718
6719 #. type: Plain text
6720 #: archlinux debian-trixie opensuse-leap-16-1
6721 msgid "\\f[CR]mkosi.prepare.d\\f[R],\\fR"
6722 msgstr ""
6723
6724 #. type: Plain text
6725 #: archlinux debian-trixie opensuse-leap-16-1
6726 msgid "\\f[CR]mkosi.build.d\\f[R],\\fR"
6727 msgstr ""
6728
6729 #. type: Plain text
6730 #: archlinux debian-trixie opensuse-leap-16-1
6731 msgid "\\f[CR]mkosi.postinst.d\\f[R],\\fR"
6732 msgstr ""
6733
6734 #. type: Plain text
6735 #: archlinux debian-trixie opensuse-leap-16-1
6736 msgid "\\f[CR]mkosi.finalize.d\\f[R],\\fR"
6737 msgstr ""
6738
6739 #. type: Plain text
6740 #: archlinux debian-trixie opensuse-leap-16-1
6741 msgid "\\f[CR]mkosi.postoutput.d\\f[R], and\\fR"
6742 msgstr ""
6743
6744 #. type: Plain text
6745 #: archlinux debian-trixie opensuse-leap-16-1
6746 msgid "\\f[CR]mkosi.clean.d\\f[R].\\fR"
6747 msgstr ""
6748
6749 #. type: Plain text
6750 #: archlinux debian-trixie opensuse-leap-16-1
6751 msgid ""
6752 "This can be combined with the \\f[CR].chroot\\f[R] extension, e.g.\\ "
6753 "\\f[CR]mkosi.build.d/01-foo.sh\\f[R] would be run without chrooting into the "
6754 "image and \\f[CR]mkosi.build.d/02-bar.sh.chroot\\f[R] would be run after "
6755 "chrooting into the image first.\\fR"
6756 msgstr ""
6757
6758 #. type: Plain text
6759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6760 #: opensuse-leap-16-1 opensuse-tumbleweed
6761 msgid ""
6762 "Scripts executed by \\f[B]mkosi\\f[R] receive the following environment "
6763 "variables:\\fR"
6764 msgstr ""
6765
6766 #. type: Plain text
6767 #: archlinux debian-trixie opensuse-leap-16-1
6768 msgid ""
6769 "\\f[CR]$ARCHITECTURE\\f[R] contains the architecture from the "
6770 "\\f[CR]Architecture=\\f[R] setting. If \\f[CR]Architecture=\\f[R] is not "
6771 "set, it will contain the native architecture of the host machine. See the "
6772 "documentation of \\f[CR]Architecture=\\f[R] for possible values for this "
6773 "variable.\\fR"
6774 msgstr ""
6775
6776 #. type: Plain text
6777 #: archlinux debian-trixie opensuse-leap-16-1
6778 msgid ""
6779 "\\f[CR]$QEMU_ARCHITECTURE\\f[R] contains the architecture from \\f[CR]"
6780 "$ARCHITECTURE\\f[R] in the format used by \\f[B]qemu\\f[R]. Useful for "
6781 "finding the qemu binary ( \\f[CR]qemu-system-$QEMU_ARCHITECTURE\\f[R]).\\fR"
6782 msgstr ""
6783
6784 #. type: Plain text
6785 #: archlinux
6786 msgid ""
6787 "\\f[CR]$EFI_ARCHITECTURE\\f[R] contains the architecture from \\f[CR]"
6788 "$ARCHITECTURE\\f[R] in the format used by \\f[B]UEFI\\f[R]. It is unset on "
6789 "architectures that do not support \\f[B]UEFI\\f[R].\\fR"
6790 msgstr ""
6791
6792 #. type: Plain text
6793 #: archlinux debian-trixie opensuse-leap-16-1
6794 msgid ""
6795 "\\f[CR]$DISTRIBUTION\\f[R] contains the distribution from the "
6796 "\\f[CR]Distribution=\\f[R] setting.\\fR"
6797 msgstr ""
6798
6799 #. type: Plain text
6800 #: archlinux debian-trixie opensuse-leap-16-1
6801 msgid ""
6802 "\\f[CR]$RELEASE\\f[R] contains the release from the \\f[CR]Release=\\f[R] "
6803 "setting.\\fR"
6804 msgstr ""
6805
6806 #. type: Plain text
6807 #: archlinux debian-trixie opensuse-leap-16-1
6808 msgid ""
6809 "\\f[CR]$DISTRIBUTION_ARCHITECTURE\\f[R] contains the architecture from "
6810 "\\f[CR]$ARCHITECTURE\\f[R] in the format used by the configured distribution."
6811 "\\fR"
6812 msgstr ""
6813
6814 #. type: Plain text
6815 #: archlinux debian-trixie opensuse-leap-16-1
6816 msgid ""
6817 "\\f[CR]$PROFILES\\f[R] contains the profiles from the \\f[CR]Profiles=\\f[R] "
6818 "setting as a comma-delimited string.\\fR"
6819 msgstr ""
6820
6821 #. type: Plain text
6822 #: archlinux
6823 msgid ""
6824 "\\f[CR]$CACHED\\f[R] is set to \\f[CR]1\\f[R] if a cached image is "
6825 "available, \\f[CR]0\\f[R] otherwise.\\fR"
6826 msgstr ""
6827
6828 #. type: Plain text
6829 #: archlinux debian-trixie opensuse-leap-16-1
6830 msgid ""
6831 "\\f[CR]$CHROOT_SCRIPT\\f[R] contains the path to the running script relative "
6832 "to the image root directory. The primary usecase for this variable is in "
6833 "combination with the \\f[B]mkosi-chroot\\f[R] script. See the description "
6834 "of \\f[B]mkosi-chroot\\f[R] below for more information.\\fR"
6835 msgstr ""
6836
6837 #. type: Plain text
6838 #: archlinux debian-trixie opensuse-leap-16-1
6839 msgid ""
6840 "\\f[CR]$SRCDIR\\f[R] contains the path to the directory \\f[B]mkosi\\f[R] "
6841 "was invoked from, with any configured build sources mounted on top. \\f[CR]"
6842 "$CHROOT_SRCDIR\\f[R] contains the value that \\f[CR]$SRCDIR\\f[R] will have "
6843 "after invoking \\f[B]mkosi-chroot\\f[R].\\fR"
6844 msgstr ""
6845
6846 #. type: Plain text
6847 #: archlinux debian-trixie opensuse-leap-16-1
6848 msgid ""
6849 "\\f[CR]$BUILDDIR\\f[R] is only defined if \\f[CR]mkosi.builddir\\f[R] exists "
6850 "and points to the build directory to use. This is useful for all build "
6851 "systems that support out-of-tree builds to reuse already built artifacts "
6852 "from previous runs. \\f[CR]$CHROOT_BUILDDIR\\f[R] contains the value that "
6853 "\\f[CR]$BUILDDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R].\\fR"
6854 msgstr ""
6855
6856 #. type: Plain text
6857 #: archlinux debian-trixie opensuse-leap-16-1
6858 msgid ""
6859 "\\f[CR]$DESTDIR\\f[R] is a directory into which any installed software "
6860 "generated by a build script may be placed. This variable is only set when "
6861 "executing a build script. \\f[CR]$CHROOT_DESTDIR\\f[R] contains the value "
6862 "that \\f[CR]$DESTDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R]."
6863 "\\fR"
6864 msgstr ""
6865
6866 #. type: Plain text
6867 #: archlinux debian-trixie opensuse-leap-16-1
6868 msgid ""
6869 "\\f[CR]$OUTPUTDIR\\f[R] points to the staging directory used to store build "
6870 "artifacts generated during the build. \\f[CR]$CHROOT_OUTPUTDIR\\f[R] "
6871 "contains the value that \\f[CR]$OUTPUTDIR\\f[R] will have after invoking "
6872 "\\f[B]mkosi-chroot\\f[R].\\fR"
6873 msgstr ""
6874
6875 #. type: Plain text
6876 #: archlinux debian-trixie opensuse-leap-16-1
6877 msgid ""
6878 "\\f[CR]$PACKAGEDIR\\f[R] points to the directory containing the local "
6879 "package repository. Build scripts can add more packages to the local "
6880 "repository by writing the packages to \\f[CR]$PACKAGEDIR\\f[R].\\fR"
6881 msgstr ""
6882
6883 #. type: Plain text
6884 #: archlinux debian-trixie opensuse-leap-16-1
6885 msgid ""
6886 "\\f[CR]$ARTIFACTDIR\\f[R] points to the directory that is used to pass "
6887 "around build artifacts generated during the build and make them available "
6888 "for use by mkosi. This is similar to \\f[CR]PACKAGEDIR\\f[R], but is meant "
6889 "for artifacts that may not be packages understood by the package manager, "
6890 "e.g.\\ initrds created by other initrd generators than mkosi. Build scripts "
6891 "can add more artifacts to the directory by placing them in \\f[CR]"
6892 "$ARTIFACTDIR\\f[R]. Files in this directory are only available for the "
6893 "current build and are not copied out like the contents of \\f[CR]"
6894 "$OUTPUTDIR\\f[R].\\fR"
6895 msgstr ""
6896
6897 #. type: Plain text
6898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
6899 #: opensuse-leap-16-1 opensuse-tumbleweed
6900 msgid ""
6901 "\\f[B]mkosi\\f[R] will also use certain subdirectories of an artifacts "
6902 "directory to automatically use their contents at certain steps. Currently "
6903 "the following two subdirectories in the artifact directory are used by mkosi:"
6904 "\\fR"
6905 msgstr ""
6906
6907 #. type: Plain text
6908 #: archlinux debian-trixie opensuse-leap-16-1
6909 msgid ""
6910 "\\f[CR]io.mkosi.microcode\\f[R]: All files in this directory are used as "
6911 "microcode files, i.e.\\ they are prepended to the initrds in lexicographical "
6912 "order.\\fR"
6913 msgstr ""
6914
6915 #. type: Plain text
6916 #: archlinux debian-trixie opensuse-leap-16-1
6917 msgid ""
6918 "\\f[CR]io.mkosi.initrd\\f[R]: All files in this directory are used as "
6919 "initrds and joined in lexicographical order.\\fR"
6920 msgstr ""
6921
6922 #. type: Plain text
6923 #: archlinux debian-trixie opensuse-leap-16-1
6924 msgid ""
6925 "It is recommended, that users of \\f[CR]$ARTIFACTDIR\\f[R] put things for "
6926 "their own use in a similar namespaced directory, e.g.\\ "
6927 "\\f[CR]local.my.namespace\\f[R].\\fR"
6928 msgstr ""
6929
6930 #. type: Plain text
6931 #: archlinux debian-trixie opensuse-leap-16-1
6932 msgid ""
6933 "\\f[CR]$BUILDROOT\\f[R] is the root directory of the image being built, "
6934 "optionally with the build overlay mounted on top depending on the script "
6935 "that\\[cq]s being executed.\\fR"
6936 msgstr ""
6937
6938 #. type: Plain text
6939 #: archlinux debian-trixie opensuse-leap-16-1
6940 msgid ""
6941 "\\f[CR]$WITH_DOCS\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] depending "
6942 "on whether a build without or with installed documentation was requested "
6943 "(\\f[CR]WithDocs=yes\\f[R]). A build script should suppress installation of "
6944 "any package documentation to \\f[CR]$DESTDIR\\f[R] in case \\f[CR]"
6945 "$WITH_DOCS\\f[R] is set to \\f[CR]0\\f[R].\\fR"
6946 msgstr ""
6947
6948 #. type: Plain text
6949 #: archlinux debian-trixie opensuse-leap-16-1
6950 msgid ""
6951 "\\f[CR]$WITH_TESTS\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] "
6952 "depending on whether a build without or with running the test suite was "
6953 "requested (\\f[CR]WithTests=no\\f[R]). A build script should avoid running "
6954 "any unit or integration tests in case \\f[CR]$WITH_TESTS\\f[R] is "
6955 "\\f[CR]0\\f[R].\\fR"
6956 msgstr ""
6957
6958 #. type: Plain text
6959 #: archlinux debian-trixie opensuse-leap-16-1
6960 msgid ""
6961 "\\f[CR]$WITH_NETWORK\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] "
6962 "depending on whether a build without or with networking is being executed "
6963 "(\\f[CR]WithNetwork=no\\f[R]). A build script should avoid any network "
6964 "communication in case \\f[CR]$WITH_NETWORK\\f[R] is \\f[CR]0\\f[R].\\fR"
6965 msgstr ""
6966
6967 #. type: Plain text
6968 #: archlinux debian-trixie opensuse-leap-16-1
6969 msgid ""
6970 "\\f[CR]$SOURCE_DATE_EPOCH\\f[R] is defined if requested "
6971 "(\\f[CR]SourceDateEpoch=TIMESTAMP\\f[R], "
6972 "\\f[CR]Environment=SOURCE_DATE_EPOCH=TIMESTAMP\\f[R] or the host environment "
6973 "variable \\f[CR]$SOURCE_DATE_EPOCH\\f[R]). This is useful to make builds "
6974 "reproducible. See E<.UR https://reproducible-builds.org/specs/source-date-"
6975 "epoch/> SOURCE_DATE_EPOCH E<.UE > \\ for more information.\\fR"
6976 msgstr ""
6977
6978 #. type: Plain text
6979 #: archlinux debian-trixie opensuse-leap-16-1
6980 msgid ""
6981 "\\f[CR]$MKOSI_UID\\f[R] and \\f[CR]$MKOSI_GID\\f[R] respectively are the "
6982 "uid, gid of the user that invoked mkosi.\\fR"
6983 msgstr ""
6984
6985 #. type: Plain text
6986 #: archlinux debian-trixie opensuse-leap-16-1
6987 msgid ""
6988 "\\f[CR]$MKOSI_CONFIG\\f[R] is a file containing a json summary of the "
6989 "settings of the current image. This file can be parsed inside scripts to "
6990 "gain access to all settings for the current image.\\fR"
6991 msgstr ""
6992
6993 #. type: Plain text
6994 #: archlinux debian-trixie opensuse-leap-16-1
6995 msgid ""
6996 "\\f[CR]$IMAGE_ID\\f[R] contains the identifier from the "
6997 "\\f[CR]ImageId=\\f[R] or \\f[CR]--image-id=\\f[R] setting.\\fR"
6998 msgstr ""
6999
7000 #. type: Plain text
7001 #: archlinux debian-trixie opensuse-leap-16-1
7002 msgid ""
7003 "\\f[CR]$IMAGE_VERSION\\f[R] contains the version from the "
7004 "\\f[CR]ImageVersion=\\f[R] or \\f[CR]--image-version=\\f[R] setting.\\fR"
7005 msgstr ""
7006
7007 #. type: Plain text
7008 #: archlinux
7009 msgid ""
7010 "\\f[CR]$MKOSI_DEBUG\\f[R] is either \\f[CR]0\\f[R] or \\f[CR]1\\f[R] "
7011 "depending on whether debugging output is enabled.\\fR"
7012 msgstr ""
7013
7014 #. type: Plain text
7015 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7016 #: opensuse-leap-16-1 opensuse-tumbleweed
7017 msgid ""
7018 "Consult this table for which script receives which environment variables:"
7019 msgstr ""
7020
7021 #. type: tbl table
7022 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7023 #: opensuse-leap-16-1 opensuse-tumbleweed
7024 #, no-wrap
7025 msgid "Variable"
7026 msgstr ""
7027
7028 #. type: tbl table
7029 #: archlinux debian-trixie opensuse-leap-16-1
7030 #, no-wrap
7031 msgid "\\f[CR]configure\\fR"
7032 msgstr ""
7033
7034 #. type: tbl table
7035 #: archlinux debian-trixie opensuse-leap-16-1
7036 #, no-wrap
7037 msgid "\\f[CR]sync\\fR"
7038 msgstr ""
7039
7040 #. type: tbl table
7041 #: archlinux debian-trixie opensuse-leap-16-1
7042 #, no-wrap
7043 msgid "\\f[CR]prepare\\fR"
7044 msgstr ""
7045
7046 #. type: tbl table
7047 #: archlinux debian-trixie opensuse-leap-16-1
7048 #, no-wrap
7049 msgid "\\f[CR]postinst\\fR"
7050 msgstr ""
7051
7052 #. type: tbl table
7053 #: archlinux debian-trixie opensuse-leap-16-1
7054 #, no-wrap
7055 msgid "\\f[CR]finalize\\fR"
7056 msgstr ""
7057
7058 #. type: tbl table
7059 #: archlinux debian-trixie opensuse-leap-16-1
7060 #, no-wrap
7061 msgid "\\f[CR]postoutput\\fR"
7062 msgstr ""
7063
7064 #. type: tbl table
7065 #: archlinux debian-trixie opensuse-leap-16-1
7066 #, no-wrap
7067 msgid "\\f[CR]ARCHITECTURE\\fR"
7068 msgstr ""
7069
7070 #. type: tbl table
7071 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7072 #: opensuse-leap-16-1 opensuse-tumbleweed
7073 #, no-wrap
7074 msgid "\\f[R]✓\\fR"
7075 msgstr ""
7076
7077 #. type: tbl table
7078 #: archlinux debian-trixie opensuse-leap-16-1
7079 #, no-wrap
7080 msgid "\\f[CR]ARTIFACTDIR\\fR"
7081 msgstr ""
7082
7083 #. type: tbl table
7084 #: archlinux debian-trixie opensuse-leap-16-1
7085 #, no-wrap
7086 msgid "\\f[CR]BUILDDIR\\fR"
7087 msgstr ""
7088
7089 #. type: tbl table
7090 #: archlinux debian-trixie opensuse-leap-16-1
7091 #, no-wrap
7092 msgid "\\f[CR]BUILDROOT\\fR"
7093 msgstr ""
7094
7095 #. type: tbl table
7096 #: archlinux debian-trixie opensuse-leap-16-1
7097 #, no-wrap
7098 msgid "\\f[CR]CACHED\\fR"
7099 msgstr ""
7100
7101 #. type: tbl table
7102 #: archlinux debian-trixie opensuse-leap-16-1
7103 #, no-wrap
7104 msgid "\\f[CR]CHROOT_BUILDDIR\\fR"
7105 msgstr ""
7106
7107 #. type: tbl table
7108 #: archlinux debian-trixie opensuse-leap-16-1
7109 #, no-wrap
7110 msgid "\\f[CR]CHROOT_DESTDIR\\fR"
7111 msgstr ""
7112
7113 #. type: tbl table
7114 #: archlinux debian-trixie opensuse-leap-16-1
7115 #, no-wrap
7116 msgid "\\f[CR]CHROOT_OUTPUTDIR\\fR"
7117 msgstr ""
7118
7119 #. type: tbl table
7120 #: archlinux debian-trixie opensuse-leap-16-1
7121 #, no-wrap
7122 msgid "\\f[CR]CHROOT_SCRIPT\\fR"
7123 msgstr ""
7124
7125 #. type: tbl table
7126 #: archlinux debian-trixie opensuse-leap-16-1
7127 #, no-wrap
7128 msgid "\\f[CR]CHROOT_SRCDIR\\fR"
7129 msgstr ""
7130
7131 #. type: tbl table
7132 #: archlinux
7133 #, no-wrap
7134 msgid "\\f[CR]MKOSI_DEBUG\\fR"
7135 msgstr ""
7136
7137 #. type: tbl table
7138 #: archlinux debian-trixie opensuse-leap-16-1
7139 #, no-wrap
7140 msgid "\\f[CR]DESTDIR\\fR"
7141 msgstr ""
7142
7143 #. type: tbl table
7144 #: archlinux debian-trixie opensuse-leap-16-1
7145 #, no-wrap
7146 msgid "\\f[CR]DISTRIBUTION\\fR"
7147 msgstr ""
7148
7149 #. type: tbl table
7150 #: archlinux debian-trixie opensuse-leap-16-1
7151 #, no-wrap
7152 msgid "\\f[CR]DISTRIBUTION_ARCHITECTURE\\fR"
7153 msgstr ""
7154
7155 #. type: tbl table
7156 #: archlinux
7157 #, no-wrap
7158 msgid "\\f[CR]EFI_ARCHITECTURE\\fR"
7159 msgstr ""
7160
7161 #. type: tbl table
7162 #: archlinux debian-trixie opensuse-leap-16-1
7163 #, no-wrap
7164 msgid "\\f[CR]IMAGE_ID\\fR"
7165 msgstr ""
7166
7167 #. type: tbl table
7168 #: archlinux debian-trixie opensuse-leap-16-1
7169 #, no-wrap
7170 msgid "\\f[CR]IMAGE_VERSION\\fR"
7171 msgstr ""
7172
7173 #. type: tbl table
7174 #: archlinux debian-trixie opensuse-leap-16-1
7175 #, no-wrap
7176 msgid "\\f[CR]MKOSI_CONFIG\\fR"
7177 msgstr ""
7178
7179 #. type: tbl table
7180 #: archlinux debian-trixie opensuse-leap-16-1
7181 #, no-wrap
7182 msgid "\\f[CR]MKOSI_GID\\fR"
7183 msgstr ""
7184
7185 #. type: tbl table
7186 #: archlinux debian-trixie opensuse-leap-16-1
7187 #, no-wrap
7188 msgid "\\f[CR]MKOSI_UID\\fR"
7189 msgstr ""
7190
7191 #. type: tbl table
7192 #: archlinux debian-trixie opensuse-leap-16-1
7193 #, no-wrap
7194 msgid "\\f[CR]OUTPUTDIR\\fR"
7195 msgstr ""
7196
7197 #. type: tbl table
7198 #: archlinux debian-trixie opensuse-leap-16-1
7199 #, no-wrap
7200 msgid "\\f[CR]PACKAGEDIR\\fR"
7201 msgstr ""
7202
7203 #. type: tbl table
7204 #: archlinux debian-trixie opensuse-leap-16-1
7205 #, no-wrap
7206 msgid "\\f[CR]PROFILES\\fR"
7207 msgstr ""
7208
7209 #. type: tbl table
7210 #: archlinux debian-trixie opensuse-leap-16-1
7211 #, no-wrap
7212 msgid "\\f[CR]QEMU_ARCHITECTURE\\fR"
7213 msgstr ""
7214
7215 #. type: tbl table
7216 #: archlinux debian-trixie opensuse-leap-16-1
7217 #, no-wrap
7218 msgid "\\f[CR]RELEASE\\fR"
7219 msgstr ""
7220
7221 #. type: tbl table
7222 #: archlinux debian-trixie opensuse-leap-16-1
7223 #, no-wrap
7224 msgid "\\f[CR]SOURCE_DATE_EPOCH\\fR"
7225 msgstr ""
7226
7227 #. type: tbl table
7228 #: archlinux debian-trixie opensuse-leap-16-1
7229 #, no-wrap
7230 msgid "\\f[CR]SRCDIR\\fR"
7231 msgstr ""
7232
7233 #. type: tbl table
7234 #: archlinux debian-trixie opensuse-leap-16-1
7235 #, no-wrap
7236 msgid "\\f[CR]WITH_DOCS\\fR"
7237 msgstr ""
7238
7239 #. type: tbl table
7240 #: archlinux debian-trixie opensuse-leap-16-1
7241 #, no-wrap
7242 msgid "\\f[CR]WITH_NETWORK\\fR"
7243 msgstr ""
7244
7245 #. type: tbl table
7246 #: archlinux debian-trixie opensuse-leap-16-1
7247 #, no-wrap
7248 msgid "\\f[CR]WITH_TESTS\\fR"
7249 msgstr ""
7250
7251 #. type: Plain text
7252 #: archlinux debian-trixie opensuse-leap-16-1
7253 msgid ""
7254 "Additionally, when a script is executed, a few scripts are made available "
7255 "via \\f[CR]$PATH\\f[R] to simplify common usecases.\\fR"
7256 msgstr ""
7257
7258 #. type: Plain text
7259 #: archlinux debian-trixie opensuse-leap-16-1
7260 msgid ""
7261 "\\f[B]mkosi-chroot\\f[R]: This script will chroot into the image and execute "
7262 "the given command. On top of chrooting into the image, it will also mount "
7263 "various files and directories (\\f[CR]$SRCDIR\\f[R], \\f[CR]$DESTDIR\\f[R], "
7264 "\\f[CR]$BUILDDIR\\f[R], \\f[CR]$OUTPUTDIR\\f[R], \\f[CR]"
7265 "$CHROOT_SCRIPT\\f[R]) into the image and modify the corresponding "
7266 "environment variables to point to the locations inside the image. It will "
7267 "also mount APIVFS filesystems (\\f[CR]/proc\\f[R], \\f[CR]/dev\\f[R], "
7268 "\\&...) to make sure scripts and tools executed inside the chroot work "
7269 "properly. It also propagates \\f[CR]/etc/resolv.conf\\f[R] from the host "
7270 "into the chroot if requested so that DNS resolution works inside the "
7271 "chroot. After the mkosi-chroot command exits, various mount points are "
7272 "cleaned up.\\fR"
7273 msgstr ""
7274
7275 #. type: Plain text
7276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7277 #: opensuse-leap-16-1 opensuse-tumbleweed
7278 msgid ""
7279 "For example, to invoke \\f[B]ls\\f[R] inside of the image, use the following:"
7280 "\\fR"
7281 msgstr ""
7282
7283 #. type: Plain text
7284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7285 #: opensuse-leap-16-1 opensuse-tumbleweed
7286 #, no-wrap
7287 msgid "mkosi-chroot ls ...\n"
7288 msgstr ""
7289
7290 #. type: Plain text
7291 #: archlinux debian-trixie opensuse-leap-16-1
7292 msgid ""
7293 "To execute the entire script inside the image, add a \\f[CR].chroot\\f[R] "
7294 "suffix to the name (\\f[CR]mkosi.build.chroot\\f[R] instead of "
7295 "\\f[CR]mkosi.build\\f[R], etc.).\\fR"
7296 msgstr ""
7297
7298 #. type: Plain text
7299 #: archlinux debian-trixie opensuse-leap-16-1
7300 msgid ""
7301 "For all of the supported package managers (\\f[B]dnf\\f[R], \\f[B]rpm\\f[R], "
7302 "\\f[B]apt\\f[R], \\f[B]dpkg\\f[R], \\f[B]pacman\\f[R], \\f[B]zypper\\f[R]), "
7303 "scripts of the same name are put into \\f[CR]$PATH\\f[R] that make sure "
7304 "these commands operate on the image\\[cq]s root directory with the "
7305 "configuration supplied by the user instead of on the host system. This "
7306 "means that from a script, you can do e.g. \\f[CR]dnf install vim\\f[R] to "
7307 "install vim into the image.\\fR"
7308 msgstr ""
7309
7310 #. type: Plain text
7311 #: archlinux debian-trixie opensuse-leap-16-1
7312 msgid ""
7313 "Additionally, \\f[CR]mkosi-install\\f[R], \\f[CR]mkosi-reinstall\\f[R], "
7314 "\\f[CR]mkosi-upgrade\\f[R] and \\f[CR]mkosi-remove\\f[R] will invoke the "
7315 "corresponding operation of the package manager being used to built the image."
7316 "\\fR"
7317 msgstr ""
7318
7319 #. type: Plain text
7320 #: archlinux debian-trixie opensuse-leap-16-1
7321 msgid ""
7322 "\\f[B]git\\f[R] is automatically invoked with \\f[CR]safe.directory=*\\f[R] "
7323 "to avoid permissions errors when running as the root user in a user "
7324 "namespace.\\fR"
7325 msgstr ""
7326
7327 #. type: Plain text
7328 #: archlinux debian-trixie opensuse-leap-16-1
7329 msgid ""
7330 "\\f[B]useradd\\f[R] and \\f[B]groupadd\\f[R] are automatically invoked with "
7331 "\\f[CR]--root=$BUILDROOT\\f[R] when executed outside of the image.\\fR"
7332 msgstr ""
7333
7334 #. type: Plain text
7335 #: archlinux debian-trixie opensuse-leap-16-1
7336 msgid ""
7337 "When scripts are executed, any directories that are still writable are also "
7338 "made read-only (\\f[CR]/home\\f[R], \\f[CR]/var\\f[R], \\f[CR]/root\\f[R], "
7339 "\\&...) and only the minimal set of directories that need to be writable "
7340 "remain writable. This is to ensure that scripts can\\[cq]t mess with the "
7341 "host system when \\f[B]mkosi\\f[R] is running as root.\\fR"
7342 msgstr ""
7343
7344 #. type: Plain text
7345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7346 #: opensuse-leap-16-1 opensuse-tumbleweed
7347 msgid ""
7348 "Note that when executing scripts, all source directories are made ephemeral "
7349 "which means all changes made to source directories while running scripts are "
7350 "thrown away after the scripts finish executing. Use the output, build or "
7351 "cache directories if you need to persist data between builds."
7352 msgstr ""
7353
7354 #. type: SH
7355 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
7356 #, no-wrap
7357 msgid "FILES"
7358 msgstr ""
7359
7360 #. type: Plain text
7361 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7362 #: opensuse-leap-16-1 opensuse-tumbleweed
7363 msgid ""
7364 "To make it easy to build images for development versions of your projects, "
7365 "\\f[B]mkosi\\f[R] can read configuration data from the local directory, "
7366 "under the assumption that it is invoked from a \\f[I]source\\f[R] tree. "
7367 "Specifically, the following files are used if they exist in the local "
7368 "directory:\\fR"
7369 msgstr ""
7370
7371 #. type: Plain text
7372 #: archlinux debian-trixie opensuse-leap-16-1
7373 msgid ""
7374 "The \\f[CB]mkosi.skeleton/\\f[R] directory or "
7375 "\\f[CB]mkosi.skeleton.tar\\f[R] archive may be used to insert files into the "
7376 "image. The files are copied \\f[I]before\\f[R] the distribution packages "
7377 "are installed into the image. This allows creation of files that need to be "
7378 "provided early, for example to configure the package manager or set systemd "
7379 "presets.\\fR"
7380 msgstr ""
7381
7382 #. type: Plain text
7383 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7384 #: opensuse-leap-16-1 opensuse-tumbleweed
7385 msgid ""
7386 "When using the directory, file ownership is not preserved: all files copied "
7387 "will be owned by root. To preserve ownership, use a tar archive."
7388 msgstr ""
7389
7390 #. type: Plain text
7391 #: archlinux debian-trixie opensuse-leap-16-1
7392 msgid ""
7393 "The \\f[CB]mkosi.extra/\\f[R] directory or \\f[CB]mkosi.extra.tar\\f[R] "
7394 "archive may be used to insert additional files into the image, on top of "
7395 "what the distribution includes in its packages. They are similar to "
7396 "\\f[CR]mkosi.skeleton/\\f[R] and \\f[CR]mkosi.skeleton.tar\\f[R], but the "
7397 "files are copied into the directory tree of the image \\f[I]after\\f[R] the "
7398 "OS was installed.\\fR"
7399 msgstr ""
7400
7401 #. type: Plain text
7402 #: archlinux debian-trixie opensuse-leap-16-1
7403 msgid ""
7404 "The \\f[CB]mkosi.sandbox/\\f[R] directory or \\f[CB]mkosi.sandbox.tar\\f[R] "
7405 "archive may be used to configure the package manager without the files being "
7406 "inserted into the image. If the files should be included in the image "
7407 "\\f[CR]mkosi.skeleton/\\f[R] and \\f[CR]mkosi.skeleton.tar\\f[R] should be "
7408 "used instead.\\fR"
7409 msgstr ""
7410
7411 #. type: Plain text
7412 #: archlinux debian-trixie opensuse-leap-16-1
7413 msgid ""
7414 "The \\f[CB]mkosi.nspawn\\f[R] nspawn settings file will be copied into the "
7415 "same place as the output image file, if it exists. This is useful since "
7416 "nspawn looks for settings files next to image files it boots, for additional "
7417 "container runtime settings.\\fR"
7418 msgstr ""
7419
7420 #. type: Plain text
7421 #: archlinux debian-trixie opensuse-leap-16-1
7422 msgid ""
7423 "The \\f[CB]mkosi.cache/\\f[R] directory, if it exists, is automatically used "
7424 "as package download cache, in order to speed repeated runs of the tool.\\fR"
7425 msgstr ""
7426
7427 #. type: Plain text
7428 #: archlinux debian-trixie opensuse-leap-16-1
7429 msgid ""
7430 "The \\f[CB]mkosi.builddir/\\f[R] directory, if it exists, is automatically "
7431 "used as out-of-tree build directory, if the build commands in the "
7432 "\\f[CR]mkosi.build\\f[R] scripts support it. Specifically, this directory "
7433 "will be mounted into the build container, and the \\f[CR]$BUILDDIR\\f[R] "
7434 "environment variable will be set to it when the build scripts are invoked. "
7435 "A build script may then use this directory as build directory, for "
7436 "\\f[B]automake\\f[R]-style or \\f[B]ninja\\f[R]-style out-of-tree builds. "
7437 "This speeds up builds considerably, in particular when \\f[B]mkosi\\f[R] is "
7438 "used in incremental mode (\\f[CR]-i\\f[R]): not only the image and build "
7439 "overlay, but also the build tree is reused between subsequent invocations. "
7440 "Note that if this directory does not exist the \\f[CR]$BUILDDIR\\f[R] "
7441 "environment variable is not set, and it is up to the build scripts to decide "
7442 "whether to do an in-tree or an out-of-tree build, and which build directory "
7443 "to use.\\fR"
7444 msgstr ""
7445
7446 #. type: Plain text
7447 #: archlinux debian-trixie opensuse-leap-16-1
7448 msgid ""
7449 "The \\f[CB]mkosi.rootpw\\f[R] file can be used to provide the password for "
7450 "the root user of the image. If the password is prefixed with \\f[CR]hashed:"
7451 "\\f[R] it is treated as an already hashed root password. The password may "
7452 "optionally be followed by a newline character which is implicitly removed. "
7453 "The file must have an access mode of 0600 or less. If this file does not "
7454 "exist, the distribution\\[cq]s default root password is set (which usually "
7455 "means access to the root user is blocked).\\fR"
7456 msgstr ""
7457
7458 #. type: Plain text
7459 #: archlinux debian-trixie opensuse-leap-16-1
7460 msgid ""
7461 "The \\f[CB]mkosi.passphrase\\f[R] file provides the passphrase to use when "
7462 "LUKS encryption is selected. It should contain the passphrase literally, "
7463 "and not end in a newline character (i.e.\\ in the same format as "
7464 "\\f[B]cryptsetup\\f[R] and \\f[CR]/etc/crypttab\\f[R] expect the passphrase "
7465 "files). The file must have an access mode of 0600 or less.\\fR"
7466 msgstr ""
7467
7468 #. type: Plain text
7469 #: archlinux debian-trixie opensuse-leap-16-1
7470 msgid ""
7471 "The \\f[CB]mkosi.crt\\f[R] and \\f[CB]mkosi.key\\f[R] files contain an X.509 "
7472 "certificate and PEM private key to use when signing is required (UEFI "
7473 "SecureBoot, verity, \\&...).\\fR"
7474 msgstr ""
7475
7476 #. type: Plain text
7477 #: archlinux debian-trixie opensuse-leap-16-1
7478 msgid ""
7479 "The \\f[CB]mkosi.output/\\f[R] directory is used to store all build "
7480 "artifacts.\\fR"
7481 msgstr ""
7482
7483 #. type: Plain text
7484 #: archlinux debian-trixie opensuse-leap-16-1
7485 msgid ""
7486 "The \\f[CB]mkosi.credentials/\\f[R] directory is used as a source of extra "
7487 "credentials similar to the \\f[CR]Credentials=\\f[R] option. For each file "
7488 "in the directory, the filename will be used as the credential name and the "
7489 "file contents become the credential value, or, if the file is executable, "
7490 "\\f[B]mkosi\\f[R] will execute the file and the command\\[cq]s output to "
7491 "stdout will be used as the credential value. Output to stderr will be "
7492 "ignored. Credentials configured with \\f[CR]Credentials=\\f[R] take "
7493 "precedence over files in \\f[CR]mkosi.credentials\\f[R].\\fR"
7494 msgstr ""
7495
7496 #. type: Plain text
7497 #: archlinux debian-trixie opensuse-leap-16-1
7498 msgid ""
7499 "The \\f[CB]mkosi.repart/\\f[R] directory is used as the source for "
7500 "\\f[B]systemd-repart\\f[R] partition definition files which are passed to "
7501 "\\f[B]systemd-repart\\f[R] when building a disk image. If it does not exist "
7502 "and the \\f[CR]RepartDirectories=\\f[R] setting is not configured, "
7503 "\\f[B]mkosi\\f[R] will default to the following partition definition files:"
7504 "\\fR"
7505 msgstr ""
7506
7507 #. type: Plain text
7508 #: archlinux debian-trixie opensuse-leap-16-1
7509 msgid "\\f[CR]00-esp.conf\\f[R] (if we\\[cq]re building a bootable image):\\fR"
7510 msgstr ""
7511
7512 #. type: Plain text
7513 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
7514 #: opensuse-tumbleweed
7515 #, no-wrap
7516 msgid ""
7517 "\\f[B][Partition]\\f[R]\n"
7518 "Type=esp\n"
7519 "Format=vfat\n"
7520 "CopyFiles=/boot:/\n"
7521 "CopyFiles=/efi:/\n"
7522 "SizeMinBytes=512M\n"
7523 "SizeMaxBytes=512M\\fR\n"
7524 msgstr ""
7525
7526 #. type: Plain text
7527 #: archlinux debian-trixie opensuse-leap-16-1
7528 msgid ""
7529 "\\f[CR]05-bios.conf\\f[R] (if we\\[cq]re building a BIOS bootable image):\\fR"
7530 msgstr ""
7531
7532 #. type: Plain text
7533 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
7534 #: opensuse-tumbleweed
7535 #, no-wrap
7536 msgid ""
7537 "\\f[B][Partition]\\f[R]\n"
7538 "\\f[I]# UUID of the grub BIOS boot partition which grubs needs on GPT to\\f[R]\n"
7539 "\\f[I]# embed itself into.\\f[R]\n"
7540 "Type=21686148-6449-6e6f-744e-656564454649\n"
7541 "SizeMinBytes=1M\n"
7542 "SizeMaxBytes=1M\\fR\n"
7543 msgstr ""
7544
7545 #. type: Plain text
7546 #: archlinux debian-trixie opensuse-leap-16-1
7547 msgid "\\f[CR]10-root.conf\\fR"
7548 msgstr ""
7549
7550 #. type: Plain text
7551 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
7552 #: opensuse-tumbleweed
7553 #, no-wrap
7554 msgid ""
7555 "\\f[B][Partition]\\f[R]\n"
7556 "Type=root\n"
7557 "Format=E<lt>distribution-default-filesystemE<gt>\n"
7558 "CopyFiles=/\n"
7559 "Minimize=guess\\fR\n"
7560 msgstr ""
7561
7562 #. type: Plain text
7563 #: archlinux debian-trixie opensuse-leap-16-1
7564 msgid ""
7565 "Note that if either \\f[CR]mkosi.repart/\\f[R] is found or "
7566 "\\f[CR]RepartDirectories=\\f[R] is used, we will not use any of the default "
7567 "partition definitions.\\fR"
7568 msgstr ""
7569
7570 #. type: Plain text
7571 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7572 #: opensuse-leap-16-1 opensuse-tumbleweed
7573 msgid "All these files are optional."
7574 msgstr ""
7575
7576 #. type: Plain text
7577 #: archlinux debian-trixie opensuse-leap-16-1
7578 msgid ""
7579 "Note that the location of all these files may also be configured during "
7580 "invocation via command line switches, and as settings in "
7581 "\\f[CR]mkosi.conf\\f[R], in case the default settings are not acceptable for "
7582 "a project.\\fR"
7583 msgstr ""
7584
7585 #. type: SH
7586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7587 #: opensuse-leap-16-1 opensuse-tumbleweed
7588 #, no-wrap
7589 msgid "CACHING"
7590 msgstr ""
7591
7592 #. type: Plain text
7593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7594 #: opensuse-leap-16-1 opensuse-tumbleweed
7595 msgid ""
7596 "\\f[B]mkosi\\f[R] supports three different caches for speeding up repetitive "
7597 "re-building of images. Specifically:\\fR"
7598 msgstr ""
7599
7600 #. type: Plain text
7601 #: archlinux debian-trixie opensuse-leap-16-1
7602 msgid ""
7603 "The package cache of the distribution package manager may be cached between "
7604 "builds. This is configured with the \\f[CR]--cache-directory=\\f[R] option "
7605 "or the \\f[CR]mkosi.cache/\\f[R] directory. This form of caching relies on "
7606 "the distribution\\[cq]s package manager, and caches distribution packages "
7607 "(RPM, deb, \\&...) after they are downloaded, but before they are unpacked."
7608 "\\fR"
7609 msgstr ""
7610
7611 #. type: IP
7612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7613 #: opensuse-leap-16-1 opensuse-tumbleweed
7614 #, no-wrap
7615 msgid "\\f[R]2.\\fR"
7616 msgstr ""
7617
7618 #. type: Plain text
7619 #: archlinux
7620 msgid ""
7621 "If the incremental build mode is enabled with \\f[CR]--"
7622 "incremental=yes\\f[R], cached copies of the final image and build overlay "
7623 "are made immediately before the build sources are copied in (for the build "
7624 "overlay) or the artifacts generated by \\f[CR]mkosi.build\\f[R] are copied "
7625 "in (in case of the final image). This form of caching allows bypassing the "
7626 "time-consuming package unpacking step of the distribution package managers, "
7627 "but is only effective if the list of packages to use remains stable, but the "
7628 "build sources and its scripts change regularly. Note that this cache "
7629 "requires manual flushing: whenever the package list is modified the cached "
7630 "images need to be explicitly removed before the next re-build, using the "
7631 "\\f[CR]-f\\f[R] switch.\\fR"
7632 msgstr ""
7633
7634 #. type: IP
7635 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7636 #: opensuse-leap-16-1 opensuse-tumbleweed
7637 #, no-wrap
7638 msgid "\\f[R]3.\\fR"
7639 msgstr ""
7640
7641 #. type: Plain text
7642 #: archlinux debian-trixie opensuse-leap-16-1
7643 msgid ""
7644 "Finally, between multiple builds the build artifact directory may be shared, "
7645 "using the \\f[CR]mkosi.builddir/\\f[R] directory. This directory allows "
7646 "build systems such as Meson to reuse already compiled sources from a "
7647 "previous built, thus speeding up the build process of a "
7648 "\\f[CR]mkosi.build\\f[R] build script.\\fR"
7649 msgstr ""
7650
7651 #. type: Plain text
7652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7653 #: opensuse-leap-16-1 opensuse-tumbleweed
7654 msgid ""
7655 "The package cache and incremental mode are unconditionally useful. The "
7656 "final cache only apply to uses of \\f[B]mkosi\\f[R] with a source tree and "
7657 "build script. When all three are enabled together turn-around times for "
7658 "complete image builds are minimal, as only changed source files need to be "
7659 "recompiled.\\fR"
7660 msgstr ""
7661
7662 #. type: SH
7663 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
7664 #, no-wrap
7665 msgid "TOOLS TREES"
7666 msgstr ""
7667
7668 #. type: Plain text
7669 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
7670 msgid ""
7671 "Tools trees are a secondary image that mkosi can use to build the actual "
7672 "images. This is useful to make image builds more reproducible, but also "
7673 "allows to use newer tooling, that is not yet available in the host "
7674 "distribution running mkosi."
7675 msgstr ""
7676
7677 #. type: Plain text
7678 #: archlinux
7679 msgid ""
7680 "Tools trees can be provided via the \\f[CR]ToolsTree=\\f[R] option, the "
7681 "\\f[CR]mkosi.tools\\f[R] directory or built automatically by mkosi if set to "
7682 "\\f[CR]ToolsTree=yes\\f[R]. For most use cases setting it is sufficient to "
7683 "use the default tools trees and the use of a tools tree is recommended.\\fR"
7684 msgstr ""
7685
7686 #. type: Plain text
7687 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
7688 msgid ""
7689 "Fully custom tools trees can be built like any other mkosi image, but mkosi "
7690 "provides a builtin include providing the default tools tree packages:"
7691 msgstr ""
7692
7693 #. type: Plain text
7694 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
7695 #, no-wrap
7696 msgid "mkosi --include=mkosi-tools --format=directory\n"
7697 msgstr ""
7698
7699 #. type: Plain text
7700 #: archlinux
7701 msgid ""
7702 "Tools trees, including default tools trees, can be further customized via "
7703 "the different \\f[CR]ToolsTree*=\\f[R] variables as well as the "
7704 "\\f[CR]mkosi.tools.conf\\f[R] configuration file or directory. The output "
7705 "format for tools trees cannot currently be changed via configuration files."
7706 "\\fR"
7707 msgstr ""
7708
7709 #. type: Plain text
7710 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7711 #: opensuse-leap-16-1 opensuse-tumbleweed
7712 msgid ""
7713 "The following table shows for which distributions default tools tree "
7714 "packages are defined and which packages are included in those default tools "
7715 "trees:"
7716 msgstr ""
7717
7718 #. type: tbl table
7719 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7720 #: opensuse-leap-16-1 opensuse-tumbleweed
7721 #, no-wrap
7722 msgid "Fedora"
7723 msgstr ""
7724
7725 #. type: tbl table
7726 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7727 #: opensuse-leap-16-1 opensuse-tumbleweed
7728 #, no-wrap
7729 msgid "CentOS"
7730 msgstr ""
7731
7732 #. type: tbl table
7733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7734 #: opensuse-leap-16-1 opensuse-tumbleweed
7735 #, no-wrap
7736 msgid "Debian"
7737 msgstr ""
7738
7739 #. type: tbl table
7740 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7741 #: opensuse-leap-16-1 opensuse-tumbleweed
7742 #, no-wrap
7743 msgid "Kali"
7744 msgstr ""
7745
7746 #. type: tbl table
7747 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7748 #: opensuse-leap-16-1 opensuse-tumbleweed
7749 #, no-wrap
7750 msgid "Ubuntu"
7751 msgstr ""
7752
7753 #. type: tbl table
7754 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7755 #: opensuse-leap-16-1 opensuse-tumbleweed
7756 #, no-wrap
7757 msgid "Arch"
7758 msgstr ""
7759
7760 #. type: tbl table
7761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
7762 #: opensuse-leap-16-1 opensuse-tumbleweed
7763 #, no-wrap
7764 msgid "openSUSE"
7765 msgstr ""
7766
7767 #. type: tbl table
7768 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
7769 #, no-wrap
7770 msgid "postmarketOS"
7771 msgstr ""
7772
7773 #. type: tbl table
7774 #: archlinux debian-trixie opensuse-leap-16-1
7775 #, no-wrap
7776 msgid "\\f[CR]acl\\fR"
7777 msgstr ""
7778
7779 #. type: tbl table
7780 #: archlinux debian-trixie opensuse-leap-16-1
7781 #, no-wrap
7782 msgid "\\f[CR]apt\\fR"
7783 msgstr ""
7784
7785 #. type: tbl table
7786 #: archlinux debian-trixie opensuse-leap-16-1
7787 #, no-wrap
7788 msgid "\\f[CR]archlinux-keyring\\fR"
7789 msgstr ""
7790
7791 #. type: tbl table
7792 #: archlinux debian-trixie opensuse-leap-16-1
7793 #, no-wrap
7794 msgid "\\f[CR]attr\\fR"
7795 msgstr ""
7796
7797 #. type: tbl table
7798 #: archlinux debian-trixie opensuse-leap-16-1
7799 #, no-wrap
7800 msgid "\\f[CR]bash\\fR"
7801 msgstr ""
7802
7803 #. type: tbl table
7804 #: archlinux debian-trixie opensuse-leap-16-1
7805 #, no-wrap
7806 msgid "\\f[CR]btrfs-progs\\fR"
7807 msgstr ""
7808
7809 #. type: tbl table
7810 #: archlinux debian-trixie opensuse-leap-16-1
7811 #, no-wrap
7812 msgid "\\f[CR]ca-certificates\\fR"
7813 msgstr ""
7814
7815 #. type: tbl table
7816 #: archlinux debian-trixie opensuse-leap-16-1
7817 #, no-wrap
7818 msgid "\\f[CR]coreutils\\fR"
7819 msgstr ""
7820
7821 #. type: tbl table
7822 #: archlinux debian-trixie opensuse-leap-16-1
7823 #, no-wrap
7824 msgid "\\f[CR]cpio\\fR"
7825 msgstr ""
7826
7827 #. type: tbl table
7828 #: archlinux debian-trixie opensuse-leap-16-1
7829 #, no-wrap
7830 msgid "\\f[CR]createrepo_c\\fR"
7831 msgstr ""
7832
7833 #. type: tbl table
7834 #: archlinux debian-trixie opensuse-leap-16-1
7835 #, no-wrap
7836 msgid "\\f[CR]curl\\fR"
7837 msgstr ""
7838
7839 #. type: tbl table
7840 #: archlinux debian-trixie opensuse-leap-16-1
7841 #, no-wrap
7842 msgid "\\f[CR]debian-keyring\\fR"
7843 msgstr ""
7844
7845 #. type: tbl table
7846 #: archlinux debian-trixie opensuse-leap-16-1
7847 #, no-wrap
7848 msgid "\\f[CR]diffutils\\fR"
7849 msgstr ""
7850
7851 #. type: tbl table
7852 #: archlinux debian-trixie opensuse-leap-16-1
7853 #, no-wrap
7854 msgid "\\f[CR]distribution-gpg-keys\\fR"
7855 msgstr ""
7856
7857 #. type: tbl table
7858 #: archlinux debian-trixie opensuse-leap-16-1
7859 #, no-wrap
7860 msgid "\\f[CR]dnf\\fR"
7861 msgstr ""
7862
7863 #. type: tbl table
7864 #: archlinux debian-trixie opensuse-leap-16-1
7865 #, no-wrap
7866 msgid "\\f[CR]dosfstools\\fR"
7867 msgstr ""
7868
7869 #. type: tbl table
7870 #: archlinux debian-trixie opensuse-leap-16-1
7871 #, no-wrap
7872 msgid "\\f[CR]e2fsprogs\\fR"
7873 msgstr ""
7874
7875 #. type: tbl table
7876 #: archlinux debian-trixie opensuse-leap-16-1
7877 #, no-wrap
7878 msgid "\\f[CR]edk2-ovmf\\fR"
7879 msgstr ""
7880
7881 #. type: tbl table
7882 #: archlinux debian-trixie opensuse-leap-16-1
7883 #, no-wrap
7884 msgid "\\f[CR]erofs-utils\\fR"
7885 msgstr ""
7886
7887 #. type: tbl table
7888 #: archlinux debian-trixie opensuse-leap-16-1
7889 #, no-wrap
7890 msgid "\\f[CR]findutils\\fR"
7891 msgstr ""
7892
7893 #. type: tbl table
7894 #: archlinux debian-trixie opensuse-leap-16-1
7895 #, no-wrap
7896 msgid "\\f[CR]git\\fR"
7897 msgstr ""
7898
7899 #. type: tbl table
7900 #: archlinux debian-trixie opensuse-leap-16-1
7901 #, no-wrap
7902 msgid "\\f[CR]grep\\fR"
7903 msgstr ""
7904
7905 #. type: tbl table
7906 #: archlinux debian-trixie opensuse-leap-16-1
7907 #, no-wrap
7908 msgid "\\f[CR]grub-tools\\fR"
7909 msgstr ""
7910
7911 #. type: tbl table
7912 #: archlinux debian-trixie opensuse-leap-16-1
7913 #, no-wrap
7914 msgid "\\f[CR]jq\\fR"
7915 msgstr ""
7916
7917 #. type: tbl table
7918 #: archlinux debian-trixie opensuse-leap-16-1
7919 #, no-wrap
7920 msgid "\\f[CR]kali-archive-keyring\\fR"
7921 msgstr ""
7922
7923 #. type: tbl table
7924 #: archlinux debian-trixie opensuse-leap-16-1
7925 #, no-wrap
7926 msgid "\\f[CR]kmod\\fR"
7927 msgstr ""
7928
7929 #. type: tbl table
7930 #: archlinux debian-trixie opensuse-leap-16-1
7931 #, no-wrap
7932 msgid "\\f[CR]less\\fR"
7933 msgstr ""
7934
7935 #. type: tbl table
7936 #: archlinux debian-trixie opensuse-leap-16-1
7937 #, no-wrap
7938 msgid "\\f[CR]mtools\\fR"
7939 msgstr ""
7940
7941 #. type: tbl table
7942 #: archlinux debian-trixie opensuse-leap-16-1
7943 #, no-wrap
7944 msgid "\\f[CR]nano\\fR"
7945 msgstr ""
7946
7947 #. type: tbl table
7948 #: archlinux debian-trixie opensuse-leap-16-1
7949 #, no-wrap
7950 msgid "\\f[CR]opensc\\fR"
7951 msgstr ""
7952
7953 #. type: tbl table
7954 #: archlinux debian-trixie opensuse-leap-16-1
7955 #, no-wrap
7956 msgid "\\f[CR]openssh\\fR"
7957 msgstr ""
7958
7959 #. type: tbl table
7960 #: archlinux debian-trixie opensuse-leap-16-1
7961 #, no-wrap
7962 msgid "\\f[CR]openssl\\fR"
7963 msgstr ""
7964
7965 #. type: tbl table
7966 #: archlinux debian-trixie opensuse-leap-16-1
7967 #, no-wrap
7968 msgid "\\f[CR]pkcs11-provider\\fR"
7969 msgstr ""
7970
7971 #. type: tbl table
7972 #: archlinux debian-trixie opensuse-leap-16-1
7973 #, no-wrap
7974 msgid "\\f[CR]perf\\fR"
7975 msgstr ""
7976
7977 #. type: tbl table
7978 #: archlinux debian-trixie opensuse-leap-16-1
7979 #, no-wrap
7980 msgid "\\f[CR]sed\\fR"
7981 msgstr ""
7982
7983 #. type: tbl table
7984 #: archlinux debian-trixie opensuse-leap-16-1
7985 #, no-wrap
7986 msgid "\\f[CR]pacman\\fR"
7987 msgstr ""
7988
7989 #. type: tbl table
7990 #: archlinux
7991 #, no-wrap
7992 msgid "\\f[CR]p11-kit\\fR"
7993 msgstr ""
7994
7995 #. type: tbl table
7996 #: archlinux debian-trixie opensuse-leap-16-1
7997 #, no-wrap
7998 msgid "\\f[CR]policycoreutils\\fR"
7999 msgstr ""
8000
8001 #. type: tbl table
8002 #: archlinux debian-trixie opensuse-leap-16-1
8003 #, no-wrap
8004 msgid "\\f[CR]qemu\\fR"
8005 msgstr ""
8006
8007 #. type: tbl table
8008 #: archlinux debian-trixie opensuse-leap-16-1
8009 #, no-wrap
8010 msgid "\\f[CR]sbsigntools\\fR"
8011 msgstr ""
8012
8013 #. type: tbl table
8014 #: archlinux debian-trixie opensuse-leap-16-1
8015 #, no-wrap
8016 msgid "\\f[CR]socat\\fR"
8017 msgstr ""
8018
8019 #. type: tbl table
8020 #: archlinux debian-trixie opensuse-leap-16-1
8021 #, no-wrap
8022 msgid "\\f[CR]squashfs-tools\\fR"
8023 msgstr ""
8024
8025 #. type: tbl table
8026 #: archlinux debian-trixie opensuse-leap-16-1
8027 #, no-wrap
8028 msgid "\\f[CR]strace\\fR"
8029 msgstr ""
8030
8031 #. type: tbl table
8032 #: archlinux debian-trixie opensuse-leap-16-1
8033 #, no-wrap
8034 msgid "\\f[CR]swtpm\\fR"
8035 msgstr ""
8036
8037 #. type: tbl table
8038 #: archlinux debian-trixie opensuse-leap-16-1
8039 #, no-wrap
8040 msgid "\\f[CR]systemd\\fR"
8041 msgstr ""
8042
8043 #. type: tbl table
8044 #: archlinux debian-trixie opensuse-leap-16-1
8045 #, no-wrap
8046 msgid "\\f[CR]ukify\\fR"
8047 msgstr ""
8048
8049 #. type: tbl table
8050 #: archlinux debian-trixie opensuse-leap-16-1
8051 #, no-wrap
8052 msgid "\\f[CR]tar\\fR"
8053 msgstr ""
8054
8055 #. type: tbl table
8056 #: archlinux debian-trixie opensuse-leap-16-1
8057 #, no-wrap
8058 msgid "\\f[CR]ubuntu-keyring\\fR"
8059 msgstr ""
8060
8061 #. type: tbl table
8062 #: archlinux debian-trixie opensuse-leap-16-1
8063 #, no-wrap
8064 msgid "\\f[CR]util-linux\\fR"
8065 msgstr ""
8066
8067 #. type: tbl table
8068 #: archlinux debian-trixie opensuse-leap-16-1
8069 #, no-wrap
8070 msgid "\\f[CR]virtiofsd\\fR"
8071 msgstr ""
8072
8073 #. type: tbl table
8074 #: archlinux debian-trixie opensuse-leap-16-1
8075 #, no-wrap
8076 msgid "\\f[CR]virt-firmware\\fR"
8077 msgstr ""
8078
8079 #. type: tbl table
8080 #: archlinux debian-trixie opensuse-leap-16-1
8081 #, no-wrap
8082 msgid "\\f[CR]xfsprogs\\fR"
8083 msgstr ""
8084
8085 #. type: tbl table
8086 #: archlinux debian-trixie opensuse-leap-16-1
8087 #, no-wrap
8088 msgid "\\f[CR]xz\\fR"
8089 msgstr ""
8090
8091 #. type: tbl table
8092 #: archlinux debian-trixie opensuse-leap-16-1
8093 #, no-wrap
8094 msgid "\\f[CR]zstd\\fR"
8095 msgstr ""
8096
8097 #. type: tbl table
8098 #: archlinux debian-trixie opensuse-leap-16-1
8099 #, no-wrap
8100 msgid "\\f[CR]zypper\\fR"
8101 msgstr ""
8102
8103 #. type: SH
8104 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8105 #, no-wrap
8106 msgid "BUILDING MULTIPLE IMAGES"
8107 msgstr ""
8108
8109 #. type: Plain text
8110 #: archlinux debian-trixie opensuse-leap-16-1
8111 msgid ""
8112 "If the \\f[CR]mkosi.images/\\f[R] directory exists, \\f[B]mkosi\\f[R] will "
8113 "load individual subimage configurations from it and build each of them. "
8114 "Image configurations can be either directories containing \\f[B]mkosi\\f[R] "
8115 "configuration files or regular files with the \\f[CR].conf\\f[R] extension."
8116 "\\fR"
8117 msgstr ""
8118
8119 #. type: Plain text
8120 #: archlinux debian-trixie opensuse-leap-16-1
8121 msgid ""
8122 "When image configurations are found in \\f[CR]mkosi.images/\\f[R], "
8123 "\\f[B]mkosi\\f[R] will build the images specified in the "
8124 "\\f[CR]Dependencies=\\f[R] setting of the main image and all of their "
8125 "dependencies (or all of them if no images were explicitly configured using "
8126 "\\f[CR]Dependencies=\\f[R] in the main image configuration). To add "
8127 "dependencies between subimages, the \\f[CR]Dependencies=\\f[R] setting can "
8128 "be used as well. Subimages are always built before the main image.\\fR"
8129 msgstr ""
8130
8131 #. type: Plain text
8132 #: archlinux
8133 msgid ""
8134 "When images are defined, \\f[B]mkosi\\f[R] will first read the main image "
8135 "configuration (configuration outside of the \\f[CR]mkosi.images/\\f[R] "
8136 "directory), followed by the image specific configuration.\\fR"
8137 msgstr ""
8138
8139 #. type: Plain text
8140 #: archlinux fedora-44 fedora-rawhide
8141 msgid ""
8142 "Several \\[lq]multiversal\\[rq] settings apply to the default tools tree and "
8143 "to the main image and cannot be configured separately outside of the main "
8144 "image:"
8145 msgstr ""
8146
8147 #. type: Plain text
8148 #: archlinux debian-trixie opensuse-leap-16-1
8149 msgid "\\f[CR]RepositoryKeyCheck=\\fR"
8150 msgstr ""
8151
8152 #. type: Plain text
8153 #: archlinux
8154 msgid "\\f[CR]RepositoryKeyFetch=\\fR"
8155 msgstr ""
8156
8157 #. type: Plain text
8158 #: archlinux debian-trixie opensuse-leap-16-1
8159 msgid "\\f[CR]SourceDateEpoch=\\fR"
8160 msgstr ""
8161
8162 #. type: Plain text
8163 #: archlinux debian-trixie opensuse-leap-16-1
8164 msgid "\\f[CR]CacheOnly=\\fR"
8165 msgstr ""
8166
8167 #. type: Plain text
8168 #: archlinux debian-trixie opensuse-leap-16-1
8169 msgid "\\f[CR]WorkspaceDirectory=\\fR"
8170 msgstr ""
8171
8172 #. type: Plain text
8173 #: archlinux debian-trixie opensuse-leap-16-1
8174 msgid "\\f[CR]PackageCacheDirectory=\\fR"
8175 msgstr ""
8176
8177 #. type: Plain text
8178 #: archlinux debian-trixie opensuse-leap-16-1
8179 msgid "\\f[CR]BuildSourcesEphemeral=\\fR"
8180 msgstr ""
8181
8182 #. type: Plain text
8183 #: archlinux debian-trixie opensuse-leap-16-1
8184 msgid "\\f[CR]ProxyClientCertificate=\\fR"
8185 msgstr ""
8186
8187 #. type: Plain text
8188 #: archlinux debian-trixie opensuse-leap-16-1
8189 msgid "\\f[CR]ProxyClientKey=\\fR"
8190 msgstr ""
8191
8192 #. type: Plain text
8193 #: archlinux debian-trixie opensuse-leap-16-1
8194 msgid "\\f[CR]ProxyExclude=\\fR"
8195 msgstr ""
8196
8197 #. type: Plain text
8198 #: archlinux debian-trixie opensuse-leap-16-1
8199 msgid "\\f[CR]ProxyPeerCertificate=\\fR"
8200 msgstr ""
8201
8202 #. type: Plain text
8203 #: archlinux debian-trixie opensuse-leap-16-1
8204 msgid "\\f[CR]ProxyUrl=\\fR"
8205 msgstr ""
8206
8207 #. type: Plain text
8208 #: archlinux fedora-44 fedora-rawhide
8209 msgid ""
8210 "Several \\[lq]universal\\[rq] settings apply to the main image and all its "
8211 "subimages and cannot be configured separately in subimages. The following "
8212 "settings are universal and cannot be configured in subimages:"
8213 msgstr ""
8214
8215 #. type: Plain text
8216 #: archlinux debian-trixie opensuse-leap-16-1
8217 msgid "\\f[CR]BuildDirectory=\\fR"
8218 msgstr ""
8219
8220 #. type: Plain text
8221 #: archlinux debian-trixie opensuse-leap-16-1
8222 msgid "\\f[CR]CacheDirectory=\\fR"
8223 msgstr ""
8224
8225 #. type: Plain text
8226 #: archlinux debian-trixie opensuse-leap-16-1
8227 msgid "\\f[CR]ExtraSearchPaths=\\fR"
8228 msgstr ""
8229
8230 #. type: Plain text
8231 #: archlinux debian-trixie opensuse-leap-16-1
8232 msgid "\\f[CR]Incremental=\\fR"
8233 msgstr ""
8234
8235 #. type: Plain text
8236 #: archlinux debian-trixie opensuse-leap-16-1
8237 msgid "\\f[CR]LocalMirror=\\fR"
8238 msgstr ""
8239
8240 #. type: Plain text
8241 #: archlinux debian-trixie opensuse-leap-16-1
8242 msgid "\\f[CR]Mirror=\\fR"
8243 msgstr ""
8244
8245 #. type: Plain text
8246 #: archlinux debian-trixie opensuse-leap-16-1
8247 msgid "\\f[CR]OutputMode=\\fR"
8248 msgstr ""
8249
8250 #. type: Plain text
8251 #: archlinux debian-trixie opensuse-leap-16-1
8252 msgid "\\f[CR]PackageDirectories=\\fR"
8253 msgstr ""
8254
8255 #. type: Plain text
8256 #: archlinux debian-trixie opensuse-leap-16-1
8257 msgid "\\f[CR]RepartOffline=\\fR"
8258 msgstr ""
8259
8260 #. type: Plain text
8261 #: archlinux debian-trixie opensuse-leap-16-1
8262 msgid "\\f[CR]SandboxTrees=\\fR"
8263 msgstr ""
8264
8265 #. type: Plain text
8266 #: archlinux debian-trixie opensuse-leap-16-1
8267 msgid "\\f[CR]ToolsTree=\\fR"
8268 msgstr ""
8269
8270 #. type: Plain text
8271 #: archlinux debian-trixie opensuse-leap-16-1
8272 msgid "\\f[CR]ToolsTreeCertificates=\\fR"
8273 msgstr ""
8274
8275 #. type: Plain text
8276 #: archlinux debian-trixie opensuse-leap-16-1
8277 msgid "\\f[CR]UseSubvolumes=\\fR"
8278 msgstr ""
8279
8280 #. type: Plain text
8281 #: archlinux debian-trixie opensuse-leap-16-1
8282 msgid "\\f[CR]SecureBootCertificate=\\fR"
8283 msgstr ""
8284
8285 #. type: Plain text
8286 #: archlinux debian-trixie opensuse-leap-16-1
8287 msgid "\\f[CR]SecureBootCertificateSource=\\fR"
8288 msgstr ""
8289
8290 #. type: Plain text
8291 #: archlinux debian-trixie opensuse-leap-16-1
8292 msgid "\\f[CR]SecureBootKey=\\fR"
8293 msgstr ""
8294
8295 #. type: Plain text
8296 #: archlinux debian-trixie opensuse-leap-16-1
8297 msgid "\\f[CR]SecureBootKeySource=\\fR"
8298 msgstr ""
8299
8300 #. type: Plain text
8301 #: archlinux debian-trixie opensuse-leap-16-1
8302 msgid "\\f[CR]VerityCertificate=\\fR"
8303 msgstr ""
8304
8305 #. type: Plain text
8306 #: archlinux debian-trixie opensuse-leap-16-1
8307 msgid "\\f[CR]VerityCertificateSource=\\fR"
8308 msgstr ""
8309
8310 #. type: Plain text
8311 #: archlinux debian-trixie opensuse-leap-16-1
8312 msgid "\\f[CR]VerityKey=\\fR"
8313 msgstr ""
8314
8315 #. type: Plain text
8316 #: archlinux debian-trixie opensuse-leap-16-1
8317 msgid "\\f[CR]VerityKeySource=\\fR"
8318 msgstr ""
8319
8320 #. type: Plain text
8321 #: archlinux debian-trixie opensuse-leap-16-1
8322 msgid "\\f[CR]VolatilePackageDirectories=\\fR"
8323 msgstr ""
8324
8325 #. type: Plain text
8326 #: archlinux debian-trixie opensuse-leap-16-1
8327 msgid "\\f[CR]WithNetwork=\\fR"
8328 msgstr ""
8329
8330 #. type: Plain text
8331 #: archlinux debian-trixie opensuse-leap-16-1
8332 msgid "\\f[CR]WithTests\\fR"
8333 msgstr ""
8334
8335 #. type: Plain text
8336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8337 #: opensuse-leap-16-1 opensuse-tumbleweed
8338 msgid ""
8339 "There are also settings which are passed down to subimages but can be "
8340 "overridden. For these settings, values configured explicitly in the "
8341 "subimage will take priority over values configured on the CLI or in the main "
8342 "image config. Currently the following settings are passed down to subimages "
8343 "but can be overridden:"
8344 msgstr ""
8345
8346 #. type: Plain text
8347 #: archlinux debian-trixie opensuse-leap-16-1
8348 msgid "\\f[CR]SectorSize=\\fR"
8349 msgstr ""
8350
8351 #. type: Plain text
8352 #: archlinux
8353 msgid "\\f[CR]CacheKey=\\fR"
8354 msgstr ""
8355
8356 #. type: Plain text
8357 #: archlinux
8358 msgid "\\f[CR]BuildKey=\\fR"
8359 msgstr ""
8360
8361 #. type: Plain text
8362 #: archlinux
8363 msgid "\\f[CR]CompressLevel=\\fR"
8364 msgstr ""
8365
8366 #. type: Plain text
8367 #: archlinux debian-trixie opensuse-leap-16-1
8368 msgid "\\f[CR]SignExpectedPcrKey=\\fR"
8369 msgstr ""
8370
8371 #. type: Plain text
8372 #: archlinux debian-trixie opensuse-leap-16-1
8373 msgid "\\f[CR]SignExpectedPcrKeySource=\\fR"
8374 msgstr ""
8375
8376 #. type: Plain text
8377 #: archlinux debian-trixie opensuse-leap-16-1
8378 msgid "\\f[CR]SignExpectedPcrCertificate=\\fR"
8379 msgstr ""
8380
8381 #. type: Plain text
8382 #: archlinux debian-trixie opensuse-leap-16-1
8383 msgid "\\f[CR]SignExpectedPcrCertificateSource=\\fR"
8384 msgstr ""
8385
8386 #. type: Plain text
8387 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8388 msgid ""
8389 "Additionally, there are various settings that can only be configured in the "
8390 "main image but which are not passed down to subimages:"
8391 msgstr ""
8392
8393 #. type: Plain text
8394 #: archlinux
8395 msgid "\\f[CR]MinimumVersion=\\fR"
8396 msgstr ""
8397
8398 #. type: Plain text
8399 #: archlinux
8400 msgid "\\f[CR]PassEnvironment=\\fR"
8401 msgstr ""
8402
8403 #. type: Plain text
8404 #: archlinux
8405 msgid "\\f[CR]ToolsTreeProfiles=\\fR"
8406 msgstr ""
8407
8408 #. type: Plain text
8409 #: archlinux
8410 msgid "\\f[CR]ToolsTreeMirror=\\fR"
8411 msgstr ""
8412
8413 #. type: Plain text
8414 #: archlinux
8415 msgid "\\f[CR]ToolsTreeRepositories=\\fR"
8416 msgstr ""
8417
8418 #. type: Plain text
8419 #: archlinux
8420 msgid "\\f[CR]ToolsTreeSandboxTrees=\\fR"
8421 msgstr ""
8422
8423 #. type: Plain text
8424 #: archlinux
8425 msgid "\\f[CR]ToolsTreePackages=\\fR"
8426 msgstr ""
8427
8428 #. type: Plain text
8429 #: archlinux
8430 msgid "\\f[CR]ToolsTreePackageDirectories=\\fR"
8431 msgstr ""
8432
8433 #. type: Plain text
8434 #: archlinux
8435 msgid "\\f[CR]History=\\fR"
8436 msgstr ""
8437
8438 #. type: Plain text
8439 #: archlinux
8440 msgid "Every setting in the \\f[CR][Runtime]\\f[R] section\\fR"
8441 msgstr ""
8442
8443 #. type: Plain text
8444 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8445 #: opensuse-leap-16-1 opensuse-tumbleweed
8446 msgid ""
8447 "Images can refer to outputs of images they depend on. Specifically, for the "
8448 "following options, \\f[B]mkosi\\f[R] will only check whether the inputs "
8449 "exist just before building the image:\\fR"
8450 msgstr ""
8451
8452 #. type: Plain text
8453 #: archlinux debian-trixie opensuse-leap-16-1
8454 msgid "\\f[CR]BaseTrees=\\fR"
8455 msgstr ""
8456
8457 #. type: Plain text
8458 #: archlinux debian-trixie opensuse-leap-16-1
8459 msgid "\\f[CR]ExtraTrees=\\fR"
8460 msgstr ""
8461
8462 #. type: Plain text
8463 #: archlinux debian-trixie opensuse-leap-16-1
8464 msgid "\\f[CR]Initrds=\\fR"
8465 msgstr ""
8466
8467 #. type: Plain text
8468 #: archlinux debian-trixie opensuse-leap-16-1
8469 msgid ""
8470 "To refer to outputs of a image\\[cq]s dependencies, simply configure any of "
8471 "these options with a relative path to the output to use in the output "
8472 "directory of the dependency. Or use the \\f[CR]%O\\f[R] specifier to refer "
8473 "to the output directory.\\fR"
8474 msgstr ""
8475
8476 #. type: Plain text
8477 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8478 msgid ""
8479 "A good example on how to build multiple images can be found in the E<.UR "
8480 "https://github.com/systemd/systemd/tree/main/mkosi/mkosi.images> systemd "
8481 "E<.UE > \\ repository."
8482 msgstr ""
8483
8484 #. type: SH
8485 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8486 #: opensuse-leap-16-1 opensuse-tumbleweed
8487 #, no-wrap
8488 msgid "ENVIRONMENT VARIABLES"
8489 msgstr ""
8490
8491 #. type: Plain text
8492 #: archlinux debian-trixie opensuse-leap-16-1
8493 msgid ""
8494 "\\f[CR]$MKOSI_LESS\\f[R] overrides options for \\f[B]less\\f[R] when it is "
8495 "invoked by \\f[B]mkosi\\f[R] to page output.\\fR"
8496 msgstr ""
8497
8498 #. type: Plain text
8499 #: archlinux debian-trixie opensuse-leap-16-1
8500 msgid ""
8501 "\\f[CR]$MKOSI_DNF\\f[R] can be used to override the executable used as "
8502 "\\f[B]dnf\\f[R]. This is particularly useful to select between "
8503 "\\f[B]dnf\\f[R] and \\f[B]dnf5\\f[R].\\fR"
8504 msgstr ""
8505
8506 #. type: Plain text
8507 #: archlinux debian-trixie opensuse-leap-16-1
8508 msgid ""
8509 "\\f[CR]$EPEL_MIRROR\\f[R] can be used to override the default mirror "
8510 "location used for the epel repositories when \\f[CR]Mirror=\\f[R] is used. "
8511 "By default \\f[B]mkosi\\f[R] looks for the epel repositories in the "
8512 "\\f[CR]fedora\\f[R] subdirectory of the parent directory of the mirror "
8513 "specified in \\f[CR]Mirror=\\f[R]. For example if the mirror is set to "
8514 "\\f[CR]https://mirror.net/centos-stream\\f[R] \\f[B]mkosi\\f[R] will look "
8515 "for the epel repositories in \\f[CR]https://mirror.net/fedora/epel\\f[R].\\fR"
8516 msgstr ""
8517
8518 #. type: Plain text
8519 #: archlinux debian-trixie opensuse-leap-16-1
8520 msgid ""
8521 "\\f[CR]SYSEXT_SCOPE\\f[R] and \\f[CR]CONFEXT_SCOPE\\f[R] can be used to "
8522 "override the default value of the respective \\f[CR]extension-release\\f[R] "
8523 "file when building a sysext or confext. By default the value is set to "
8524 "\\f[CR]initrd system portable\\f[R].\\fR"
8525 msgstr ""
8526
8527 #. type: SH
8528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8529 #: opensuse-leap-16-1 opensuse-tumbleweed
8530 #, no-wrap
8531 msgid "EXAMPLES"
8532 msgstr ""
8533
8534 #. type: Plain text
8535 #: archlinux debian-trixie opensuse-leap-16-1
8536 msgid ""
8537 "Create and run a raw \\f[I]GPT\\f[R] image with \\f[I]ext4\\f[R], as "
8538 "\\f[CR]image.raw\\f[R]:\\fR"
8539 msgstr ""
8540
8541 #. type: Plain text
8542 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8543 #, no-wrap
8544 msgid "# mkosi -p systemd -i boot\n"
8545 msgstr ""
8546
8547 #. type: Plain text
8548 #: archlinux debian-trixie opensuse-leap-16-1
8549 msgid ""
8550 "Create and run a bootable \\f[I]GPT\\f[R] image, as \\f[CR]foobar.raw\\f[R]:"
8551 "\\fR"
8552 msgstr ""
8553
8554 #. type: Plain text
8555 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8556 #: opensuse-leap-16-1 opensuse-tumbleweed
8557 #, no-wrap
8558 msgid ""
8559 "$ mkosi -d fedora -p kernel-core -p systemd -p systemd-boot -p udev -o foobar.raw\n"
8560 "# mkosi --output foobar.raw boot\n"
8561 "$ mkosi --output foobar.raw vm\n"
8562 msgstr ""
8563
8564 #. type: Plain text
8565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8566 #: opensuse-leap-16-1 opensuse-tumbleweed
8567 msgid ""
8568 "Create and run a \\f[I]Fedora Linux\\f[R] image in a plain directory:\\fR"
8569 msgstr ""
8570
8571 #. type: Plain text
8572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8573 #: opensuse-leap-16-1 opensuse-tumbleweed
8574 #, no-wrap
8575 msgid "# mkosi --distribution fedora --format directory boot\n"
8576 msgstr ""
8577
8578 #. type: Plain text
8579 #: archlinux debian-trixie opensuse-leap-16-1
8580 msgid ""
8581 "Create a compressed image \\f[CR]image.raw.xz\\f[R] with SSH installed and "
8582 "add a checksum file:\\fR"
8583 msgstr ""
8584
8585 #. type: Plain text
8586 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8587 #, no-wrap
8588 msgid "$ mkosi --distribution fedora --format disk --checksum=yes --compress-output=yes --package=openssh-clients\n"
8589 msgstr ""
8590
8591 #. type: Plain text
8592 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8593 #: opensuse-leap-16-1 opensuse-tumbleweed
8594 msgid ""
8595 "Inside the source directory of an \\f[B]automake\\f[R]-based project, "
8596 "configure \\f[B]mkosi\\f[R] so that simply invoking \\f[B]mkosi\\f[R] "
8597 "without any parameters builds an OS image containing a built version of the "
8598 "project in its current state:\\fR"
8599 msgstr ""
8600
8601 #. type: Plain text
8602 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8603 #: opensuse-leap-16-1 opensuse-tumbleweed
8604 #, no-wrap
8605 msgid ""
8606 "$ cat E<gt>mkosi.conf E<lt>E<lt>EOF\n"
8607 "[Distribution]\n"
8608 "Distribution=fedora\n"
8609 msgstr ""
8610
8611 #. type: Plain text
8612 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8613 #: opensuse-leap-16-1 opensuse-tumbleweed
8614 #, no-wrap
8615 msgid ""
8616 "[Output]\n"
8617 "Format=disk\n"
8618 msgstr ""
8619
8620 #. type: Plain text
8621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8622 #: opensuse-leap-16-1 opensuse-tumbleweed
8623 #, no-wrap
8624 msgid ""
8625 "[Content]\n"
8626 "Packages=kernel,systemd,systemd-udev,openssh-clients,httpd\n"
8627 "BuildPackages=make,gcc,libcurl-devel\n"
8628 "EOF\n"
8629 "$ cat E<gt>mkosi.build E<lt>E<lt>EOF\n"
8630 "#!/bin/sh\n"
8631 msgstr ""
8632
8633 #. type: Plain text
8634 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
8635 #, no-wrap
8636 msgid ""
8637 "if [ \\[dq]$container\\[dq] != \\[dq]mkosi\\[dq] ]; then\n"
8638 " exec mkosi-chroot \\[dq]$CHROOT_SCRIPT\\[dq] \\[dq]$\\[at]\\[dq]\n"
8639 "fi\n"
8640 msgstr ""
8641
8642 #. type: Plain text
8643 #: archlinux fedora-44 fedora-rawhide
8644 #, no-wrap
8645 msgid ""
8646 "cd $SRCDIR\n"
8647 "\\&./autogen.sh\n"
8648 "\\&./configure --prefix=/usr\n"
8649 "make -j \\[ga]nproc\\[ga]\n"
8650 "make install\n"
8651 "EOF\n"
8652 "$ chmod +x mkosi.build\n"
8653 "# mkosi -i boot\n"
8654 "# systemd-nspawn -bi image.raw\n"
8655 msgstr ""
8656
8657 #. type: SS
8658 #: archlinux debian-trixie opensuse-leap-16-1
8659 #, no-wrap
8660 msgid "Different ways to boot with \\f[CR]vm\\fB"
8661 msgstr ""
8662
8663 #. type: Plain text
8664 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8665 #: opensuse-leap-16-1 opensuse-tumbleweed
8666 msgid ""
8667 "The easiest way to boot a virtual machine is to build an image with the "
8668 "required components and let \\f[B]mkosi\\f[R] call \\f[B]qemu\\f[R] with all "
8669 "the right options:\\fR"
8670 msgstr ""
8671
8672 #. type: Plain text
8673 #: archlinux fedora-44 fedora-rawhide
8674 #, no-wrap
8675 msgid ""
8676 "$ mkosi -d fedora -p systemd-udev,systemd-boot,kernel-core build\n"
8677 "$ mkosi -d fedora vm\n"
8678 "\\&...\n"
8679 "fedora login: root (automatic login)\n"
8680 "[root\\[at]fedora \\[ti]]#\n"
8681 msgstr ""
8682
8683 #. type: Plain text
8684 #: archlinux debian-trixie opensuse-leap-16-1
8685 msgid ""
8686 "The default is to boot with a text console only. In this mode, messages "
8687 "from the boot loader, the kernel, and systemd, and later the "
8688 "\\f[B]getty\\f[R] login prompt and shell all use the same terminal. It is "
8689 "possible to switch between the \\f[B]qemu\\f[R] console and monitor by "
8690 "pressing \\f[CR]Ctrl-a c\\f[R]. The \\f[B]qemu\\f[R] monitor may for "
8691 "example be used to inject special keys or shut down the machine quickly. "
8692 "Alternatively the machine can be shut down using \\f[CR]Ctrl-a x\\f[R].\\fR"
8693 msgstr ""
8694
8695 #. type: Plain text
8696 #: archlinux debian-trixie opensuse-leap-16-1
8697 msgid "To boot with a graphical window, add \\f[CR]--console=gui\\f[R]:\\fR"
8698 msgstr ""
8699
8700 #. type: Plain text
8701 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8702 #: opensuse-leap-16-1 opensuse-tumbleweed
8703 #, no-wrap
8704 msgid "$ mkosi -d fedora --console=gui qemu\n"
8705 msgstr ""
8706
8707 #. type: Plain text
8708 #: archlinux
8709 msgid ""
8710 "A kernel may be booted directly with \\f[CR]mkosi vm -kernel ... -initrd ... "
8711 "-append \\[aq]...\\[aq]\\f[R]. This is a bit faster because no boot loader "
8712 "is used, and it is also easier to experiment with different kernels and "
8713 "kernel command lines. Note that despite the name, \\f[B]qemu\\f[R]\\[cq]s "
8714 "\\f[CR]-append\\f[R] option replaces the default kernel command line "
8715 "embedded in the kernel and any previous \\f[CR]-append\\f[R] specifications."
8716 "\\fR"
8717 msgstr ""
8718
8719 #. type: Plain text
8720 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8721 #: opensuse-leap-16-1 opensuse-tumbleweed
8722 msgid ""
8723 "The UKI is also copied into the output directory and may be booted directly:"
8724 msgstr ""
8725
8726 #. type: Plain text
8727 #: archlinux fedora-44 fedora-rawhide
8728 #, no-wrap
8729 msgid "$ mkosi vm -- -kernel mkosi.output/fedora\\[ti]38/image.efi\n"
8730 msgstr ""
8731
8732 #. type: Plain text
8733 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
8734 msgid ""
8735 "When booting using an external kernel, we don\\[cq]t need the kernel "
8736 "\\f[I]in\\f[R] the image, but we would still want the kernel modules to be "
8737 "installed.\\fR"
8738 msgstr ""
8739
8740 #. type: Plain text
8741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8742 #: opensuse-leap-16-1 opensuse-tumbleweed
8743 msgid ""
8744 "It is also possible to do a \\f[I]direct kernel boot\\f[R] into a boot "
8745 "loader, taking advantage of the fact that \\f[B]systemd-boot\\f[R](7) is a "
8746 "valid UEFI binary:\\fR"
8747 msgstr ""
8748
8749 #. type: Plain text
8750 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8751 #, no-wrap
8752 msgid "$ mkosi vm -- -kernel /usr/lib/systemd/boot/efi/systemd-bootx64.efi\n"
8753 msgstr ""
8754
8755 #. type: Plain text
8756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8757 #: opensuse-leap-16-1 opensuse-tumbleweed
8758 msgid ""
8759 "In this scenario, the kernel is loaded from the ESP in the image by "
8760 "\\f[B]systemd-boot\\f[R].\\fR"
8761 msgstr ""
8762
8763 #. type: SH
8764 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8765 #: opensuse-leap-16-1 opensuse-tumbleweed
8766 #, no-wrap
8767 msgid "REQUIREMENTS"
8768 msgstr ""
8769
8770 #. type: Plain text
8771 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8772 msgid ""
8773 "mkosi is packaged for various distributions: Debian, Kali, Ubuntu, Arch "
8774 "Linux, Fedora Linux, OpenMandriva, Gentoo, postmarketOS. Note that it has "
8775 "been a while since the last release and the packages shipped by "
8776 "distributions are very out of date. We currently recommend running "
8777 "\\f[B]mkosi\\f[R] from git until a new release happens.\\fR"
8778 msgstr ""
8779
8780 #. type: Plain text
8781 #: archlinux debian-trixie opensuse-leap-16-1
8782 msgid ""
8783 "mkosi requires a Linux kernel that provides \\f[CR]mount_setattr()\\f[R] "
8784 "which was introduces in 5.12.\\fR"
8785 msgstr ""
8786
8787 #. type: Plain text
8788 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8789 #: opensuse-leap-16-1 opensuse-tumbleweed
8790 msgid "mkosi currently requires systemd 254 to build bootable disk images."
8791 msgstr ""
8792
8793 #. type: Plain text
8794 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8795 #: opensuse-leap-16-1 opensuse-tumbleweed
8796 msgid ""
8797 "When not using distribution packages make sure to install the necessary "
8798 "dependencies. For example, on \\f[I]Fedora Linux\\f[R] you need:\\fR"
8799 msgstr ""
8800
8801 #. type: Plain text
8802 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-leap-16-1
8803 #: opensuse-tumbleweed
8804 #, no-wrap
8805 msgid "\\f[I]# dnf install btrfs-progs apt dosfstools mtools edk2-ovmf e2fsprogs squashfs-tools gnupg python3 tar xfsprogs xz zypper sbsigntools\\fR\n"
8806 msgstr ""
8807
8808 #. type: Plain text
8809 #: archlinux debian-trixie opensuse-leap-16-1
8810 msgid ""
8811 "On Debian/Kali/Ubuntu it might be necessary to install the \\f[CR]ubuntu-"
8812 "keyring\\f[R], \\f[CR]ubuntu-archive-keyring\\f[R], \\f[CR]kali-archive-"
8813 "keyring\\f[R] and/or \\f[CR]debian-archive-keyring\\f[R] packages "
8814 "explicitly, in addition to \\f[B]apt\\f[R], depending on what kind of "
8815 "distribution images you want to build.\\fR"
8816 msgstr ""
8817
8818 #. type: Plain text
8819 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8820 #: opensuse-leap-16-1 opensuse-tumbleweed
8821 msgid "Note that the minimum required Python version is 3.9."
8822 msgstr ""
8823
8824 #. type: Plain text
8825 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8826 #: opensuse-leap-16-1 opensuse-tumbleweed
8827 msgid ""
8828 "mkosi needs unrestricted abilities to create and act within namespaces. "
8829 "Some distros restrict creation of, or capabilities within, user namespaces, "
8830 "which breaks mkosi."
8831 msgstr ""
8832
8833 #. type: Plain text
8834 #: archlinux debian-trixie opensuse-leap-16-1
8835 msgid ""
8836 "For information about Ubuntu, that implements such restrictions using "
8837 "AppArmor, see https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-"
8838 "user-namespaces. For other systems, try researching the "
8839 "\\f[CR]kernel.unprivileged_userns_clone\\f[R] or "
8840 "\\f[CR]user.max.user_namespace\\f[R] sysctls.\\fR"
8841 msgstr ""
8842
8843 #. type: Plain text
8844 #: archlinux
8845 msgid ""
8846 "For Ubuntu systems, you can remove the restrictions for \\f[B]mkosi\\f[R] by "
8847 "adapting this snippet to point to your \\f[B]mkosi\\f[R] binary, copying it "
8848 "to \\f[CR]/etc/apparmor.d/resolved.path.to.mkosi\\f[R], and then running "
8849 "\\f[CR]systemctl reload apparmor\\f[R]:\\fR"
8850 msgstr ""
8851
8852 #. type: Plain text
8853 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8854 #: opensuse-leap-16-1 opensuse-tumbleweed
8855 #, no-wrap
8856 msgid "abi E<lt>abi/4.0E<gt>,\n"
8857 msgstr ""
8858
8859 #. type: Plain text
8860 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8861 #: opensuse-leap-16-1 opensuse-tumbleweed
8862 #, no-wrap
8863 msgid "include E<lt>tunables/globalE<gt>\n"
8864 msgstr ""
8865
8866 #. type: Plain text
8867 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8868 #, no-wrap
8869 msgid ""
8870 "/resolved/path/to/mkosi flags=(default_allow) {\n"
8871 " userns,\n"
8872 "}\n"
8873 msgstr ""
8874
8875 #. type: SH
8876 #: archlinux debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
8877 #, no-wrap
8878 msgid "FREQUENTLY ASKED QUESTIONS (FAQ)"
8879 msgstr ""
8880
8881 #. type: Plain text
8882 #: archlinux debian-trixie opensuse-leap-16-1
8883 msgid ""
8884 "Why does \\f[CR]mkosi vm\\f[R] with KVM not work on Debian/Kali/Ubuntu?\\fR"
8885 msgstr ""
8886
8887 #. type: Plain text
8888 #: archlinux debian-trixie opensuse-leap-16-1
8889 msgid ""
8890 "While other distributions are OK with allowing access to \\f[CR]/dev/"
8891 "kvm\\f[R], on Debian/Kali/Ubuntu this is only allowed for users in the "
8892 "\\f[CR]kvm\\f[R] group. Because \\f[B]mkosi\\f[R] unshares a user namespace "
8893 "when running unprivileged, even if the calling user was in the kvm group, "
8894 "when \\f[B]mkosi\\f[R] unshares the user namespace to run unprivileged, it "
8895 "loses access to the \\f[CR]kvm\\f[R] group and by the time we start "
8896 "\\f[B]qemu\\f[R] we don\\[cq]t have access to \\f[CR]/dev/kvm\\f[R] "
8897 "anymore. As a workaround, you can change the permissions of the device "
8898 "nodes to \\f[CR]0666\\f[R] which is sufficient to make KVM work "
8899 "unprivileged. To persist these settings across reboots, copy \\f[CR]/usr/"
8900 "lib/tmpfiles.d/static-nodes-permissions.conf\\f[R] to \\f[CR]/etc/tmpfiles.d/"
8901 "static-nodes-permissions.conf\\f[R] and change the mode of \\f[CR]/dev/"
8902 "kvm\\f[R] from \\f[CR]0660\\f[R] to \\f[CR]0666\\f[R].\\fR"
8903 msgstr ""
8904
8905 #. type: Plain text
8906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8907 #: opensuse-leap-16-1 opensuse-tumbleweed
8908 msgid "How do I add a regular user to an image?"
8909 msgstr ""
8910
8911 #. type: Plain text
8912 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8913 #: opensuse-leap-16-1 opensuse-tumbleweed
8914 msgid "You can use the following snippet in a post-installation script:"
8915 msgstr ""
8916
8917 #. type: Plain text
8918 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
8919 #, no-wrap
8920 msgid "useradd --create-home --user-group $USER --password \\[dq]$(openssl passwd -stdin -6 E<lt>$USER_PASSWORD_FILE)\\[dq]\n"
8921 msgstr ""
8922
8923 #. type: Plain text
8924 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8925 #: opensuse-leap-16-1 opensuse-tumbleweed
8926 msgid ""
8927 "Note that from systemd v256 onwards, if enabled, \\f[B]systemd-homed-"
8928 "firstboot.service\\f[R] will prompt to create a regular user on first boot "
8929 "if there are no regular users.\\fR"
8930 msgstr ""
8931
8932 #. type: Plain text
8933 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8934 #: opensuse-leap-16-1 opensuse-tumbleweed
8935 msgid "Why do I see failures to chown files when building images?"
8936 msgstr ""
8937
8938 #. type: Plain text
8939 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
8940 #: opensuse-leap-16-1 opensuse-tumbleweed
8941 msgid ""
8942 "When not running as root, your user is not able to change ownership of files "
8943 "to arbitrary owners. Various distributions still ship files in their "
8944 "packages that are not owned by the root user. When not running as root, "
8945 "mkosi maps the current user to root when invoking package managers, which "
8946 "means that changing ownership to root will work but changing ownership to "
8947 "any other user or group will fail."
8948 msgstr ""
8949
8950 #. type: Plain text
8951 #: archlinux debian-trixie opensuse-leap-16-1
8952 msgid ""
8953 "Note that chown calls are only suppressed when running package managers, but "
8954 "not when running scripts. If this is required, e.g.\\ for a build script, "
8955 "you can set the \\f[CR]MKOSI_CHROOT_SUPPRESS_CHOWN\\f[R] variable to a true "
8956 "value (\\f[CR]1\\f[R], \\f[CR]yes\\f[R], \\f[CR]true\\f[R]) to suppress "
8957 "chown calls in \\f[B]mkosi-chroot\\f[R] and \\f[CR].chroot\\f[R] scripts.\\fR"
8958 msgstr ""
8959
8960 #. type: Plain text
8961 #: archlinux debian-trixie opensuse-leap-16-1
8962 msgid ""
8963 "If this behavior causes applications running in your image to misbehave, you "
8964 "can consider running \\f[B]mkosi\\f[R] as root which avoids this problem. "
8965 "Alternatively, if running \\f[B]mkosi\\f[R] as root is not desired, you can "
8966 "use \\f[CR]unshare --map-auto --map-current-user --setuid 0 --setgid 0\\f[R] "
8967 "to become root in a user namespace with more than one user assuming the UID/"
8968 "GID mappings in \\f[CR]/etc/subuid\\f[R] and \\f[CR]/etc/subgid\\f[R] are "
8969 "configured correctly. Note that running mkosi as root or with "
8970 "\\f[CR]unshare\\f[R] means that all output files produced by "
8971 "\\f[B]mkosi\\f[R] will not be owned by your current user anymore.\\fR"
8972 msgstr ""
8973
8974 #. type: Plain text
8975 #: archlinux debian-trixie opensuse-leap-16-1
8976 msgid ""
8977 "Note that for systemd services that need directories in \\f[CR]/var\\f[R] "
8978 "owned by the service user and group, an alternative to shipping these "
8979 "directories in packages or creating them via systemd-tmpfiles is to use "
8980 "\\f[CR]StateDirectory=\\f[R], \\f[CR]CacheDirectory=\\f[R] or "
8981 "\\f[CR]LogsDirectory=\\f[R] in the service file which instructs systemd to "
8982 "create the directory when it first starts the service.\\fR"
8983 msgstr ""
8984
8985 #. type: Plain text
8986 #: archlinux debian-trixie opensuse-leap-16-1
8987 msgid ""
8988 "Alternatively, the \\f[CR]z\\f[R] or \\f[CR]Z\\f[R] directives for "
8989 "\\f[CR]systemd-tmpfiles\\f[R] can be used to chown various directories and "
8990 "files to their owning user when the system first boots up.\\fR"
8991 msgstr ""
8992
8993 #. type: Plain text
8994 #: archlinux debian-trixie opensuse-leap-16-1
8995 msgid ""
8996 "Why does \\f[CR]portablectl inspect E<lt>imageE<gt>\\f[R]/\\f[CR]systemd-"
8997 "dissect E<lt>imageE<gt>\\f[R] say my portable service isn\\[cq]t one?\\fR"
8998 msgstr ""
8999
9000 #. type: Plain text
9001 #: archlinux debian-trixie opensuse-leap-16-1
9002 msgid ""
9003 "\\f[CR]systemd-dissect\\f[R] and\\f[CR]portablectl inspect\\f[R] check for "
9004 "\\f[CR]PORTABLE_PREFIXES=\\f[R] in \\f[CR]os-release\\f[R] and if the key is "
9005 "missing, will fail to recognise a portable service as one, showing ✗ under "
9006 "\\f[I]Use as\\f[R] for in the case of \\f[CR]systemd-dissect\\f[R] or "
9007 "\\f[CR]n/a\\f[R] under \\f[I]Portable Service\\f[R] for "
9008 "\\f[CR]portablectl\\f[R].\\fR"
9009 msgstr ""
9010
9011 #. type: Plain text
9012 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
9013 msgid ""
9014 "Since there is no good default to set for this key and the generated "
9015 "portable service images will still attach properly, even when the key is not "
9016 "set, \\f[B]mkosi\\f[R] doesn\\[cq]t set one.\\fR"
9017 msgstr ""
9018
9019 #. type: Plain text
9020 #: archlinux debian-trixie opensuse-leap-16-1
9021 msgid ""
9022 "You can set \\f[CR]PORTABLE_PREFIXES=\\f[R] in the \\f[CR]os-release\\f[R] "
9023 "file yourself in a postinst script.\\fR"
9024 msgstr ""
9025
9026 #. type: SH
9027 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
9028 #: opensuse-leap-16-1 opensuse-tumbleweed
9029 #, no-wrap
9030 msgid "REFERENCES"
9031 msgstr ""
9032
9033 #. type: Plain text
9034 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
9035 #: opensuse-leap-16-1 opensuse-tumbleweed
9036 msgid ""
9037 "E<.UR https://github.com/systemd/mkosi/> Primary mkosi git repository on "
9038 "GitHub E<.UE >"
9039 msgstr ""
9040
9041 #. type: Plain text
9042 #: archlinux debian-trixie fedora-44 fedora-rawhide opensuse-leap-16-1
9043 msgid ""
9044 "E<.UR https://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html> "
9045 "mkosi \\[em] A Tool for Generating OS Images E<.UE > \\ introductory blog "
9046 "post by Lennart Poettering"
9047 msgstr ""
9048
9049 #. type: Plain text
9050 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
9051 #: opensuse-leap-16-1 opensuse-tumbleweed
9052 msgid ""
9053 "E<.UR https://lwn.net/Articles/726655/> The mkosi OS generation tool E<.UE > "
9054 "\\ story on LWN"
9055 msgstr ""
9056
9057 #. type: SH
9058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
9059 #: opensuse-leap-16-1 opensuse-tumbleweed
9060 #, no-wrap
9061 msgid "SEE ALSO"
9062 msgstr ""
9063
9064 #. type: Plain text
9065 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
9066 #: opensuse-leap-16-1 opensuse-tumbleweed
9067 msgid ""
9068 "\\f[B]systemd-nspawn\\f[R](1), \\f[B]systemd-repart\\f[R](8), \\f[B]dnf\\f[R]"
9069 "(8)\\fR"
9070 msgstr ""
9071
9072 #. type: Plain text
9073 #: debian-trixie opensuse-leap-16-1
9074 msgid "\\f[CR]mkosi [options\\&...] build [command line\\&...]\\fR"
9075 msgstr ""
9076
9077 #. type: Plain text
9078 #: debian-trixie opensuse-leap-16-1
9079 msgid "\\f[CR]mkosi [options\\&...] shell [command line\\&...]\\fR"
9080 msgstr ""
9081
9082 #. type: Plain text
9083 #: debian-trixie opensuse-leap-16-1
9084 msgid "\\f[CR]mkosi [options\\&...] boot [nspawn settings\\&...]\\fR"
9085 msgstr ""
9086
9087 #. type: Plain text
9088 #: debian-trixie opensuse-leap-16-1
9089 msgid "\\f[CR]mkosi [options\\&...] vm [vmm parameters\\&...]\\fR"
9090 msgstr ""
9091
9092 #. type: Plain text
9093 #: debian-trixie opensuse-leap-16-1
9094 msgid "\\f[CR]mkosi [options\\&...] ssh [command line\\&...]\\fR"
9095 msgstr ""
9096
9097 #. type: Plain text
9098 #: debian-trixie opensuse-leap-16-1
9099 msgid "\\f[CR]mkosi [options\\&...] journalctl [command line\\&...]\\fR"
9100 msgstr ""
9101
9102 #. type: Plain text
9103 #: debian-trixie opensuse-leap-16-1
9104 msgid "\\f[CR]mkosi [options\\&...] coredumpctl [command line\\&...]\\fR"
9105 msgstr ""
9106
9107 #. type: Plain text
9108 #: debian-trixie opensuse-leap-16-1
9109 msgid "\\f[CR]mkosi [options\\&...] sysupdate [command line\\&...]\\fR"
9110 msgstr ""
9111
9112 #. type: Plain text
9113 #: debian-trixie opensuse-leap-16-1
9114 msgid "\\f[CR]mkosi [options\\&...] sandbox [command line \\&...]\\fR"
9115 msgstr ""
9116
9117 #. type: Plain text
9118 #: debian-trixie opensuse-leap-16-1
9119 msgid "\\f[CR]mkosi [options\\&...] dependencies\\fR"
9120 msgstr ""
9121
9122 #. type: Plain text
9123 #: debian-trixie opensuse-leap-16-1
9124 msgid ""
9125 "Build the image-based on the settings passed on the command line and in the "
9126 "configuration files. This command is the default if no verb is specified. "
9127 "Any command line arguments specified after the verb will be passed directly "
9128 "to the build script, if one is defined."
9129 msgstr ""
9130
9131 #. type: Plain text
9132 #: debian-trixie opensuse-leap-16-1
9133 msgid ""
9134 "This builds the image if it is not built yet, and then invokes \\f[B]systemd-"
9135 "nspawn\\f[R] to run an interactive shell in the image. This doesn\\[cq]t "
9136 "require booting the system, it\\[cq]s like a better chroot. An optional "
9137 "command line may be specified after the \\f[CR]shell\\f[R] verb, to be "
9138 "invoked in place of the shell in the container. Use \\f[CR]-f\\f[R] in "
9139 "order to rebuild the image unconditionally before acquiring the shell, see "
9140 "below. This command must be executed as \\f[CR]root\\f[R].\\fR"
9141 msgstr ""
9142
9143 #. type: Plain text
9144 #: debian-trixie opensuse-leap-16-1
9145 msgid ""
9146 "Similar to \\f[CR]shell\\f[R], but instead of spawning a shell, it boots "
9147 "systemd in the image using \\f[B]systemd-nspawn\\f[R]. An optional command "
9148 "line may be specified after the \\f[CR]boot\\f[R] verb, which can contain "
9149 "extra nspawn options as well as arguments which are passed as the "
9150 "\\f[I]kernel command line\\f[R] to the init system in the image.\\fR"
9151 msgstr ""
9152
9153 #. type: Plain text
9154 #: debian-trixie opensuse-leap-16-1
9155 msgid ""
9156 "Similar to \\f[CR]boot\\f[R], but uses the configured virtual machine "
9157 "monitor (by default \\f[CR]qemu\\f[R]) to boot up the image, i.e.\\ instead "
9158 "of container virtualization, virtual machine virtualization is used. How "
9159 "extra command line arguments are interpreted depends on the configured "
9160 "virtual machine monitor. See \\f[CR]VirtualMachineMonitor=\\f[R] for more "
9161 "information.\\fR"
9162 msgstr ""
9163
9164 #. type: Plain text
9165 #: debian-trixie opensuse-leap-16-1
9166 msgid ""
9167 "When the image is built with the \\f[CR]Ssh=yes\\f[R] option, this command "
9168 "connects to a booted virtual machine via SSH. Make sure to run \\f[CR]mkosi "
9169 "ssh\\f[R] with the same config as \\f[CR]mkosi build\\f[R] so that it has "
9170 "the necessary information available to connect to the running virtual "
9171 "machine via SSH. Specifically, the SSH private key from the "
9172 "\\f[CR]SshKey=\\f[R] setting is used to connect to the virtual machine. Use "
9173 "\\f[CR]mkosi genkey\\f[R] to automatically generate a key and certificate "
9174 "that will be picked up by \\f[B]mkosi\\f[R]. Any arguments passed after the "
9175 "\\f[CR]ssh\\f[R] verb are passed as arguments to the \\f[B]ssh\\f[R] "
9176 "invocation. To connect to a container, use \\f[CR]machinectl login\\f[R] or "
9177 "\\f[CR]machinectl shell\\f[R].\\fR"
9178 msgstr ""
9179
9180 #. type: Plain text
9181 #: debian-trixie opensuse-leap-16-1
9182 msgid ""
9183 "Uses \\f[B]journalctl\\f[R] to inspect the journal inside the image. Any "
9184 "arguments specified after the \\f[B]journalctl\\f[R] verb are appended to "
9185 "the \\f[B]journalctl\\f[R] invocation.\\fR"
9186 msgstr ""
9187
9188 #. type: Plain text
9189 #: debian-trixie opensuse-leap-16-1
9190 msgid ""
9191 "Uses \\f[B]coredumpctl\\f[R] to look for coredumps inside the image. Any "
9192 "arguments specified after the \\f[B]coredumpctl\\f[R] verb are appended to "
9193 "the \\f[B]coredumpctl\\f[R] invocation.\\fR"
9194 msgstr ""
9195
9196 #. type: Plain text
9197 #: debian-trixie opensuse-leap-16-1
9198 msgid ""
9199 "Invokes \\f[B]systemd-sysupdate\\f[R] with the \\f[CR]--transfer-"
9200 "source=\\f[R] option set to the output directory and the \\f[CR]--"
9201 "definitions=\\f[R] option set to the directory configured with "
9202 "\\f[CR]SysupdateDirectory=\\f[R]. Any arguments specified after the "
9203 "\\f[CR]sysupdate\\f[R] verb are passed directly to \\f[B]systemd-"
9204 "sysupdate\\f[R] invocation.\\fR"
9205 msgstr ""
9206
9207 #. type: TP
9208 #: debian-trixie opensuse-leap-16-1
9209 #, no-wrap
9210 msgid "\\f[CR]sandbox\\fR"
9211 msgstr ""
9212
9213 #. type: Plain text
9214 #: debian-trixie opensuse-leap-16-1
9215 msgid ""
9216 "Run arbitrary commands inside of the same sandbox used to execute other "
9217 "verbs such as \\f[CR]boot\\f[R], \\f[CR]shell\\f[R], \\f[CR]vm\\f[R] and "
9218 "more. This means \\f[CR]/usr\\f[R] will be replaced by \\f[CR]/usr\\f[R] "
9219 "from the tools tree if one is used while everything else will remain in "
9220 "place. If no command is provided, \\f[CR]$SHELL\\f[R] will be executed or "
9221 "\\f[B]bash\\f[R] if \\f[CR]$SHELL\\f[R] is not set.\\fR"
9222 msgstr ""
9223
9224 #. type: Plain text
9225 #: debian-trixie opensuse-leap-16-1
9226 msgid ""
9227 "Remove build artifacts generated on a previous build. If combined with "
9228 "\\f[CR]-f\\f[R], also removes incremental build cache images. If \\f[CR]-"
9229 "f\\f[R] is specified twice, also removes any package cache.\\fR"
9230 msgstr ""
9231
9232 #. type: Plain text
9233 #: debian-trixie opensuse-leap-16-1
9234 msgid ""
9235 "Bumps the image version from \\f[CR]mkosi.version\\f[R] and writes the "
9236 "resulting version string to \\f[CR]mkosi.version\\f[R]. This is useful for "
9237 "implementing a simple versioning scheme: each time this verb is called the "
9238 "version is bumped in preparation for the subsequent build. Note that "
9239 "\\f[CR]--auto-bump\\f[R]/\\f[CR]-B\\f[R] may be used to automatically bump "
9240 "the version after each successful build.\\fR"
9241 msgstr ""
9242
9243 #. type: Plain text
9244 #: debian-trixie
9245 #, no-wrap
9246 msgid "mkosi dependencies | xargs -d \\[aq]\\[rs]n\\[aq] dnf install\n"
9247 msgstr ""
9248
9249 #. type: SS
9250 #: debian-trixie opensuse-leap-16-1
9251 #, no-wrap
9252 msgid "Commandline-only Options"
9253 msgstr ""
9254
9255 #. type: Plain text
9256 #: debian-trixie opensuse-leap-16-1
9257 msgid ""
9258 "Replace the output file if it already exists, when building an image. By "
9259 "default when building an image and an output artifact already exists "
9260 "\\f[B]mkosi\\f[R] will refuse operation. Specify this option once to delete "
9261 "all build artifacts from a previous run before re-building the image. If "
9262 "incremental builds are enabled, specifying this option twice will ensure the "
9263 "intermediary cache files are removed, too, before the re-build is "
9264 "initiated. If a package cache is used (also see the \\f[B]Files\\f[R] "
9265 "section below), specifying this option thrice will ensure the package cache "
9266 "is removed too, before the re-build is initiated. For the "
9267 "\\f[CR]clean\\f[R] operation this option has a slightly different effect: by "
9268 "default the verb will only remove build artifacts from a previous run, when "
9269 "specified once the incremental cache files are deleted too, and when "
9270 "specified twice the package cache is also removed.\\fR"
9271 msgstr ""
9272
9273 #. type: Plain text
9274 #: debian-trixie opensuse-leap-16-1
9275 msgid ""
9276 "Takes a path to a directory. \\f[B]mkosi\\f[R] switches to this directory "
9277 "before doing anything. Note that the various configuration files are "
9278 "searched for in this directory, hence using this option is an effective way "
9279 "to build a project located in a specific directory.\\fR"
9280 msgstr ""
9281
9282 #. type: Plain text
9283 #: debian-trixie opensuse-leap-16-1
9284 msgid ""
9285 "If specified, after each successful build the version is bumped in a fashion "
9286 "equivalent to the \\f[CR]bump\\f[R] verb, in preparation for the next "
9287 "build. This is useful for simple, linear version management: each build in "
9288 "a series will have a version number one higher then the previous one.\\fR"
9289 msgstr ""
9290
9291 #. type: Plain text
9292 #: debian-trixie opensuse-leap-16-1
9293 msgid ""
9294 "\\f[CR]mkosi.local.conf\\f[R] or \\f[CR]mkosi.local\\f[R] is parsed if it "
9295 "exists. This file or directory should be in \\f[CR].gitignore\\f[R] (or "
9296 "equivalent) and is intended for local configuration.\\fR"
9297 msgstr ""
9298
9299 #. type: Plain text
9300 #: debian-trixie opensuse-leap-16-1
9301 msgid ""
9302 "Any default paths (depending on the option) are configured if the "
9303 "corresponding path exists."
9304 msgstr ""
9305
9306 #. type: Plain text
9307 #: debian-trixie opensuse-leap-16-1
9308 msgid ""
9309 "\\f[CR]mkosi.conf\\f[R] is parsed if it exists in the directory configured "
9310 "with \\f[CR]--directory=\\f[R] or the current working directory if \\f[CR]--"
9311 "directory=\\f[R] is not used.\\fR"
9312 msgstr ""
9313
9314 #. type: Plain text
9315 #: debian-trixie opensuse-leap-16-1
9316 msgid ""
9317 "\\f[CR]mkosi.conf.d/\\f[R] is parsed in the same directory if it exists. "
9318 "Each directory and each file with the \\f[CR].conf\\f[R] extension in "
9319 "\\f[CR]mkosi.conf.d/\\f[R] is parsed. Any directory in "
9320 "\\f[CR]mkosi.conf.d\\f[R] is parsed as if it were a regular top level "
9321 "directory.\\fR"
9322 msgstr ""
9323
9324 #. type: Plain text
9325 #: debian-trixie opensuse-leap-16-1
9326 msgid ""
9327 "Subimages are parsed from the \\f[CR]mkosi.images\\f[R] directory if it "
9328 "exists.\\fR"
9329 msgstr ""
9330
9331 #. type: Plain text
9332 #: debian-trixie opensuse-leap-16-1
9333 msgid ""
9334 "Note that settings configured via the command line always override settings "
9335 "configured via configuration files. If the same setting is configured more "
9336 "than once via configuration files, later assignments override earlier "
9337 "assignments except for settings that take a collection of values. Also, "
9338 "settings read from \\f[CR]mkosi.local\\f[R] or \\f[CR]mkosi.local.conf\\f[R] "
9339 "will override settings from configuration files that are parsed later, but "
9340 "not settings specified on the CLI.\\fR"
9341 msgstr ""
9342
9343 #. type: Plain text
9344 #: debian-trixie
9345 #, no-wrap
9346 msgid ""
9347 "[Match]\n"
9348 "Format=|disk\n"
9349 "Format=|directory\n"
9350 msgstr ""
9351
9352 #. type: Plain text
9353 #: debian-trixie
9354 #, no-wrap
9355 msgid ""
9356 "[Match]\n"
9357 "Architecture=|x86-64\n"
9358 "Architecture=|arm64\n"
9359 msgstr ""
9360
9361 #. type: Plain text
9362 #: debian-trixie opensuse-leap-16-1
9363 msgid ""
9364 "The \\f[CR][TriggerMatch]\\f[R] section can be used to indicate triggering "
9365 "match sections. These are identical to triggering conditions except they "
9366 "apply to the entire match section instead of just a single condition. As an "
9367 "example, the following will match if the distribution is \\f[CR]debian\\f[R] "
9368 "and the release is \\f[CR]bookworm\\f[R] or if the distribution is "
9369 "\\f[CR]ubuntu\\f[R] and the release is \\f[CR]noble\\f[R].\\fR"
9370 msgstr ""
9371
9372 #. type: Plain text
9373 #: debian-trixie
9374 #, no-wrap
9375 msgid ""
9376 "[TriggerMatch]\n"
9377 "Distribution=debian\n"
9378 "Release=bookworm\n"
9379 msgstr ""
9380
9381 #. type: Plain text
9382 #: debian-trixie
9383 #, no-wrap
9384 msgid ""
9385 "[TriggerMatch]\n"
9386 "Distribution=ubuntu\n"
9387 "Release=noble\n"
9388 msgstr ""
9389
9390 #. type: tbl table
9391 #: debian-trixie opensuse-leap-16-1
9392 #, no-wrap
9393 msgid "\\f[R]http://deb.debian.org/debian\\fR"
9394 msgstr ""
9395
9396 #. type: tbl table
9397 #: debian-trixie opensuse-leap-16-1
9398 #, no-wrap
9399 msgid "\\f[R]https://geo.mirror.pkgbuild.com\\fR"
9400 msgstr ""
9401
9402 #. type: Plain text
9403 #: debian-trixie opensuse-leap-16-1
9404 msgid ""
9405 "The image format type to generate. One of \\f[CR]directory\\f[R] (for "
9406 "generating an OS image directly in a local directory), \\f[CR]tar\\f[R] "
9407 "(similar, but a tarball of the OS image is generated), \\f[CR]cpio\\f[R] "
9408 "(similar, but a cpio archive is generated), \\f[CR]disk\\f[R] (a block "
9409 "device OS image with a GPT partition table), \\f[CR]uki\\f[R] (a unified "
9410 "kernel image with the OS image in the \\f[CR].initrd\\f[R] PE section), "
9411 "\\f[CR]esp\\f[R] (\\f[CR]uki\\f[R] but wrapped in a disk image with only an "
9412 "ESP partition), \\f[CR]oci\\f[R] (a directory compatible with the OCI image "
9413 "specification), \\f[CR]sysext\\f[R], \\f[CR]confext\\f[R], "
9414 "\\f[CR]portable\\f[R], \\f[CR]addon\\f[R] or \\f[CR]none\\f[R] (the OS image "
9415 "is solely intended as a build image to produce another artifact).\\fR"
9416 msgstr ""
9417
9418 #. type: TP
9419 #: debian-trixie opensuse-leap-16-1
9420 #, no-wrap
9421 msgid "\\f[CR]SplitArtifacts=\\f[R], \\f[CR]--split-artifacts\\fR"
9422 msgstr ""
9423
9424 #. type: Plain text
9425 #: debian-trixie opensuse-leap-16-1
9426 msgid ""
9427 "The artifact types to split out of the final image. A comma-delimited list "
9428 "consisting of \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R], \\f[CR]initrd\\f[R] and "
9429 "\\f[CR]partitions\\f[R]. When building a bootable image \\f[CR]kernel\\f[R] "
9430 "and \\f[CR]initrd\\f[R] correspond to their artifact found in the image (or "
9431 "in the UKI), while \\f[CR]uki\\f[R] copies out the entire UKI.\\fR"
9432 msgstr ""
9433
9434 #. type: Plain text
9435 #: debian-trixie
9436 msgid ""
9437 "When building a disk image and \\f[CR]partitions\\f[R] is specified, pass "
9438 "\\f[CR]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out "
9439 "split partition files for each configured partition. Read the E<.UR> "
9440 "https://www.freedesktop.org/software/systemd/man/systemd-repart.html#--"
9441 "split=BOOL man E<.UE > \\ page for more information. This is useful in A/B "
9442 "update scenarios where an existing disk image shall be augmented with a new "
9443 "version of a root or \\f[CR]/usr\\f[R] partition along with its Verity "
9444 "partition and unified kernel. By default \\f[CR]uki\\f[R], "
9445 "\\f[CR]kernel\\f[R] and \\f[CR]initrd\\f[R] are split out.\\fR"
9446 msgstr ""
9447
9448 #. type: TP
9449 #: debian-trixie opensuse-leap-16-1
9450 #, no-wrap
9451 msgid "\\f[CR]Overlay=\\f[R], \\f[CR]--overlay\\fR"
9452 msgstr ""
9453
9454 #. type: Plain text
9455 #: debian-trixie opensuse-leap-16-1
9456 msgid ""
9457 "This option may be used to create E<.UR https://uapi-group.org/"
9458 "specifications/specs/extension_image> systemd \\f[I]system extensions\\f[R] "
9459 "or \\f[I]portable services\\f[R] E<.UE > \\&.\\fR"
9460 msgstr ""
9461
9462 #. type: Plain text
9463 #: debian-trixie opensuse-leap-16-1
9464 msgid ""
9465 "Takes a comma-separated list of paths to executables that are used as the "
9466 "clean scripts for this image. See the \\f[B]Scripts\\f[R] section for more "
9467 "information.\\fR"
9468 msgstr ""
9469
9470 #. type: TP
9471 #: debian-trixie opensuse-leap-16-1
9472 #, no-wrap
9473 msgid "\\f[CR]WithDocs=\\f[R], \\f[CR]--with-docs\\fR"
9474 msgstr ""
9475
9476 #. type: Plain text
9477 #: debian-trixie opensuse-leap-16-1
9478 msgid ""
9479 "Takes a comma-separated list of colon-separated path pairs. The first path "
9480 "of each pair refers to a directory to copy into the OS tree before invoking "
9481 "the package manager. The second path of each pair refers to the target "
9482 "directory inside the image. If the second path is not provided, the "
9483 "directory is copied on top of the root directory of the image. The second "
9484 "path is always interpreted as an absolute path. Use this to insert files "
9485 "and directories into the OS tree before the package manager installs any "
9486 "packages. If the \\f[CR]mkosi.skeleton/\\f[R] directory is found in the "
9487 "local directory it is also used for this purpose with the root directory as "
9488 "target (also see the \\f[B]Files\\f[R] section below).\\fR"
9489 msgstr ""
9490
9491 #. type: Plain text
9492 #: debian-trixie opensuse-leap-16-1
9493 msgid ""
9494 "Takes a comma-separated list of colon-separated path pairs. The first path "
9495 "of each pair refers to a directory to copy from the host into the image. "
9496 "The second path of each pair refers to the target directory inside the "
9497 "image. If the second path is not provided, the directory is copied on top "
9498 "of the root directory of the image. The second path is always interpreted "
9499 "as an absolute path. Use this to override any default configuration files "
9500 "shipped with the distribution. If the \\f[CR]mkosi.extra/\\f[R] directory "
9501 "is found in the local directory it is also used for this purpose with the "
9502 "root directory as target (also see the \\f[B]Files\\f[R] section below).\\fR"
9503 msgstr ""
9504
9505 #. type: Plain text
9506 #: debian-trixie opensuse-leap-16-1
9507 msgid ""
9508 "Takes a timestamp in seconds since the UNIX epoch as argument. File "
9509 "modification times of all files will be clamped to this value. The variable "
9510 "is also propagated to \\f[B]systemd-repart\\f[R] and scripts executed by "
9511 "\\f[B]mkosi\\f[R]. If not set explicitly, \\f[CR]SOURCE_DATE_EPOCH\\f[R] "
9512 "from \\f[CR]--environment\\f[R] and from the host environment are tried in "
9513 "that order. This is useful to make builds reproducible. See E<.UR https://"
9514 "reproducible-builds.org/specs/source-date-epoch/> SOURCE_DATE_EPOCH E<.UE > "
9515 "\\ for more information.\\fR"
9516 msgstr ""
9517
9518 #. type: Plain text
9519 #: debian-trixie opensuse-leap-16-1
9520 msgid ""
9521 "Takes a comma-separated list of paths to executables that are used as the "
9522 "sync scripts for this image. See the \\f[B]Scripts\\f[R] section for more "
9523 "information.\\fR"
9524 msgstr ""
9525
9526 #. type: Plain text
9527 #: debian-trixie opensuse-leap-16-1
9528 msgid ""
9529 "Takes a comma-separated list of paths to executables that are used as the "
9530 "prepare scripts for this image. See the \\f[B]Scripts\\f[R] section for "
9531 "more information.\\fR"
9532 msgstr ""
9533
9534 #. type: Plain text
9535 #: debian-trixie opensuse-leap-16-1
9536 msgid ""
9537 "Takes a comma-separated list of paths to executables that are used as the "
9538 "build scripts for this image. See the \\f[B]Scripts\\f[R] section for more "
9539 "information.\\fR"
9540 msgstr ""
9541
9542 #. type: Plain text
9543 #: debian-trixie opensuse-leap-16-1
9544 msgid ""
9545 "Takes a comma-separated list of paths to executables that are used as the "
9546 "post-installation scripts for this image. See the \\f[B]Scripts\\f[R] "
9547 "section for more information.\\fR"
9548 msgstr ""
9549
9550 #. type: Plain text
9551 #: debian-trixie opensuse-leap-16-1
9552 msgid ""
9553 "Takes a comma-separated list of paths to executables that are used as the "
9554 "finalize scripts for this image. See the \\f[B]Scripts\\f[R] section for "
9555 "more information.\\fR"
9556 msgstr ""
9557
9558 #. type: TP
9559 #: debian-trixie opensuse-leap-16-1
9560 #, no-wrap
9561 msgid "\\f[CR]PostOutputScripts=\\f[R], \\f[CR]--postoutput-script\\fR"
9562 msgstr ""
9563
9564 #. type: Plain text
9565 #: debian-trixie opensuse-leap-16-1
9566 msgid ""
9567 "Takes a comma-separated list of paths to executables that are used as the "
9568 "post output scripts for this image. See the \\f[B]Scripts\\f[R] section for "
9569 "more information.\\fR"
9570 msgstr ""
9571
9572 #. type: Plain text
9573 #: debian-trixie opensuse-leap-16-1
9574 msgid ""
9575 "Specifies whether to use unified kernel images or not when "
9576 "\\f[CR]Bootloader=\\f[R] is set to \\f[CR]systemd-boot\\f[R] or "
9577 "\\f[CR]grub\\f[R]. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to "
9578 "\\f[CR]auto\\f[R]. If enabled, unified kernel images are always used and "
9579 "the build will fail if any components required to build unified kernel "
9580 "images are missing. If set to \\f[CR]auto\\f[R], unified kernel images will "
9581 "be used if all necessary components are available. Otherwise Type 1 entries "
9582 "as defined by the Boot Loader Specification will be used instead. If "
9583 "disabled, Type 1 entries will always be used.\\fR"
9584 msgstr ""
9585
9586 #. type: tbl table
9587 #: debian-trixie opensuse-leap-16-1
9588 #, no-wrap
9589 msgid "\\f[CR]&c\\fR"
9590 msgstr ""
9591
9592 #. type: tbl table
9593 #: debian-trixie opensuse-leap-16-1
9594 #, no-wrap
9595 msgid "\\f[R]Number of tries used for boot attempt counting\\fR"
9596 msgstr ""
9597
9598 #. type: TP
9599 #: debian-trixie opensuse-leap-16-1
9600 #, no-wrap
9601 msgid "\\f[CR]Initrds=\\f[R], \\f[CR]--initrd\\fR"
9602 msgstr ""
9603
9604 #. type: Plain text
9605 #: debian-trixie opensuse-leap-16-1
9606 msgid ""
9607 "Use user-provided initrd(s). Takes a comma-separated list of paths to "
9608 "initrd files. This option may be used multiple times in which case the "
9609 "initrd lists are combined. If no initrds are specified and a bootable image "
9610 "is requested, \\f[B]mkosi\\f[R] will look for initrds in a subdirectory "
9611 "\\f[CR]io.mkosi.initrd\\f[R] of the artifact directory (see \\f[CR]"
9612 "$ARTIFACTDIR\\f[R] in the section \\f[B]ENVIRONMENT VARIABLES\\f[R]), if "
9613 "none are found there \\f[B]mkosi\\f[R] will automatically build a default "
9614 "initrd.\\fR"
9615 msgstr ""
9616
9617 #. type: TP
9618 #: debian-trixie opensuse-leap-16-1
9619 #, no-wrap
9620 msgid "\\f[CR]Devicetree=\\f[R], \\f[CR]--devicetree=\\fR"
9621 msgstr ""
9622
9623 #. type: Plain text
9624 #: debian-trixie opensuse-leap-16-1
9625 msgid ""
9626 "When set, specifies a Devicetree blob to be used by the booting system, "
9627 "instead of the one provided by firmware. \\f[B]mkosi\\f[R] will search for "
9628 "the specified file relative to common paths where Linux distributions "
9629 "install Devicetree files. It should typically have the format "
9630 "\\f[CR]E<lt>vendorE<gt>/E<lt>boardE<gt>.dtb\\f[R].\\fR"
9631 msgstr ""
9632
9633 #. type: TP
9634 #: debian-trixie opensuse-leap-16-1
9635 #, no-wrap
9636 msgid "\\f[CR]KernelModulesInclude=\\f[R], \\f[CR]--kernel-modules-include=\\fR"
9637 msgstr ""
9638
9639 #. type: Plain text
9640 #: debian-trixie opensuse-leap-16-1
9641 msgid ""
9642 "Takes a list of regex patterns that specify kernel modules to include in the "
9643 "image. Patterns should be relative to \\f[CR]/usr/lib/modules/"
9644 "E<lt>kverE<gt>/E<lt>subdirE<gt>\\f[R] paths. \\f[B]mkosi\\f[R] checks for a "
9645 "match anywhere in the module path (e.g.\\ \\f[CR]i915\\f[R] will match "
9646 "against \\f[CR]drivers/gpu/drm/i915.ko\\f[R]). All modules that match any "
9647 "of the specified patterns are included in the image. All module and "
9648 "firmware dependencies of the matched modules are included in the image as "
9649 "well.\\fR"
9650 msgstr ""
9651
9652 #. type: Plain text
9653 #: debian-trixie opensuse-leap-16-1
9654 msgid ""
9655 "This setting takes priority over \\f[CR]KernelModulesExclude=\\f[R] and only "
9656 "makes sense when used in combination with it because all kernel modules are "
9657 "included in the image by default.\\fR"
9658 msgstr ""
9659
9660 #. type: TP
9661 #: debian-trixie opensuse-leap-16-1
9662 #, no-wrap
9663 msgid "\\f[CR]KernelModulesExclude=\\f[R], \\f[CR]--kernel-modules-exclude=\\fR"
9664 msgstr ""
9665
9666 #. type: Plain text
9667 #: debian-trixie opensuse-leap-16-1
9668 msgid ""
9669 "Takes a list of regex patterns that specify modules to exclude from the "
9670 "image. Behaves the same as \\f[CR]KernelModulesInclude=\\f[R] except that "
9671 "all modules that match any of the specified patterns are excluded from the "
9672 "image.\\fR"
9673 msgstr ""
9674
9675 #. type: Plain text
9676 #: debian-trixie opensuse-leap-16-1
9677 msgid ""
9678 "Boolean value, enabled (true) by default. If enabled, when building a "
9679 "bootable image, \\f[B]mkosi\\f[R] will generate an extra initrd for each "
9680 "unified kernel image it assembles. This initrd contains only modules for "
9681 "the specific kernel version, and will be appended to the prebuilt initrd. "
9682 "This allows generating kernel independent initrds which are augmented with "
9683 "the necessary modules when the UKI is assembled.\\fR"
9684 msgstr ""
9685
9686 #. type: TP
9687 #: debian-trixie opensuse-leap-16-1
9688 #, no-wrap
9689 msgid "\\f[CR]KernelModulesInitrdInclude=\\f[R], \\f[CR]--kernel-modules-initrd-include=\\fR"
9690 msgstr ""
9691
9692 #. type: Plain text
9693 #: debian-trixie opensuse-leap-16-1
9694 msgid ""
9695 "Like \\f[CR]KernelModulesInclude=\\f[R], but applies to the kernel modules "
9696 "included in the kernel modules initrd.\\fR"
9697 msgstr ""
9698
9699 #. type: TP
9700 #: debian-trixie opensuse-leap-16-1
9701 #, no-wrap
9702 msgid "\\f[CR]KernelModulesInitrdExclude=\\f[R], \\f[CR]--kernel-modules-initrd-exclude=\\fR"
9703 msgstr ""
9704
9705 #. type: Plain text
9706 #: debian-trixie opensuse-leap-16-1
9707 msgid ""
9708 "Like \\f[CR]KernelModulesExclude=\\f[R], but applies to the kernel modules "
9709 "included in the kernel modules initrd.\\fR"
9710 msgstr ""
9711
9712 #. type: Plain text
9713 #: debian-trixie opensuse-leap-16-1
9714 msgid ""
9715 "Set the system root password. If this option is not used, but a "
9716 "\\f[CR]mkosi.rootpw\\f[R] file is found in the local directory, the password "
9717 "is automatically read from it or if the file is executable it is run as a "
9718 "script and stdout is read instead (see the \\f[B]Scripts\\f[R] section "
9719 "below). If the password starts with \\f[CR]hashed:\\f[R], it is treated as "
9720 "an already hashed root password. The root password is also stored in "
9721 "\\f[CR]/usr/lib/credstore\\f[R] under the appropriate systemd credential so "
9722 "that it applies even if only \\f[CR]/usr\\f[R] is shipped in the image. To "
9723 "create an unlocked account without any password use \\f[CR]hashed:\\f[R] "
9724 "without a hash.\\fR"
9725 msgstr ""
9726
9727 #. type: TP
9728 #: debian-trixie opensuse-leap-16-1
9729 #, no-wrap
9730 msgid "\\f[CR]Autologin=\\f[R], \\f[CR]--autologin\\fR"
9731 msgstr ""
9732
9733 #. type: TP
9734 #: debian-trixie opensuse-leap-16-1
9735 #, no-wrap
9736 msgid "\\f[CR]MakeInitrd=\\f[R], \\f[CR]--make-initrd\\fR"
9737 msgstr ""
9738
9739 #. type: TP
9740 #: debian-trixie opensuse-leap-16-1
9741 #, no-wrap
9742 msgid "\\f[CR]Ssh=\\f[R], \\f[CR]--ssh\\fR"
9743 msgstr ""
9744
9745 #. type: Plain text
9746 #: debian-trixie opensuse-leap-16-1
9747 msgid ""
9748 "If specified, an \\f[B]sshd\\f[R] socket unit and matching service are "
9749 "installed in the final image that expose SSH over VSock. When building with "
9750 "this option and running the image using \\f[CR]mkosi vm\\f[R], the "
9751 "\\f[CR]mkosi ssh\\f[R] command can be used to connect to the container/VM "
9752 "via SSH. Note that you still have to make sure openssh is installed in the "
9753 "image to make this option behave correctly. Run \\f[CR]mkosi genkey\\f[R] "
9754 "to automatically generate an X.509 certificate and private key to be used by "
9755 "\\f[B]mkosi\\f[R] to enable SSH access to any virtual machines via "
9756 "\\f[CR]mkosi ssh\\f[R]. To access images booted using \\f[CR]mkosi "
9757 "boot\\f[R], use \\f[B]machinectl\\f[R].\\fR"
9758 msgstr ""
9759
9760 #. type: Plain text
9761 #: debian-trixie opensuse-leap-16-1
9762 msgid ""
9763 "Specifies whether to relabel files to match the image\\[cq]s SELinux "
9764 "policy. Takes a boolean value or \\f[CR]auto\\f[R]. Defaults to "
9765 "\\f[CR]auto\\f[R]. If disabled, files will not relabeled. If enabled, an "
9766 "SELinux policy has to be installed in the image and \\f[B]setfiles\\f[R] has "
9767 "to be available to relabel files. If any errors occur during "
9768 "\\f[B]setfiles\\f[R], the build will fail. If set to \\f[CR]auto\\f[R], "
9769 "files will be relabeled if an SELinux policy is installed in the image and "
9770 "if \\f[B]setfiles\\f[R] is available. Any errors occurred during "
9771 "\\f[B]setfiles\\f[R] will be ignored.\\fR"
9772 msgstr ""
9773
9774 #. type: TP
9775 #: debian-trixie opensuse-leap-16-1
9776 #, no-wrap
9777 msgid "\\f[CR]SecureBoot=\\f[R], \\f[CR]--secure-boot\\fR"
9778 msgstr ""
9779
9780 #. type: TP
9781 #: debian-trixie opensuse-leap-16-1
9782 #, no-wrap
9783 msgid "\\f[CR]SecureBootSignTool=\\f[R], \\f[CR]--secure-boot-sign-tool\\fR"
9784 msgstr ""
9785
9786 #. type: Plain text
9787 #: debian-trixie opensuse-leap-16-1
9788 msgid ""
9789 "Whether to enforce or disable signed verity for extension images. Takes a "
9790 "boolean value or \\f[CR]auto\\f[R]. If enabled, a verity key and "
9791 "certificate must be present and the build will fail if we don\\[cq]t detect "
9792 "any verity partitions in the disk image produced by \\f[B]systemd-"
9793 "repart\\f[R]. If disabled, verity partitions will be excluded from the "
9794 "extension images produced by \\f[B]systemd-repart\\f[R]. If set to "
9795 "\\f[CR]auto\\f[R] and a verity key and certificate are present, "
9796 "\\f[B]mkosi\\f[R] will pass them to systemd-repart and expects the generated "
9797 "disk image to contain verity partitions, but the build won\\[cq]t fail if no "
9798 "verity partitions are found in the disk image produced by \\f[B]systemd-"
9799 "repart\\f[R].\\fR"
9800 msgstr ""
9801
9802 #. type: Plain text
9803 #: debian-trixie opensuse-leap-16-1
9804 msgid ""
9805 "Note that explicitly disabling signed verity is not yet implemented for the "
9806 "\\f[CR]disk\\f[R] output and only works for extension images at the moment."
9807 "\\fR"
9808 msgstr ""
9809
9810 #. type: TP
9811 #: debian-trixie opensuse-leap-16-1
9812 #, no-wrap
9813 msgid "\\f[CR]SignExpectedPcr=\\f[R], \\f[CR]--sign-expected-pcr\\fR"
9814 msgstr ""
9815
9816 #. type: TP
9817 #: debian-trixie opensuse-leap-16-1
9818 #, no-wrap
9819 msgid "\\f[CR]Passphrase=\\f[R], \\f[CR]--passphrase\\fR"
9820 msgstr ""
9821
9822 #. type: TP
9823 #: debian-trixie opensuse-leap-16-1
9824 #, no-wrap
9825 msgid "\\f[CR]Checksum=\\f[R], \\f[CR]--checksum\\fR"
9826 msgstr ""
9827
9828 #. type: TP
9829 #: debian-trixie opensuse-leap-16-1
9830 #, no-wrap
9831 msgid "\\f[CR]Sign=\\f[R], \\f[CR]--sign\\fR"
9832 msgstr ""
9833
9834 #. type: TP
9835 #: debian-trixie opensuse-leap-16-1
9836 #, no-wrap
9837 msgid "\\f[CR]OpenPGPTool=\\f[R], \\f[CR]--openpgp-tool\\fR"
9838 msgstr ""
9839
9840 #. type: Plain text
9841 #: debian-trixie opensuse-leap-16-1
9842 msgid ""
9843 "If set to \\f[CR]default\\f[R], \\f[B]mkosi\\f[R] will automatically add an "
9844 "extra tools tree image and use it as the tools tree.\\fR"
9845 msgstr ""
9846
9847 #. type: TP
9848 #: debian-trixie opensuse-leap-16-1
9849 #, no-wrap
9850 msgid "\\f[CR]ToolsTreeRepositories=\\f[R], \\f[CR]--tools-tree-repository\\fR"
9851 msgstr ""
9852
9853 #. type: TP
9854 #: debian-trixie opensuse-leap-16-1
9855 #, no-wrap
9856 msgid "\\f[CR]ToolsTreeSandboxTrees=\\f[R], \\f[CR]--tools-tree-sandbox-tree\\fR"
9857 msgstr ""
9858
9859 #. type: Plain text
9860 #: debian-trixie opensuse-leap-16-1
9861 msgid ""
9862 "Specify whether to use certificates and keys from the tools tree. Enabled "
9863 "by default. If enabled, \\f[CR]/etc/pki\\f[R], \\f[CR]/etc/ssl\\f[R], "
9864 "\\f[CR]/etc/ca-certificates\\f[R], and \\f[CR]/var/lib/ca-certificates\\f[R] "
9865 "from the tools tree are used. Otherwise, these directories are picked up "
9866 "from the host.\\fR"
9867 msgstr ""
9868
9869 #. type: Plain text
9870 #: debian-trixie opensuse-leap-16-1
9871 msgid ""
9872 "Takes a comma-separated list of colon-separated path pairs. The first path "
9873 "of each pair refers to a directory to copy into the mkosi sandbox before "
9874 "executing a tool. If the \\f[CR]mkosi.sandbox/\\f[R] directory is found in "
9875 "the local directory it is used for this purpose with the root directory as "
9876 "target (also see the \\f[B]Files\\f[R] section below).\\fR"
9877 msgstr ""
9878
9879 #. type: Plain text
9880 #: debian-trixie opensuse-leap-16-1
9881 msgid ""
9882 "Path to a directory where to store data required temporarily while building "
9883 "the image. This directory should have enough space to store the full OS "
9884 "image, though in most modes the actually used disk space is smaller. If not "
9885 "specified, a subdirectory of \\f[CR]$XDG_CACHE_HOME\\f[R] (if set), \\f[CR]"
9886 "$HOME/.cache\\f[R] (if set) or \\f[CR]/var/tmp\\f[R] is used.\\fR"
9887 msgstr ""
9888
9889 #. type: TP
9890 #: debian-trixie opensuse-leap-16-1
9891 #, no-wrap
9892 msgid "\\f[CR]PackageCacheDirectory=\\f[R], \\f[CR]--package-cache-dir\\fR"
9893 msgstr ""
9894
9895 #. type: Plain text
9896 #: debian-trixie opensuse-leap-16-1
9897 msgid ""
9898 "Takes a path to a directory to use as the build directory for build systems "
9899 "that support out-of-tree builds (such as Meson). The directory used this "
9900 "way is shared between repeated builds, and allows the build system to reuse "
9901 "artifacts (such as object files, executable, \\&...) generated on previous "
9902 "invocations. The build scripts can find the path to this directory in the "
9903 "\\f[CR]$BUILDDIR\\f[R] environment variable. This directory is mounted into "
9904 "the image\\[cq]s root directory when \\f[B]mkosi-chroot\\f[R] is invoked "
9905 "during execution of the build scripts. If this option is not specified, but "
9906 "a directory \\f[CR]mkosi.builddir/\\f[R] exists in the local directory it is "
9907 "automatically used for this purpose (also see the \\f[B]Files\\f[R] section "
9908 "below).\\fR"
9909 msgstr ""
9910
9911 #. type: Plain text
9912 #: debian-trixie opensuse-leap-16-1
9913 msgid ""
9914 "Note that when using \\f[CR]RepartOffline=no\\f[B]mkosi\\f[R] cannot run "
9915 "unprivileged and the image build has to be done as the root user outside of "
9916 "any containers and with loopback devices available on the host system.\\fR"
9917 msgstr ""
9918
9919 #. type: Plain text
9920 #: debian-trixie opensuse-leap-16-1
9921 msgid ""
9922 "Takes a boolean. If enabled, \\f[B]mkosi\\f[R] will write information about "
9923 "the latest build to the \\f[CR].mkosi-private\\f[R] subdirectory in the "
9924 "directory from which it was invoked. This information is then used to "
9925 "restore the config of the latest build when running any verb that needs a "
9926 "build without specifying \\f[CR]--force\\f[R].\\fR"
9927 msgstr ""
9928
9929 #. type: TP
9930 #: debian-trixie opensuse-leap-16-1
9931 #, no-wrap
9932 msgid "\\f[CR]WithTests=\\f[R], \\f[CR]--without-tests\\f[R], \\f[CR]-T\\fR"
9933 msgstr ""
9934
9935 #. type: TP
9936 #: debian-trixie opensuse-leap-16-1
9937 #, no-wrap
9938 msgid "\\f[CR]Vsock=\\f[R], \\f[CR]--vsock=\\fR"
9939 msgstr ""
9940
9941 #. type: TP
9942 #: debian-trixie opensuse-leap-16-1
9943 #, no-wrap
9944 msgid "\\f[CR]VsockConnectionId=\\f[R], \\f[CR]vsock-cid=\\fR"
9945 msgstr ""
9946
9947 #. type: TP
9948 #: debian-trixie opensuse-leap-16-1
9949 #, no-wrap
9950 msgid "\\f[CR]CDROM=\\f[R], \\f[CR]--cdrom=\\fR"
9951 msgstr ""
9952
9953 #. type: Plain text
9954 #: debian-trixie opensuse-leap-16-1
9955 msgid ""
9956 "Configures whether to attach the image as a CD-ROM device when booting a "
9957 "virtual machine. Takes a boolean. Defaults to \\f[CR]no\\f[R].\\fR"
9958 msgstr ""
9959
9960 #. type: Plain text
9961 #: debian-trixie opensuse-leap-16-1
9962 msgid ""
9963 "Configures whether to attach the image as a removable device when booting a "
9964 "virtual machine. Takes a boolean. Defaults to \\f[CR]no\\f[R].\\fR"
9965 msgstr ""
9966
9967 #. type: Plain text
9968 #: debian-trixie opensuse-leap-16-1
9969 msgid ""
9970 "Configures the virtual machine firmware to use. Takes one of "
9971 "\\f[CR]uefi\\f[R], \\f[CR]uefi-secure-boot\\f[R], \\f[CR]bios\\f[R], "
9972 "\\f[CR]linux\\f[R], or \\f[CR]auto\\f[R]. Defaults to \\f[CR]auto\\f[R]. "
9973 "When set to \\f[CR]uefi\\f[R], the OVMF firmware without secure boot support "
9974 "is used. When set to \\f[CR]uefi-secure-boot\\f[R], the OVMF firmware with "
9975 "secure boot support is used. When set to \\f[CR]bios\\f[R], the default "
9976 "SeaBIOS firmware is used. When set to \\f[CR]linux\\f[R], direct kernel "
9977 "boot is used. See the \\f[CR]Linux=\\f[R] option for more details on which "
9978 "kernel image is used with direct kernel boot. When set to "
9979 "\\f[CR]auto\\f[R], \\f[CR]uefi-secure-boot\\f[R] is used if possible and "
9980 "\\f[CR]linux\\f[R] otherwise.\\fR"
9981 msgstr ""
9982
9983 #. type: Plain text
9984 #: debian-trixie opensuse-leap-16-1
9985 msgid ""
9986 "Configures the path to the the virtual machine firmware variables file to "
9987 "use. Currently, this option is only taken into account when the "
9988 "\\f[CR]uefi\\f[R] or \\f[CR]uefi-secure-boot\\f[R] firmware is used. If not "
9989 "specified, \\f[B]mkosi\\f[R] will search for the default variables file and "
9990 "use that instead.\\fR"
9991 msgstr ""
9992
9993 #. type: Plain text
9994 #: debian-trixie opensuse-leap-16-1
9995 msgid ""
9996 "Set the kernel image to use for \\f[B]qemu\\f[R] direct kernel boot. If not "
9997 "specified, \\f[B]mkosi\\f[R] will use the kernel provided via the command "
9998 "line (\\f[CR]-kernel\\f[R] option) or latest the kernel that was installed "
9999 "into the image (or fail if no kernel was installed into the image).\\fR"
10000 msgstr ""
10001
10002 #. type: Plain text
10003 #: debian-trixie opensuse-leap-16-1
10004 msgid ""
10005 "Add a drive. Takes a colon-delimited string of format "
10006 "\\f[CR]E<lt>idE<gt>:E<lt>sizeE<gt>[:E<lt>directoryE<gt>[:E<lt>optionsE<gt>[:E<lt>file-"
10007 "idE<gt>]]]\\f[R]. \\f[CR]id\\f[R] specifies the ID assigned to the drive. "
10008 "This can be used as the \\f[CR]drive=\\f[R] property in various "
10009 "\\f[B]qemu\\f[R] devices. \\f[CR]size\\f[R] specifies the size of the "
10010 "drive. This takes a size in bytes. Additionally, the suffixes "
10011 "\\f[CR]K\\f[R], \\f[CR]M\\f[R] and \\f[CR]G\\f[R] can be used to specify a "
10012 "size in kilobytes, megabytes and gigabytes respectively. "
10013 "\\f[CR]directory\\f[R] optionally specifies the directory in which to create "
10014 "the file backing the drive. \\f[CR]options\\f[R] optionally specifies extra "
10015 "comma-delimited properties which are passed verbatim to \\f[B]qemu\\f[R]\\"
10016 "[cq]s \\f[CR]-drive\\f[R] option. \\f[CR]file-id\\f[R] specifies the ID of "
10017 "the file backing the drive. Drives with the same file ID will share the "
10018 "backing file. The directory and size of the file will be determined from "
10019 "the first drive with a given file ID.\\fR"
10020 msgstr ""
10021
10022 #. type: Plain text
10023 #: debian-trixie
10024 #, no-wrap
10025 msgid ""
10026 "[Runtime]\n"
10027 "Drives=btrfs:10G\n"
10028 " ext4:20G\n"
10029 "QemuArgs=-device nvme,serial=btrfs,drive=btrfs\n"
10030 " -device nvme,serial=ext4,drive=ext4\n"
10031 msgstr ""
10032
10033 #. type: TP
10034 #: debian-trixie opensuse-leap-16-1
10035 #, no-wrap
10036 msgid "\\f[CR]Ephemeral=\\f[R], \\f[CR]--ephemeral\\fR"
10037 msgstr ""
10038
10039 #. type: TP
10040 #: debian-trixie opensuse-leap-16-1
10041 #, no-wrap
10042 msgid "\\f[CR]RuntimeScratch=\\f[R], \\f[CR]--runtime-scratch=\\fR"
10043 msgstr ""
10044
10045 #. type: Plain text
10046 #: debian-trixie opensuse-leap-16-1
10047 msgid ""
10048 "Takes a boolean value or \\f[CR]auto\\f[R]. Specifies whether to mount "
10049 "extra scratch space to \\f[CR]/var/tmp\\f[R]. If enabled, practically "
10050 "unlimited scratch space is made available under \\f[CR]/var/tmp\\f[R] when "
10051 "booting the image with \\f[CR]mkosi vm\\f[R], \\f[CR]mkosi boot\\f[R] or "
10052 "\\f[CR]mkosi shell\\f[R].\\fR"
10053 msgstr ""
10054
10055 #. type: Plain text
10056 #: debian-trixie opensuse-leap-16-1
10057 msgid ""
10058 "Note that using this feature with \\f[CR]mkosi vm\\f[R] requires systemd "
10059 "v254 or newer in the guest.\\fR"
10060 msgstr ""
10061
10062 #. type: TP
10063 #: debian-trixie opensuse-leap-16-1
10064 #, no-wrap
10065 msgid "\\f[CR]RuntimeHome=\\f[R], \\f[CR]--runtime-home=\\fR"
10066 msgstr ""
10067
10068 #. type: Plain text
10069 #: debian-trixie opensuse-leap-16-1
10070 msgid ""
10071 "Mount the current home directory from which \\f[B]mkosi\\f[R] is running to "
10072 "\\f[CR]/root\\f[R] when using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi "
10073 "vm\\f[R].\\fR"
10074 msgstr ""
10075
10076 #. type: Plain text
10077 #: debian-trixie opensuse-leap-16-1
10078 msgid ""
10079 "Configure systemd unit properties to add to the systemd scopes allocated "
10080 "when using \\f[CR]mkosi boot\\f[R] or \\f[CR]mkosi vm\\f[R]. These are "
10081 "passed directly to the \\f[CR]--property\\f[R] options of \\f[B]systemd-"
10082 "nspawn\\f[R] and \\f[B]systemd-run\\f[R] respectively.\\fR"
10083 msgstr ""
10084
10085 #. type: Plain text
10086 #: debian-trixie opensuse-leap-16-1
10087 msgid ""
10088 "Path to the X.509 private key in PEM format to use to connect to a virtual "
10089 "machine started with \\f[CR]mkosi vm\\f[R] and built with the "
10090 "\\f[CR]Ssh=\\f[R] option enabled via the \\f[CR]mkosi ssh\\f[R] command. If "
10091 "not configured and \\f[CR]mkosi.key\\f[R] exists in the working directory, "
10092 "it will automatically be used for this purpose. Run \\f[CR]mkosi "
10093 "genkey\\f[R] to automatically generate a key in \\f[CR]mkosi.key\\f[R].\\fR"
10094 msgstr ""
10095
10096 #. type: Plain text
10097 #: debian-trixie opensuse-leap-16-1
10098 msgid ""
10099 "Matches against the configured architecture. If this condition is used and "
10100 "no architecture has been explicitly configured yet, the host architecture is "
10101 "used."
10102 msgstr ""
10103
10104 #. type: Plain text
10105 #: debian-trixie
10106 #, no-wrap
10107 msgid ""
10108 "[Build]\n"
10109 "BuildSources=../abc/qed:kernel\n"
10110 msgstr ""
10111
10112 #. type: Plain text
10113 #: debian-trixie
10114 #, no-wrap
10115 msgid ""
10116 "[Match]\n"
10117 "BuildSources=kernel\n"
10118 msgstr ""
10119
10120 #. type: Plain text
10121 #: debian-trixie opensuse-leap-16-1
10122 msgid ""
10123 "The builtin configs for the \\f[B]mkosi\\f[R] default initrd, default tools "
10124 "tree and default virtual machine image can be included by including the "
10125 "literal value \\f[CR]mkosi-initrd\\f[R], \\f[CR]mkosi-tools\\f[R] or "
10126 "\\f[CR]mkosi-vm\\f[R] respectively.\\fR"
10127 msgstr ""
10128
10129 #. type: Plain text
10130 #: debian-trixie opensuse-leap-16-1
10131 msgid ""
10132 "When this setting is specified for the \\[lq]main\\[rq] image, it specifies "
10133 "which subimages should be built. See the \\f[B]Building multiple "
10134 "images\\f[R] section for more information.\\fR"
10135 msgstr ""
10136
10137 #. type: Plain text
10138 #: debian-trixie opensuse-leap-16-1
10139 msgid ""
10140 "Takes a comma-separated list of paths to executables that are used as the "
10141 "configure scripts for this image. See the \\f[B]Scripts\\f[R] section for "
10142 "more information.\\fR"
10143 msgstr ""
10144
10145 #. type: Plain text
10146 #: debian-trixie opensuse-leap-16-1
10147 msgid ""
10148 "Takes a list of environment variable names separated by spaces. When "
10149 "building multiple images, pass the listed environment variables to each "
10150 "individual subimage as if they were \\[lq]universal\\[rq] settings. See the "
10151 "\\f[B]Building multiple images\\f[R] section for more information.\\fR"
10152 msgstr ""
10153
10154 #. type: Plain text
10155 #: debian-trixie
10156 msgid ""
10157 "The contents of the \\f[CR].profile\\f[R] section of the UKI profile. Takes "
10158 "a list of key/value pairs separated by \\f[CR]=\\f[R]. The \\f[CR]ID=\\f[R] "
10159 "key must be specified. See the UKI E<.UR> https://uapi-group.org/"
10160 "specifications/specs/unified_kernel_image/#multi-profile-ukis specification "
10161 "E<.UE > \\ for a full list of possible keys.\\fR"
10162 msgstr ""
10163
10164 #. type: SH
10165 #: debian-trixie opensuse-leap-16-1
10166 #, no-wrap
10167 msgid "Execution Flow"
10168 msgstr ""
10169
10170 #. type: Plain text
10171 #: debian-trixie opensuse-leap-16-1
10172 msgid ""
10173 "Execution flow for \\f[CR]mkosi build\\f[R]. Default values/calls are shown "
10174 "in parentheses. When building with \\f[CR]--incremental\\f[R] "
10175 "\\f[B]mkosi\\f[R] creates a cache of the distribution installation if not "
10176 "already existing and replaces the distribution installation in consecutive "
10177 "runs with data from the cached one.\\fR"
10178 msgstr ""
10179
10180 #. type: Plain text
10181 #: debian-trixie opensuse-leap-16-1
10182 msgid "Cache the image if configured (\\f[CR]--incremental\\f[R])\\fR"
10183 msgstr ""
10184
10185 #. type: Plain text
10186 #: debian-trixie opensuse-leap-16-1
10187 msgid ""
10188 "Install systemd-boot and configure secure boot if configured (\\f[CR]--"
10189 "secure-boot\\f[R])\\fR"
10190 msgstr ""
10191
10192 #. type: SH
10193 #: debian-trixie opensuse-leap-16-1
10194 #, no-wrap
10195 msgid "Scripts"
10196 msgstr ""
10197
10198 #. type: Plain text
10199 #: debian-trixie opensuse-leap-16-1
10200 msgid ""
10201 "\\f[CR]$CACHED=\\f[R] is set to \\f[CR]1\\f[R] if a cached image is "
10202 "available, \\f[CR]0\\f[R] otherwise.\\fR"
10203 msgstr ""
10204
10205 #. type: SH
10206 #: debian-trixie opensuse-leap-16-1
10207 #, no-wrap
10208 msgid "Files"
10209 msgstr ""
10210
10211 #. type: Plain text
10212 #: debian-trixie
10213 #, no-wrap
10214 msgid ""
10215 "[Partition]\n"
10216 "Type=esp\n"
10217 "Format=vfat\n"
10218 "CopyFiles=/boot:/\n"
10219 "CopyFiles=/efi:/\n"
10220 "SizeMinBytes=512M\n"
10221 "SizeMaxBytes=512M\n"
10222 msgstr ""
10223
10224 #. type: Plain text
10225 #: debian-trixie
10226 #, no-wrap
10227 msgid ""
10228 "[Partition]\n"
10229 "# UUID of the grub BIOS boot partition which grubs needs on GPT to\n"
10230 "# embed itself into.\n"
10231 "Type=21686148-6449-6e6f-744e-656564454649\n"
10232 "SizeMinBytes=1M\n"
10233 "SizeMaxBytes=1M\n"
10234 msgstr ""
10235
10236 #. type: Plain text
10237 #: debian-trixie
10238 #, no-wrap
10239 msgid ""
10240 "[Partition]\n"
10241 "Type=root\n"
10242 "Format=E<lt>distribution-default-filesystemE<gt>\n"
10243 "CopyFiles=/\n"
10244 "Minimize=guess\n"
10245 msgstr ""
10246
10247 #. type: Plain text
10248 #: debian-trixie opensuse-leap-16-1
10249 msgid ""
10250 "If the incremental build mode is enabled with \\f[CR]--incremental\\f[R], "
10251 "cached copies of the final image and build overlay are made immediately "
10252 "before the build sources are copied in (for the build overlay) or the "
10253 "artifacts generated by \\f[CR]mkosi.build\\f[R] are copied in (in case of "
10254 "the final image). This form of caching allows bypassing the time-consuming "
10255 "package unpacking step of the distribution package managers, but is only "
10256 "effective if the list of packages to use remains stable, but the build "
10257 "sources and its scripts change regularly. Note that this cache requires "
10258 "manual flushing: whenever the package list is modified the cached images "
10259 "need to be explicitly removed before the next re-build, using the \\f[CR]-"
10260 "f\\f[R] switch.\\fR"
10261 msgstr ""
10262
10263 #. type: SH
10264 #: debian-trixie opensuse-leap-16-1
10265 #, no-wrap
10266 msgid "Building multiple images"
10267 msgstr ""
10268
10269 #. type: Plain text
10270 #: debian-trixie opensuse-leap-16-1
10271 msgid ""
10272 "When images are defined, \\f[B]mkosi\\f[R] will first read the main image "
10273 "configuration (configuration outside of the \\f[CR]mkosi.images/\\f[R] "
10274 "directory), followed by the image specific configuration. Several \\"
10275 "[lq]universal\\[rq] settings apply to the main image and all its subimages "
10276 "and cannot be configured separately in subimages. The following settings "
10277 "are universal and cannot be configured in subimages:\\fR"
10278 msgstr ""
10279
10280 #. type: Plain text
10281 #: debian-trixie opensuse-leap-16-1
10282 msgid ""
10283 "A good example on how to build multiple images can be found in the E<.UR "
10284 "https://github.com/systemd/systemd/tree/main/mkosi.images> systemd E<.UE > "
10285 "\\ repository."
10286 msgstr ""
10287
10288 #. type: Plain text
10289 #: debian-trixie opensuse-leap-16-1
10290 #, no-wrap
10291 msgid "# mkosi -p systemd --incremental boot\n"
10292 msgstr ""
10293
10294 #. type: Plain text
10295 #: debian-trixie opensuse-leap-16-1
10296 #, no-wrap
10297 msgid "$ mkosi --distribution fedora --format disk --checksum --compress-output --package=openssh-clients\n"
10298 msgstr ""
10299
10300 #. type: Plain text
10301 #: debian-trixie opensuse-leap-16-1
10302 #, no-wrap
10303 msgid ""
10304 "cd $SRCDIR\n"
10305 "\\&./autogen.sh\n"
10306 "\\&./configure --prefix=/usr\n"
10307 "make -j \\[ga]nproc\\[ga]\n"
10308 "make install\n"
10309 "EOF\n"
10310 "$ chmod +x mkosi.build\n"
10311 "# mkosi --incremental boot\n"
10312 "# systemd-nspawn -bi image.raw\n"
10313 msgstr ""
10314
10315 #. type: Plain text
10316 #: debian-trixie opensuse-leap-16-1
10317 #, no-wrap
10318 msgid ""
10319 "$ mkosi -d fedora \\[rs]\n"
10320 " --autologin \\[rs]\n"
10321 " -p systemd-udev,systemd-boot,kernel-core \\[rs]\n"
10322 " build\n"
10323 "$ mkosi -d fedora vm\n"
10324 "\\&...\n"
10325 "fedora login: root (automatic login)\n"
10326 "[root\\[at]fedora \\[ti]]#\n"
10327 msgstr ""
10328
10329 #. type: Plain text
10330 #: debian-trixie opensuse-leap-16-1
10331 msgid ""
10332 "A kernel may be booted directly with \\f[CR]mkosi vm -kernel ... -initrd ... "
10333 "-append \\[aq]...\\[aq]\\f[R]. This is a bit faster because no boot loader "
10334 "is used, and it is also easier to experiment with different kernels and "
10335 "kernel commandlines. Note that despite the name, \\f[B]qemu\\f[R]\\[cq]s "
10336 "\\f[CR]-append\\f[R] option replaces the default kernel commandline embedded "
10337 "in the kernel and any previous \\f[CR]-append\\f[R] specifications.\\fR"
10338 msgstr ""
10339
10340 #. type: Plain text
10341 #: debian-trixie opensuse-leap-16-1
10342 #, no-wrap
10343 msgid "$ mkosi vm -kernel mkosi.output/fedora\\[ti]38/image.efi\n"
10344 msgstr ""
10345
10346 #. type: Plain text
10347 #: debian-trixie opensuse-leap-16-1
10348 #, no-wrap
10349 msgid "$ mkosi vm -kernel /usr/lib/systemd/boot/efi/systemd-bootx64.efi\n"
10350 msgstr ""
10351
10352 #. type: Plain text
10353 #: debian-trixie opensuse-leap-16-1
10354 msgid ""
10355 "mkosi is packaged for various distributions: Debian, Kali, Ubuntu, Arch "
10356 "Linux, Fedora Linux, OpenMandriva, Gentoo. Note that it has been a while "
10357 "since the last release and the packages shipped by distributions are very "
10358 "out of date. We currently recommend running \\f[B]mkosi\\f[R] from git "
10359 "until a new release happens.\\fR"
10360 msgstr ""
10361
10362 #. type: Plain text
10363 #: debian-trixie
10364 #, no-wrap
10365 msgid "# dnf install btrfs-progs apt dosfstools mtools edk2-ovmf e2fsprogs squashfs-tools gnupg python3 tar xfsprogs xz zypper sbsigntools\n"
10366 msgstr ""
10367
10368 #. type: Plain text
10369 #: debian-trixie opensuse-leap-16-1
10370 msgid ""
10371 "For Ubuntu systems, you can remove the restrictions for \\f[B]mkosi\\f[R] by "
10372 "adapting this snippet to point to your \\f[B]mkosi\\f[R] binary, copying it "
10373 "to \\f[CR]/etc/apparmor.d/path.to.mkosi\\f[R], and then running "
10374 "\\f[CR]systemctl reload apparmor\\f[R]:\\fR"
10375 msgstr ""
10376
10377 #. type: Plain text
10378 #: debian-trixie opensuse-leap-16-1
10379 #, no-wrap
10380 msgid ""
10381 "/path/to/mkosi flags=(default_allow) {\n"
10382 " userns,\n"
10383 "}\n"
10384 msgstr ""
10385
10386 #. type: SH
10387 #: debian-trixie opensuse-leap-16-1
10388 #, no-wrap
10389 msgid "Frequently Asked Questions (FAQ)"
10390 msgstr ""
10391
10392 #. type: Plain text
10393 #: debian-unstable opensuse-tumbleweed
10394 msgid "mkosi \\(em Build Bespoke OS Images"
10395 msgstr ""
10396
10397 #. type: Plain text
10398 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10399 msgid "\\f[B]mkosi [options\\&...] init\\fR"
10400 msgstr ""
10401
10402 #. type: Plain text
10403 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10404 msgid "\\f[B]mkosi [options\\&...] summary\\fR"
10405 msgstr ""
10406
10407 #. type: Plain text
10408 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10409 msgid "\\f[B]mkosi [options\\&...] cat-config\\fR"
10410 msgstr ""
10411
10412 #. type: Plain text
10413 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10414 msgid "\\f[B]mkosi [options\\&...] build [-- command line\\&...]\\fR"
10415 msgstr ""
10416
10417 #. type: Plain text
10418 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10419 msgid "\\f[B]mkosi [options\\&...] shell [-- command line\\&...]\\fR"
10420 msgstr ""
10421
10422 #. type: Plain text
10423 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10424 msgid "\\f[B]mkosi [options\\&...] boot [-- nspawn settings\\&...]\\fR"
10425 msgstr ""
10426
10427 #. type: Plain text
10428 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10429 msgid "\\f[B]mkosi [options\\&...] vm [-- vmm parameters\\&...]\\fR"
10430 msgstr ""
10431
10432 #. type: Plain text
10433 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10434 msgid "\\f[B]mkosi [options\\&...] ssh [-- command line\\&...]\\fR"
10435 msgstr ""
10436
10437 #. type: Plain text
10438 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10439 msgid "\\f[B]mkosi [options\\&...] journalctl [-- command line\\&...]\\fR"
10440 msgstr ""
10441
10442 #. type: Plain text
10443 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10444 msgid "\\f[B]mkosi [options\\&...] coredumpctl [-- command line\\&...]\\fR"
10445 msgstr ""
10446
10447 #. type: Plain text
10448 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10449 msgid "\\f[B]mkosi [options\\&...] sysupdate [-- sysupdate settings\\&...]\\fR"
10450 msgstr ""
10451
10452 #. type: Plain text
10453 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10454 msgid "\\f[B]mkosi [options\\&...] box [-- command line\\&...]\\fR"
10455 msgstr ""
10456
10457 #. type: Plain text
10458 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10459 msgid "\\f[B]mkosi [options\\&...] dependencies [-- options\\&...]\\fR"
10460 msgstr ""
10461
10462 #. type: Plain text
10463 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10464 msgid "\\f[B]mkosi [options\\&...] clean\\fR"
10465 msgstr ""
10466
10467 #. type: Plain text
10468 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10469 msgid "\\f[B]mkosi [options\\&...] serve\\fR"
10470 msgstr ""
10471
10472 #. type: Plain text
10473 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10474 msgid "\\f[B]mkosi [options\\&...] burn E<lt>deviceE<gt>\\fR"
10475 msgstr ""
10476
10477 #. type: Plain text
10478 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10479 msgid "\\f[B]mkosi [options\\&...] bump\\fR"
10480 msgstr ""
10481
10482 #. type: Plain text
10483 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10484 msgid "\\f[B]mkosi [options\\&...] genkey\\fR"
10485 msgstr ""
10486
10487 #. type: Plain text
10488 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10489 msgid "\\f[B]mkosi [options\\&...] documentation [manual]\\fR"
10490 msgstr ""
10491
10492 #. type: Plain text
10493 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10494 msgid "\\f[B]mkosi [options\\&...] completion [shell]\\fR"
10495 msgstr ""
10496
10497 #. type: Plain text
10498 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10499 msgid "\\f[B]mkosi [options\\&...] latest-snapshot\\fR"
10500 msgstr ""
10501
10502 #. type: Plain text
10503 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10504 msgid "\\f[B]mkosi [options\\&...] help\\fR"
10505 msgstr ""
10506
10507 #. type: Plain text
10508 #: debian-unstable opensuse-tumbleweed
10509 msgid ""
10510 "\\f[B]mkosi\\f[R] is a tool for easily building customized OS images. It\\"
10511 "(cqs a fancy wrapper around \\f[B]dnf\\f[R], \\f[B]apt\\f[R], "
10512 "\\f[B]pacman\\f[R] and \\f[B]zypper\\f[R] that may generate disk images with "
10513 "a number of bells and whistles.\\fR"
10514 msgstr ""
10515
10516 #. type: TP
10517 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10518 #, no-wrap
10519 msgid "\\f[B]init\\fR"
10520 msgstr ""
10521
10522 #. type: Plain text
10523 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10524 msgid ""
10525 "Initialize \\f[B]mkosi\\f[R]. This is a one time operation that sets up "
10526 "various config files required for an optimal experience. Currently this "
10527 "only initialized a \\f[B]tmpfiles.d\\f[R] dropin for the mkosi package cache "
10528 "directory to make sure old, unused files are cleaned up automatically.\\fR"
10529 msgstr ""
10530
10531 #. type: TP
10532 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10533 #, no-wrap
10534 msgid "\\f[B]summary\\fR"
10535 msgstr ""
10536
10537 #. type: TP
10538 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10539 #, no-wrap
10540 msgid "\\f[B]cat-config\\fR"
10541 msgstr ""
10542
10543 #. type: tbl table
10544 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10545 #, no-wrap
10546 msgid "\\f[B]build\\fR"
10547 msgstr ""
10548
10549 #. type: Plain text
10550 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10551 msgid ""
10552 "Build the image-based on the settings passed on the command line and in the "
10553 "configuration files. This command is the default if no verb is specified. "
10554 "Arguments may be passed to the build scripts, if some are defined. To pass "
10555 "options to the build scripts, separate them from regular mkosi options with "
10556 "\\f[B]--\\f[R].\\fR"
10557 msgstr ""
10558
10559 #. type: TP
10560 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10561 #, no-wrap
10562 msgid "\\f[B]shell\\fR"
10563 msgstr ""
10564
10565 #. type: Plain text
10566 #: debian-unstable opensuse-tumbleweed
10567 msgid ""
10568 "This builds the image if it is not built yet, and then invokes \\f[B]systemd-"
10569 "nspawn\\f[R] to run an interactive shell in the image. This doesn\\(cqt "
10570 "require booting the system, it\\(cqs like a better chroot. An optional "
10571 "command line may be specified after the \\f[B]shell\\f[R] verb, to be "
10572 "invoked in place of the shell in the container. To pass extra options to "
10573 "nspawn, separate them from regular options with \\f[B]--\\f[R].\\fR"
10574 msgstr ""
10575
10576 #. type: TP
10577 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10578 #, no-wrap
10579 msgid "\\f[B]boot\\fR"
10580 msgstr ""
10581
10582 #. type: Plain text
10583 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10584 msgid ""
10585 "Similar to \\f[B]shell\\f[R], but instead of spawning a shell, it boots "
10586 "systemd in the image using \\f[B]systemd-nspawn\\f[R]. Extra arguments may "
10587 "be specified after the \\f[B]boot\\f[R] verb, which are passed as the "
10588 "\\f[I]kernel command line\\f[R] to the init system in the image. To pass "
10589 "extra options to nspawn, separate them from regular options with \\f[B]--"
10590 "\\f[R].\\fR"
10591 msgstr ""
10592
10593 #. type: TP
10594 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10595 #, no-wrap
10596 msgid "\\f[B]vm\\fR"
10597 msgstr ""
10598
10599 #. type: Plain text
10600 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10601 msgid ""
10602 "Similar to \\f[B]boot\\f[R], but uses the configured virtual machine monitor "
10603 "(by default \\f[B]qemu\\f[R]) to boot up the image, i.e.\\ instead of "
10604 "container virtualization, virtual machine virtualization is used. How extra "
10605 "command line arguments are interpreted depends on the configured virtual "
10606 "machine monitor. See \\f[B]VirtualMachineMonitor=\\f[R] for more "
10607 "information. To pass extra options to the configured virtual machine "
10608 "monitor, separate them from regular options with \\f[B]--\\f[R].\\fR"
10609 msgstr ""
10610
10611 #. type: TP
10612 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10613 #, no-wrap
10614 msgid "\\f[B]ssh\\fR"
10615 msgstr ""
10616
10617 #. type: Plain text
10618 #: debian-unstable opensuse-tumbleweed
10619 msgid ""
10620 "When the image is built with the \\f[B]Ssh=always\\f[R] option or if "
10621 "systemd\\(cqs \\f[B]sshd-vsock\\f[R] service is running in the VM (systemd "
10622 "v256+), this command connects to a booted virtual machine via SSH. Make "
10623 "sure to run \\f[B]mkosi ssh\\f[R] with the same config as \\f[B]mkosi "
10624 "build\\f[R] so that it has the necessary information available to connect to "
10625 "the running virtual machine via SSH. Specifically, the SSH private key from "
10626 "the \\f[B]SshKey=\\f[R] setting is used to connect to the virtual machine. "
10627 "Use \\f[B]mkosi genkey\\f[R] to automatically generate a key and certificate "
10628 "that will be picked up by \\f[B]mkosi\\f[R]. Any arguments passed after the "
10629 "\\f[B]ssh\\f[R] verb are passed as arguments to the \\f[B]ssh\\f[R] "
10630 "invocation. To pass extra options, separate them from regular options with "
10631 "\\f[B]--\\f[R].To connect to a container, use \\f[B]machinectl login\\f[R] "
10632 "or \\f[B]machinectl shell\\f[R].\\fR"
10633 msgstr ""
10634
10635 #. type: Plain text
10636 #: debian-unstable opensuse-tumbleweed
10637 msgid ""
10638 "\\f[R]The \\f[B]Machine=\\f[R] option can be used to give the machine a "
10639 "custom hostname when booting it which can later be used to \\f[B]ssh\\f[R] "
10640 "into the image (e.g.\\ \\f[B]mkosi --machine=mymachine vm\\f[R] followed by "
10641 "\\f[B]mkosi --machine=mymachine ssh\\f[R]).\\fR"
10642 msgstr ""
10643
10644 #. type: TP
10645 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10646 #, no-wrap
10647 msgid "\\f[B]journalctl\\fR"
10648 msgstr ""
10649
10650 #. type: Plain text
10651 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10652 msgid ""
10653 "Uses \\f[B]journalctl\\f[R] to inspect the journal inside the image. All "
10654 "arguments specified after the \\f[B]journalctl\\f[R] verb and separated by "
10655 "\\f[B]--\\f[R] from the regular options are appended to the "
10656 "\\f[B]journalctl\\f[R] invocation.\\fR"
10657 msgstr ""
10658
10659 #. type: TP
10660 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10661 #, no-wrap
10662 msgid "\\f[B]coredumpctl\\fR"
10663 msgstr ""
10664
10665 #. type: Plain text
10666 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10667 msgid ""
10668 "Uses \\f[B]coredumpctl\\f[R] to look for coredumps inside the image. All "
10669 "arguments specified after the \\f[B]coredumpctl\\f[R] verb and separated by "
10670 "\\f[B]--\\f[R] from the regular options are appended to the "
10671 "\\f[B]coredumpctl\\f[R] invocation.\\fR"
10672 msgstr ""
10673
10674 #. type: TP
10675 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10676 #, no-wrap
10677 msgid "\\f[B]sysupdate\\fR"
10678 msgstr ""
10679
10680 #. type: Plain text
10681 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10682 msgid ""
10683 "Invokes \\f[B]systemd-sysupdate\\f[R] with the \\f[B]--transfer-"
10684 "source=\\f[R] option set to the output directory and the \\f[B]--"
10685 "definitions=\\f[R] option set to the directory configured with "
10686 "\\f[B]SysupdateDirectory=\\f[R]. All arguments specified after the "
10687 "\\f[B]sysupdate\\f[R] verb and separated from the regular options with "
10688 "\\f[B]--\\f[R] are passed directly to \\f[B]systemd-sysupdate\\f[R].\\fR"
10689 msgstr ""
10690
10691 #. type: TP
10692 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10693 #, no-wrap
10694 msgid "\\f[B]box\\fR"
10695 msgstr ""
10696
10697 #. type: Plain text
10698 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10699 msgid ""
10700 "Run arbitrary commands inside of the same environment used to execute other "
10701 "verbs such as \\f[B]boot\\f[R], \\f[B]shell\\f[R], \\f[B]vm\\f[R] and more. "
10702 "This means \\f[B]/usr\\f[R] will be replaced by \\f[B]/usr\\f[R] from the "
10703 "tools tree if one is used while everything else will remain in place. If no "
10704 "command is provided, \\f[B]$SHELL\\f[R] will be executed or \\f[B]bash\\f[R] "
10705 "if \\f[B]$SHELL\\f[R] is not set. To pass extra options to the given "
10706 "command, separate them from regular options with \\f[B]--\\f[R].\\fR"
10707 msgstr ""
10708
10709 #. type: tbl table
10710 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10711 #, no-wrap
10712 msgid "\\f[B]clean\\fR"
10713 msgstr ""
10714
10715 #. type: Plain text
10716 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10717 msgid ""
10718 "Remove build artifacts generated on a previous build. If combined with "
10719 "\\f[B]-f\\f[R], also removes incremental build cache images and the tools "
10720 "tree. If \\f[B]-f\\f[R] is specified twice, also removes any package cache."
10721 "\\fR"
10722 msgstr ""
10723
10724 #. type: TP
10725 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10726 #, no-wrap
10727 msgid "\\f[B]serve\\fR"
10728 msgstr ""
10729
10730 #. type: Plain text
10731 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10732 msgid ""
10733 "This builds the image if it is not built yet, and then serves the output "
10734 "directory (i.e.\\ usually \\f[B]mkosi.output/\\f[R], see below) via a small "
10735 "embedded HTTP server, listening on port 8081. Combine with \\f[B]-f\\f[R] "
10736 "in order to rebuild the image unconditionally before serving it. This "
10737 "command is useful for testing network-based acquisition of OS images, for "
10738 "example via \\f[B]machinectl pull-raw \\&...\\f[R] and \\f[B]machinectl pull-"
10739 "tar \\&...\\f[R].\\fR"
10740 msgstr ""
10741
10742 #. type: TP
10743 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10744 #, no-wrap
10745 msgid "\\f[B]burn E<lt>deviceE<gt>\\fR"
10746 msgstr ""
10747
10748 #. type: TP
10749 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10750 #, no-wrap
10751 msgid "\\f[B]bump\\fR"
10752 msgstr ""
10753
10754 #. type: Plain text
10755 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10756 msgid ""
10757 "Bumps the image version from \\f[B]mkosi.version\\f[R] and writes the "
10758 "resulting version string to \\f[B]mkosi.version\\f[R]. This is useful for "
10759 "implementing a simple versioning scheme: each time this verb is called the "
10760 "version is bumped in preparation for the subsequent build. Note that "
10761 "\\f[B]--auto-bump\\f[R]/\\f[B]-B\\f[R] may be used to automatically bump the "
10762 "version as part of a build. The new version is only written to "
10763 "\\f[B]mkosi.version\\f[R] if the build succeeds in that case.\\fR"
10764 msgstr ""
10765
10766 #. type: Plain text
10767 #: debian-unstable opensuse-tumbleweed
10768 msgid ""
10769 "\\f[R]If \\f[B]mkosi.bump\\f[R] exists, it is invoked to generate the new "
10770 "version to be used instead of using mkosi\\(cqs own logic.\\fR"
10771 msgstr ""
10772
10773 #. type: TP
10774 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10775 #, no-wrap
10776 msgid "\\f[B]genkey\\fR"
10777 msgstr ""
10778
10779 #. type: Plain text
10780 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10781 msgid ""
10782 "Generate a pair of SecureBoot keys for usage with the "
10783 "\\f[B]SecureBootKey=\\f[R]/\\f[B]--secure-boot-key=\\f[R] and "
10784 "\\f[B]SecureBootCertificate=\\f[R]/\\f[B]--secure-boot-certificate=\\f[R] "
10785 "options.\\fR"
10786 msgstr ""
10787
10788 #. type: TP
10789 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10790 #, no-wrap
10791 msgid "\\f[B]documentation\\fR"
10792 msgstr ""
10793
10794 #. type: Plain text
10795 #: debian-unstable opensuse-tumbleweed
10796 msgid ""
10797 "Show \\f[B]mkosi\\f[R]\\(cqs documentation. If no argument is given, the "
10798 "\\f[B]mkosi\\f[R] man page is shown, but the arguments \\f[B]mkosi\\f[R], "
10799 "\\f[B]mkosi-initrd\\f[R], \\f[B]initrd\\f[R], \\f[B]mkosi-sandbox\\f[R], "
10800 "\\f[B]sandbox\\f[R], \\f[B]mkosi.news\\f[R] and \\f[B]news\\f[R] are "
10801 "supported and respectively show the man pages for \\f[B]mkosi\\f[R], "
10802 "\\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-sandbox\\f[R] and \\f[B]mkosi\\f[R]\\"
10803 "(cqs NEWS file.\\fR"
10804 msgstr ""
10805
10806 #. type: Plain text
10807 #: debian-unstable opensuse-tumbleweed
10808 msgid ""
10809 "\\f[R]By default this verb will try several ways to output the "
10810 "documentation, but a specific option can be chosen with the \\f[B]--doc-"
10811 "format\\f[R] option. Distro packagers are encouraged to add a file "
10812 "\\f[B]mkosi.1\\f[R] into the \\f[B]mkosi/resources\\f[R] directory of the "
10813 "Python package, if it is missing, as well as to install it in the "
10814 "appropriate search path for man pages. The man page can be generated from "
10815 "the markdown file \\f[B]mkosi/resources/man/mkosi.1.md\\f[R] e.g via "
10816 "\\f[B]pandoc -t man -s -o mkosi.1 mkosi.1.md\\f[R].\\fR"
10817 msgstr ""
10818
10819 #. type: TP
10820 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10821 #, no-wrap
10822 msgid "\\f[B]completion\\fR"
10823 msgstr ""
10824
10825 #. type: Plain text
10826 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10827 msgid ""
10828 "Generate shell completion for the shell given as argument and print it to "
10829 "stdout. The arguments \\f[B]bash\\f[R], \\f[B]fish\\f[R], and "
10830 "\\f[B]zsh\\f[R] are understood.\\fR"
10831 msgstr ""
10832
10833 #. type: TP
10834 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10835 #, no-wrap
10836 msgid "\\f[B]dependencies\\fR"
10837 msgstr ""
10838
10839 #. type: Plain text
10840 #: debian-unstable opensuse-tumbleweed
10841 msgid ""
10842 "\\f[R]This list can be piped directly to a package manager to install the "
10843 "packages. For example, if the host system uses the \\f[B]dnf\\f[R] package "
10844 "manager, the packages could be installed as follows:\\fR"
10845 msgstr ""
10846
10847 #. type: Plain text
10848 #: debian-unstable opensuse-tumbleweed
10849 #, no-wrap
10850 msgid "mkosi dependencies \\f[B]|\\f[R] xargs -d \\(aq\\(rsn\\(aq dnf install\\fR\n"
10851 msgstr ""
10852
10853 #. type: Plain text
10854 #: debian-unstable opensuse-tumbleweed
10855 msgid ""
10856 "\\f[R]By default, only the dependencies required to build images with mkosi "
10857 "are shown. Extra tools tree profiles can be enabled to also output the "
10858 "packages belonging to those profiles. For example, running \\f[B]mkosi "
10859 "dependencies -- --profile runtime\\f[R] will also output the packages in the "
10860 "runtime profile on top of the regular packages. See the documentation for "
10861 "\\f[B]ToolsTreeProfiles=\\f[R] for a list of available profiles.\\fR"
10862 msgstr ""
10863
10864 #. type: TP
10865 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10866 #, no-wrap
10867 msgid "\\f[B]latest-snapshot\\fR"
10868 msgstr ""
10869
10870 #. type: Plain text
10871 #: debian-unstable opensuse-tumbleweed
10872 msgid ""
10873 "This verb is useful to automatically bump snapshots every so often. Note "
10874 "that this verb only outputs the latest snapshot. It\\(cqs up to the caller "
10875 "to ensure that the snapshot is written to the intended configuration file."
10876 msgstr ""
10877
10878 #. type: TP
10879 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10880 #, no-wrap
10881 msgid "\\f[B]help\\fR"
10882 msgstr ""
10883
10884 #. type: Plain text
10885 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10886 msgid ""
10887 "This verb is equivalent to the \\f[B]--help\\f[R] switch documented below: "
10888 "it shows a brief usage explanation.\\fR"
10889 msgstr ""
10890
10891 #. type: TP
10892 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10893 #, no-wrap
10894 msgid "\\f[B]--force\\f[R], \\f[B]-f\\fR"
10895 msgstr ""
10896
10897 #. type: Plain text
10898 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10899 msgid ""
10900 "Replace the output file if it already exists, when building an image. By "
10901 "default when building an image and an output artifact already exists "
10902 "\\f[B]mkosi\\f[R] will refuse operation. Specify this option once to delete "
10903 "all build artifacts from a previous run before re-building the image. If "
10904 "incremental builds are enabled, specifying this option twice will ensure the "
10905 "intermediary cache files are removed, too, before the re-build is "
10906 "initiated. If a package cache is used (also see the \\f[B]FILES\\f[R] "
10907 "section below), specifying this option thrice will ensure the package cache "
10908 "is removed too, before the re-build is initiated. For the \\f[B]clean\\f[R] "
10909 "operation this option has a slightly different effect: by default the verb "
10910 "will only remove build artifacts from a previous run, when specified once "
10911 "the incremental cache files and the tools tree are deleted too, and when "
10912 "specified twice the package cache is also removed.\\fR"
10913 msgstr ""
10914
10915 #. type: TP
10916 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10917 #, no-wrap
10918 msgid "\\f[B]--directory=\\f[R], \\f[B]-C\\fR"
10919 msgstr ""
10920
10921 #. type: TP
10922 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10923 #, no-wrap
10924 msgid "\\f[B]--debug\\fR"
10925 msgstr ""
10926
10927 #. type: TP
10928 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10929 #, no-wrap
10930 msgid "\\f[B]--debug-shell\\fR"
10931 msgstr ""
10932
10933 #. type: TP
10934 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10935 #, no-wrap
10936 msgid "\\f[B]--debug-workspace\\fR"
10937 msgstr ""
10938
10939 #. type: TP
10940 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10941 #, no-wrap
10942 msgid "\\f[B]--debug-sandbox\\fR"
10943 msgstr ""
10944
10945 #. type: TP
10946 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10947 #, no-wrap
10948 msgid "\\f[B]--version\\fR"
10949 msgstr ""
10950
10951 #. type: TP
10952 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10953 #, no-wrap
10954 msgid "\\f[B]--help\\f[R], \\f[B]-h\\fR"
10955 msgstr ""
10956
10957 #. type: TP
10958 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10959 #, no-wrap
10960 msgid "\\f[B]--genkey-common-name=\\fR"
10961 msgstr ""
10962
10963 #. type: Plain text
10964 #: debian-unstable opensuse-tumbleweed
10965 msgid ""
10966 "Common name to be used when generating keys via \\f[B]mkosi\\f[R]\\(cqs "
10967 "\\f[B]genkey\\f[R] command. Defaults to \\f[B]mkosi of %u\\f[R], where "
10968 "\\f[B]%u\\f[R] expands to the username of the user invoking "
10969 "\\f[B]mkosi\\f[R].\\fR"
10970 msgstr ""
10971
10972 #. type: TP
10973 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10974 #, no-wrap
10975 msgid "\\f[B]--genkey-valid-days=\\fR"
10976 msgstr ""
10977
10978 #. type: Plain text
10979 #: debian-unstable opensuse-tumbleweed
10980 msgid ""
10981 "Number of days that the keys should remain valid when generating keys via "
10982 "\\f[B]mkosi\\f[R]\\(cqs \\f[B]genkey\\f[R] command. Defaults to two years "
10983 "(730 days).\\fR"
10984 msgstr ""
10985
10986 #. type: TP
10987 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10988 #, no-wrap
10989 msgid "\\f[B]--auto-bump=\\f[R], \\f[B]-B\\fR"
10990 msgstr ""
10991
10992 #. type: Plain text
10993 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
10994 msgid ""
10995 "If specified, the version is bumped and if the build succeeds, the version "
10996 "is written to \\f[B]mkosi.version\\f[R] in a fashion equivalent to the "
10997 "\\f[B]bump\\f[R] verb. This is useful for simple, linear version "
10998 "management: each build in a series will have a version number one higher "
10999 "then the previous one.\\fR"
11000 msgstr ""
11001
11002 #. type: TP
11003 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11004 #, no-wrap
11005 msgid "\\f[B]--doc-format\\fR"
11006 msgstr ""
11007
11008 #. type: Plain text
11009 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11010 msgid ""
11011 "The format to show the documentation in. Supports the values "
11012 "\\f[B]markdown\\f[R], \\f[B]man\\f[R], \\f[B]pandoc\\f[R], "
11013 "\\f[B]system\\f[R] and \\f[B]auto\\f[R]. In the case of "
11014 "\\f[B]markdown\\f[R] the documentation is shown in the original Markdown "
11015 "format. \\f[B]man\\f[R] shows the documentation in man page format, if it "
11016 "is available. \\f[B]pandoc\\f[R] will generate the man page format on the "
11017 "fly, if \\f[B]pandoc\\f[R] is available. \\f[B]system\\f[R] will show the "
11018 "system-wide man page for \\f[B]mkosi\\f[R], which may or may not correspond "
11019 "to the version you are using, depending on how you installed "
11020 "\\f[B]mkosi\\f[R]. \\f[B]auto\\f[R], which is the default, will try all "
11021 "methods in the order \\f[B]man\\f[R], \\f[B]pandoc\\f[R], "
11022 "\\f[B]markdown\\f[R], \\f[B]system\\f[R].\\fR"
11023 msgstr ""
11024
11025 #. type: TP
11026 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11027 #, no-wrap
11028 msgid "\\f[B]--json\\fR"
11029 msgstr ""
11030
11031 #. type: TP
11032 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11033 #, no-wrap
11034 msgid "\\f[B]--wipe-build-dir\\f[R], \\f[B]-w\\fR"
11035 msgstr ""
11036
11037 #. type: TP
11038 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11039 #, no-wrap
11040 msgid "\\f[B]--rerun-build-scripts\\f[R], \\f[B]-R\\fR"
11041 msgstr ""
11042
11043 #. type: Plain text
11044 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11045 msgid ""
11046 "Rerun build scripts. Requires the \\f[B]Incremental=\\f[R] option to be "
11047 "enabled and the image to have been built once already. If "
11048 "\\f[B]History=\\f[R] is enabled, the history from the previous build will be "
11049 "reused and no new history will be written.\\fR"
11050 msgstr ""
11051
11052 #. type: IP
11053 #: debian-unstable opensuse-tumbleweed
11054 #, no-wrap
11055 msgid "\\(bu"
11056 msgstr ""
11057
11058 #. type: IP
11059 #: debian-unstable opensuse-tumbleweed
11060 #, no-wrap
11061 msgid "\\f[R]\\(bu\\fR"
11062 msgstr ""
11063
11064 #. type: Plain text
11065 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11066 msgid ""
11067 "\\&... and much more. See \\f[B]Format=\\f[R] documentation below.\\fR"
11068 msgstr ""
11069
11070 #. type: Plain text
11071 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11072 msgid ""
11073 "When a \\f[I]GPT\\f[R] disk image is created, repart partition definition "
11074 "files may be placed in \\f[B]mkosi.repart/\\f[R] to configure the generated "
11075 "disk image.\\fR"
11076 msgstr ""
11077
11078 #. type: Plain text
11079 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11080 msgid ""
11081 "The following settings can be set through configuration files (the syntax "
11082 "with \\f[B]SomeSetting=value\\f[R]) and on the command line (the syntax with "
11083 "\\f[B]--some-setting=value\\f[R]). For some command line parameters, a "
11084 "single-letter shortcut is also allowed. In the configuration files, the "
11085 "setting must be in the appropriate section, so the settings are grouped by "
11086 "section below.\\fR"
11087 msgstr ""
11088
11089 #. type: Plain text
11090 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11091 msgid ""
11092 "\\f[B]mkosi.local.conf\\f[R] and \\f[B]mkosi.local/\\f[R] are parsed if they "
11093 "exists (in that order). This file and directory should be in "
11094 "\\f[B].gitignore\\f[R] (or equivalent) and are intended for local "
11095 "configuration.\\fR"
11096 msgstr ""
11097
11098 #. type: Plain text
11099 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11100 msgid ""
11101 "\\f[B]mkosi.conf\\f[R] is parsed if it exists in the directory configured "
11102 "with \\f[B]--directory=\\f[R] or the current working directory if \\f[B]--"
11103 "directory=\\f[R] is not used. If the specified directory does not contain a "
11104 "\\f[B]mkosi.conf\\f[R] or \\f[B]mkosi.tools.conf\\f[R] and a \\f[B]mkosi/"
11105 "mkosi.conf\\f[R] or \\f[B]mkosi/mkosi.tools.conf\\f[R] exists, the "
11106 "configuration will be parsed from the \\f[B]mkosi/\\f[R] subdirectory of the "
11107 "specified directory instead.\\fR"
11108 msgstr ""
11109
11110 #. type: Plain text
11111 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11112 msgid ""
11113 "\\f[B]mkosi.conf.d/\\f[R] is parsed in the same directory as "
11114 "\\f[B]mkosi.conf\\f[R] if it exists. Each directory and each file with the "
11115 "\\f[B].conf\\f[R] extension in \\f[B]mkosi.conf.d/\\f[R] is parsed. Any "
11116 "directory in \\f[B]mkosi.conf.d\\f[R] is parsed as if it were a regular top "
11117 "level directory, except for \\f[B]mkosi.images/\\f[R] and "
11118 "\\f[B]mkosi.tools.conf\\f[R], which are only picked up in the top level "
11119 "directory.\\fR"
11120 msgstr ""
11121
11122 #. type: Plain text
11123 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11124 msgid ""
11125 "If any profiles are configured, their configuration is parsed from the "
11126 "\\f[B]mkosi.profiles/\\f[R] directory.\\fR"
11127 msgstr ""
11128
11129 #. type: Plain text
11130 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11131 msgid ""
11132 "Subimages are parsed from the \\f[B]mkosi.images/\\f[R] directory if it "
11133 "exists.\\fR"
11134 msgstr ""
11135
11136 #. type: Plain text
11137 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11138 msgid ""
11139 "Note that settings configured via the command line always override settings "
11140 "configured via configuration files. If the same setting is configured more "
11141 "than once via configuration files, later assignments override earlier "
11142 "assignments except for settings that take a collection of values. Also, "
11143 "settings read from \\f[B]mkosi.local.conf\\f[R] or \\f[B]mkosi.local/\\f[R] "
11144 "will override settings from configuration files that are parsed later, but "
11145 "not settings specified on the CLI.\\fR"
11146 msgstr ""
11147
11148 #. type: Plain text
11149 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11150 msgid ""
11151 "For settings that take a single value, the empty assignment "
11152 "(\\f[B]SomeSetting=\\f[R] or \\f[B]--some-setting=\\f[R]) can be used to "
11153 "override a previous setting and reset to the default.\\fR"
11154 msgstr ""
11155
11156 #. type: Plain text
11157 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11158 msgid ""
11159 "To conditionally include configuration files, the \\f[B][Match]\\f[R] "
11160 "section can be used. A \\f[B][Match]\\f[R] section consists of individual "
11161 "conditions. Conditions can use a pipe symbol (\\f[B]|\\f[R]) after the "
11162 "equals sign (\\f[B]\\&...=|\\&...\\f[R]), which causes the condition to "
11163 "become a triggering condition. The config file will be included if the "
11164 "logical AND of all non-triggering conditions and the logical OR of all "
11165 "triggering conditions is satisfied. To negate the result of a condition, "
11166 "prefix the argument with an exclamation mark. If an argument is prefixed "
11167 "with the pipe symbol and an exclamation mark, the pipe symbol must be passed "
11168 "first, and the exclamation second.\\fR"
11169 msgstr ""
11170
11171 #. type: Plain text
11172 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11173 msgid ""
11174 "Note that \\f[B][Match]\\f[R] conditions compare against the current values "
11175 "of specific settings, and do not take into account changes made to the "
11176 "setting in configuration files that have not been parsed yet (settings "
11177 "specified on the CLI are taken into account). Also note that matching "
11178 "against a setting and then changing its value afterwards in a different "
11179 "config file may lead to unexpected results.\\fR"
11180 msgstr ""
11181
11182 #. type: Plain text
11183 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11184 msgid ""
11185 "The \\f[B][Match]\\f[R] section of a \\f[B]mkosi.conf\\f[R] file in a "
11186 "directory applies to the entire directory. If the conditions are not "
11187 "satisfied, the entire directory is skipped. The \\f[B][Match]\\f[R] "
11188 "sections of files in \\f[B]mkosi.conf.d/\\f[R] and "
11189 "\\f[B]mkosi.local.conf\\f[R] only apply to the file itself.\\fR"
11190 msgstr ""
11191
11192 #. type: Plain text
11193 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11194 msgid ""
11195 "If there are multiple \\f[B][Match]\\f[R] sections in the same configuration "
11196 "file, each of them has to be satisfied in order for the configuration file "
11197 "to be included. Specifically, triggering conditions only apply to the "
11198 "current \\f[B][Match]\\f[R] section and are reset between multiple \\f[B]"
11199 "[Match]\\f[R] sections. As an example, the following will only match if the "
11200 "output format is one of \\f[B]disk\\f[R] or \\f[B]directory\\f[R] and the "
11201 "architecture is one of \\f[B]x86-64\\f[R] or \\f[B]arm64\\f[R]:\\fR"
11202 msgstr ""
11203
11204 #. type: Plain text
11205 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11206 msgid ""
11207 "The \\f[B][TriggerMatch]\\f[R] section can be used to indicate triggering "
11208 "matches. These are identical to triggering conditions in systemd units "
11209 "except they apply to the entire match section instead of just a single "
11210 "condition. As an example, the following will match if the distribution is "
11211 "\\f[B]debian\\f[R] and the release is \\f[B]bookworm\\f[R] or if the "
11212 "distribution is \\f[B]ubuntu\\f[R] and the release is \\f[B]noble\\f[R].\\fR"
11213 msgstr ""
11214
11215 #. type: Plain text
11216 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11217 msgid ""
11218 "The semantics of conditions in \\f[B][TriggerMatch]\\f[R] sections is the "
11219 "same as in \\f[B][Match]\\f[R], i.e.\\ all normal conditions are joined by a "
11220 "logical AND and all triggering conditions are joined by a logical OR. When "
11221 "mixing \\f[B][Match]\\f[R] and \\f[B][TriggerMatch]\\f[R] sections, a match "
11222 "is achieved when all \\f[B][Match]\\f[R] sections match and at least one "
11223 "\\f[B][TriggerMatch]\\f[R] section matches. The absence of match sections "
11224 "is valued as true. Logically this means:\\fR"
11225 msgstr ""
11226
11227 #. type: Plain text
11228 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11229 msgid ""
11230 "There is also support for \\f[B][Assert]\\f[R] and \\f[B][TriggerAssert]"
11231 "\\f[R] sections which behave identically to match sections except parsing "
11232 "configuration will fail if the assert sections are not satisfied, i.e.\\ all "
11233 "\\f[B][Assert]\\f[R] sections in a file as well as at least one \\f[B]"
11234 "[TriggertAssert]\\f[R] section have to be satisfied or config parsing will "
11235 "fail.\\fR"
11236 msgstr ""
11237
11238 #. type: Plain text
11239 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11240 msgid ""
11241 "Command line options that take no argument are shown without \\f[B]=\\f[R] "
11242 "in their long version. In the config files, they should be specified with a "
11243 "boolean argument: either \\f[B]1\\f[R], \\f[B]yes\\f[R], or \\f[B]true\\f[R] "
11244 "to enable, or \\f[B]0\\f[R], \\f[B]no\\f[R], \\f[B]false\\f[R] to disable."
11245 "\\fR"
11246 msgstr ""
11247
11248 #. type: TP
11249 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11250 #, no-wrap
11251 msgid "\\f[B]Distribution=\\f[R], \\f[B]--distribution=\\f[R], \\f[B]-d\\fR"
11252 msgstr ""
11253
11254 #. type: Plain text
11255 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11256 msgid ""
11257 "The distribution to install in the image. Takes one of the following "
11258 "arguments: \\f[B]fedora\\f[R], \\f[B]debian\\f[R], \\f[B]kali\\f[R], "
11259 "\\f[B]ubuntu\\f[R], \\f[B]arch\\f[R], \\f[B]opensuse\\f[R], "
11260 "\\f[B]mageia\\f[R], \\f[B]centos\\f[R], \\f[B]rhel\\f[R], \\f[B]rhel-"
11261 "ubi\\f[R], \\f[B]openmandriva\\f[R], \\f[B]rocky\\f[R], \\f[B]alma\\f[R], "
11262 "\\f[B]azure\\f[R] or \\f[B]custom\\f[R]. If not specified, defaults to the "
11263 "distribution of the host or \\f[B]custom\\f[R] if the distribution of the "
11264 "host is not a supported distribution.\\fR"
11265 msgstr ""
11266
11267 #. type: TP
11268 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11269 #, no-wrap
11270 msgid "\\f[B]Release=\\f[R], \\f[B]--release=\\f[R], \\f[B]-r\\fR"
11271 msgstr ""
11272
11273 #. type: Plain text
11274 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11275 msgid ""
11276 "The release of the distribution to install in the image. The precise syntax "
11277 "of the argument this takes depends on the distribution used, and is either a "
11278 "numeric string (in case of Fedora Linux, CentOS, \\&..., e.g.\\ "
11279 "\\f[B]29\\f[R]), or a distribution version name (in case of Debian, Kali, "
11280 "Ubuntu, \\&..., e.g.\\ \\f[B]artful\\f[R]). Defaults to a recent version of "
11281 "the chosen distribution, or the version of the distribution running on the "
11282 "host if it matches the configured distribution.\\fR"
11283 msgstr ""
11284
11285 #. type: TP
11286 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11287 #, no-wrap
11288 msgid "\\f[B]Architecture=\\f[R], \\f[B]--architecture=\\fR"
11289 msgstr ""
11290
11291 #. type: Plain text
11292 #: debian-unstable opensuse-tumbleweed
11293 msgid ""
11294 "The architecture to build the image for. The architectures that are "
11295 "actually supported depends on the distribution used and whether a bootable "
11296 "image is requested or not. When building for a foreign architecture, you\\"
11297 "(cqll also need to install and register a user mode emulator for that "
11298 "architecture."
11299 msgstr ""
11300
11301 #. type: Plain text
11302 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11303 msgid ""
11304 "One of the following architectures can be specified per image built: "
11305 "\\f[B]alpha\\f[R], \\f[B]arc\\f[R], \\f[B]arm\\f[R], \\f[B]arm64\\f[R], "
11306 "\\f[B]ia64\\f[R], \\f[B]loongarch64\\f[R], \\f[B]mips64-le\\f[R], \\f[B]mips-"
11307 "le\\f[R], \\f[B]parisc\\f[R], \\f[B]ppc\\f[R], \\f[B]ppc64\\f[R], "
11308 "\\f[B]ppc64-le\\f[R], \\f[B]riscv32\\f[R], \\f[B]riscv64\\f[R], "
11309 "\\f[B]s390\\f[R], \\f[B]s390x\\f[R], \\f[B]tilegx\\f[R], \\f[B]x86\\f[R], "
11310 "\\f[B]x86-64\\f[R].\\fR"
11311 msgstr ""
11312
11313 #. type: TP
11314 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11315 #, no-wrap
11316 msgid "\\f[B]Mirror=\\f[R], \\f[B]--mirror=\\f[R], \\f[B]-m\\fR"
11317 msgstr ""
11318
11319 #. type: tbl table
11320 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11321 #, no-wrap
11322 msgid "\\f[B]debian\\fR"
11323 msgstr ""
11324
11325 #. type: tbl table
11326 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11327 #, no-wrap
11328 msgid "\\f[B]arch\\fR"
11329 msgstr ""
11330
11331 #. type: tbl table
11332 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11333 #, no-wrap
11334 msgid "\\f[B]opensuse\\fR"
11335 msgstr ""
11336
11337 #. type: tbl table
11338 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11339 #, no-wrap
11340 msgid "\\f[B]kali\\fR"
11341 msgstr ""
11342
11343 #. type: tbl table
11344 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11345 #, no-wrap
11346 msgid "\\f[B]ubuntu\\fR"
11347 msgstr ""
11348
11349 #. type: tbl table
11350 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11351 #, no-wrap
11352 msgid "\\f[B]centos\\fR"
11353 msgstr ""
11354
11355 #. type: tbl table
11356 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11357 #, no-wrap
11358 msgid "\\f[B]rocky\\fR"
11359 msgstr ""
11360
11361 #. type: tbl table
11362 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11363 #, no-wrap
11364 msgid "\\f[B]alma\\fR"
11365 msgstr ""
11366
11367 #. type: tbl table
11368 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11369 #, no-wrap
11370 msgid "\\f[B]fedora\\fR"
11371 msgstr ""
11372
11373 #. type: tbl table
11374 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11375 #, no-wrap
11376 msgid "\\f[B]rhel-ubi\\fR"
11377 msgstr ""
11378
11379 #. type: tbl table
11380 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11381 #, no-wrap
11382 msgid "\\f[B]mageia\\fR"
11383 msgstr ""
11384
11385 #. type: tbl table
11386 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11387 #, no-wrap
11388 msgid "\\f[B]openmandriva\\fR"
11389 msgstr ""
11390
11391 #. type: tbl table
11392 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11393 #, no-wrap
11394 msgid "\\f[B]azure\\fR"
11395 msgstr ""
11396
11397 #. type: TP
11398 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11399 #, no-wrap
11400 msgid "\\f[B]Snapshot=\\fR"
11401 msgstr ""
11402
11403 #. type: Plain text
11404 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11405 msgid ""
11406 "Download packages from the given snapshot instead of downloading the latest "
11407 "distribution packages from the given mirror. Takes a snapshot ID (the "
11408 "format of the snapshot ID differs per distribution), use the \\f[B]latest-"
11409 "snapshot\\f[R] verb to figure out the latest available snapshot.\\fR"
11410 msgstr ""
11411
11412 #. type: Plain text
11413 #: debian-unstable opensuse-tumbleweed
11414 msgid ""
11415 "\\f[R]If this setting is configured and \\f[B]Mirror=\\f[R] is not "
11416 "explicitly configured, different default mirrors are used:\\fR"
11417 msgstr ""
11418
11419 #. type: Plain text
11420 #: debian-unstable opensuse-tumbleweed
11421 msgid ""
11422 "\\f[R]For any distribution not listed above, snapshots are not supported.\\fR"
11423 msgstr ""
11424
11425 #. type: TP
11426 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11427 #, no-wrap
11428 msgid "\\f[B]LocalMirror=\\f[R], \\f[B]--local-mirror=\\fR"
11429 msgstr ""
11430
11431 #. type: Plain text
11432 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11433 msgid ""
11434 "The mirror will be used as a local, plain and direct mirror instead of using "
11435 "it as a prefix for the full set of repositories normally supported by "
11436 "distributions. Useful for fully offline builds with a single repository. "
11437 "Supported on \\f[B]deb\\f[R]-, \\f[B]rpm\\f[R]-, and \\f[B]pacman\\f[R]-"
11438 "based distributions. Overrides \\f[B]--mirror=\\f[R] but only for the local "
11439 "\\f[B]mkosi\\f[R] build, it will not be configured inside the final image, "
11440 "\\f[B]--mirror=\\f[R] (or the default repository) will be configured inside "
11441 "the final image instead.\\fR"
11442 msgstr ""
11443
11444 #. type: TP
11445 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11446 #, no-wrap
11447 msgid "\\f[B]RepositoryKeyCheck=\\f[R], \\f[B]--repository-key-check=\\fR"
11448 msgstr ""
11449
11450 #. type: Plain text
11451 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11452 msgid ""
11453 "Controls signature/key checks when using repositories, enabled by default. "
11454 "Useful to disable checks when combined with \\f[B]--local-mirror=\\f[R] and "
11455 "using only a repository from a local filesystem.\\fR"
11456 msgstr ""
11457
11458 #. type: TP
11459 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11460 #, no-wrap
11461 msgid "\\f[B]RepositoryKeyFetch=\\f[R], \\f[B]--repository-key-fetch=\\fR"
11462 msgstr ""
11463
11464 #. type: Plain text
11465 #: debian-unstable opensuse-tumbleweed
11466 msgid ""
11467 "\\f[R]This setting is only implemented for distributions using "
11468 "\\f[B]dnf\\f[R], \\f[B]pacman\\f[R] or \\f[B]zypper\\f[R] as their package "
11469 "manager. For other distributions the distribution GPG keys are always "
11470 "looked up locally regardless of the value of this setting. To make the "
11471 "distribution GPG keys for distributions available without enabling this "
11472 "setting, the corresponding package has to be installed on the host. This is "
11473 "usually one of \\f[B]archlinux-keyring\\f[R], \\f[B]debian-keyring\\f[R], "
11474 "\\f[B]kali-archive-keyring\\f[R], \\f[B]ubuntu-keyring\\f[R] or "
11475 "\\f[B]distribution-gpg-keys\\f[R] (for RPM-based distributions).\\fR"
11476 msgstr ""
11477
11478 #. type: TP
11479 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11480 #, no-wrap
11481 msgid "\\f[B]Repositories=\\f[R], \\f[B]--repositories=\\fR"
11482 msgstr ""
11483
11484 #. type: TP
11485 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11486 #, no-wrap
11487 msgid "\\f[B]Format=\\f[R], \\f[B]--format=\\f[R], \\f[B]-t\\fR"
11488 msgstr ""
11489
11490 #. type: Plain text
11491 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11492 msgid ""
11493 "The image format type to generate. One of \\f[B]directory\\f[R] (for "
11494 "generating an OS image directly in a local directory), \\f[B]tar\\f[R] "
11495 "(similar, but a tarball of the OS image is generated), \\f[B]cpio\\f[R] "
11496 "(similar, but a cpio archive is generated), \\f[B]disk\\f[R] (a block device "
11497 "OS image with a GPT partition table), \\f[B]uki\\f[R] (a unified kernel "
11498 "image with the OS image in the \\f[B].initrd\\f[R] PE section), "
11499 "\\f[B]esp\\f[R] (a disk image with only an ESP partition, bootloader and "
11500 "optionally a UKI), \\f[B]oci\\f[R] (a directory compatible with the OCI "
11501 "image specification), \\f[B]sysext\\f[R], \\f[B]confext\\f[R], "
11502 "\\f[B]portable\\f[R], \\f[B]addon\\f[R] or \\f[B]none\\f[R] (the OS image is "
11503 "solely intended as a build image to produce another artifact).\\fR"
11504 msgstr ""
11505
11506 #. type: Plain text
11507 #: debian-unstable opensuse-tumbleweed
11508 msgid ""
11509 "\\f[R]If the \\f[B]disk\\f[R] output format is used, the disk image is "
11510 "generated using \\f[B]systemd-repart\\f[R]. The repart partition definition "
11511 "files to use can be configured using the \\f[B]RepartDirectories=\\f[R] "
11512 "setting or via \\f[B]mkosi.repart/\\f[R]. When verity partitions are "
11513 "configured using \\f[B]systemd-repart\\f[R]\\(cqs \\f[B]Verity=\\f[R] "
11514 "setting, \\f[B]mkosi\\f[R] will automatically parse the verity hash "
11515 "partition\\(cqs roothash from \\f[B]systemd-repart\\f[R]\\(cqs JSON output "
11516 "and include it in the kernel command line of every unified kernel image "
11517 "built by \\f[B]mkosi\\f[R]. If the \\f[B]none\\f[R] output format is used, "
11518 "the outputs from a previous build are not removed, but clean scripts (see "
11519 "\\f[B]CleanScripts=\\f[R]) are still executed. This allows rerunning a "
11520 "build script (see \\f[B]BuildScripts=\\f[R]) without removing the results "
11521 "of a previous build.\\fR"
11522 msgstr ""
11523
11524 #. type: TP
11525 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11526 #, no-wrap
11527 msgid "\\f[B]ManifestFormat=\\f[R], \\f[B]--manifest-format=\\fR"
11528 msgstr ""
11529
11530 #. type: Plain text
11531 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11532 msgid ""
11533 "The manifest format type or types to generate. A comma-delimited list "
11534 "consisting of \\f[B]json\\f[R] (the standard JSON output format that "
11535 "describes the packages installed), \\f[B]changelog\\f[R] (a human-readable "
11536 "text format designed for diffing). By default no manifest is generated.\\fR"
11537 msgstr ""
11538
11539 #. type: TP
11540 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11541 #, no-wrap
11542 msgid "\\f[B]Output=\\f[R], \\f[B]--output=\\f[R], \\f[B]-o\\fR"
11543 msgstr ""
11544
11545 #. type: Plain text
11546 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11547 msgid ""
11548 "Name to use for the generated output image file or directory. Defaults to "
11549 "\\f[B]image\\f[R] or, if \\f[B]ImageId=\\f[R] is specified, it is used as "
11550 "the default output name, optionally suffixed with the version set with "
11551 "\\f[B]ImageVersion=\\f[R] or if a specific image is built from "
11552 "\\f[B]mkosi.images\\f[R], the name of the image is preferred over "
11553 "\\f[B]ImageId\\f[R]. Note that this option does not allow configuring the "
11554 "output directory, use \\f[B]OutputDirectory=\\f[R] for that.\\fR"
11555 msgstr ""
11556
11557 #. type: Plain text
11558 #: debian-unstable opensuse-tumbleweed
11559 msgid ""
11560 "\\f[R]Note that this only specifies the output prefix, depending on the "
11561 "specific output format, compression and image version used, the full output "
11562 "name might be \\f[B]image_7.8.raw.xz\\f[R].\\fR"
11563 msgstr ""
11564
11565 #. type: TP
11566 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11567 #, no-wrap
11568 msgid "\\f[B]OutputExtension=\\f[R], \\f[B]--output-extension=\\fR"
11569 msgstr ""
11570
11571 #. type: TP
11572 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11573 #, no-wrap
11574 msgid "\\f[B]CompressOutput=\\f[R], \\f[B]--compress-output=\\fR"
11575 msgstr ""
11576
11577 #. type: Plain text
11578 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11579 msgid ""
11580 "Configure compression for the resulting image or archive. The argument can "
11581 "be either a boolean or a compression algorithm (\\f[B]xz\\f[R], "
11582 "\\f[B]zstd\\f[R]). \\f[B]zstd\\f[R] compression is used by default, except "
11583 "CentOS and derivatives up to version 8, which default to \\f[B]xz\\f[R], and "
11584 "OCI images, which default to \\f[B]gzip\\f[R]. Note that when applied to "
11585 "block device image types, compression means the image cannot be started "
11586 "directly but needs to be decompressed first. This also means that the "
11587 "\\f[B]shell\\f[R], \\f[B]boot\\f[R], \\f[B]vm\\f[R] verbs are not available "
11588 "when this option is used. Implied for \\f[B]tar\\f[R], \\f[B]cpio\\f[R], "
11589 "\\f[B]uki\\f[R], \\f[B]esp\\f[R], \\f[B]oci\\f[R] and \\f[B]addon\\f[R].\\fR"
11590 msgstr ""
11591
11592 #. type: TP
11593 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11594 #, no-wrap
11595 msgid "\\f[B]CompressLevel=\\f[R], \\f[B]--compress-level=\\fR"
11596 msgstr ""
11597
11598 #. type: TP
11599 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11600 #, no-wrap
11601 msgid "\\f[B]OutputDirectory=\\f[R], \\f[B]--output-directory=\\f[R], \\f[B]-O\\fR"
11602 msgstr ""
11603
11604 #. type: Plain text
11605 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11606 msgid ""
11607 "Path to a directory where to place all generated artifacts. If this is not "
11608 "specified and the directory \\f[B]mkosi.output/\\f[R] exists in the local "
11609 "directory, it is automatically used for this purpose.\\fR"
11610 msgstr ""
11611
11612 #. type: TP
11613 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11614 #, no-wrap
11615 msgid "\\f[B]OutputMode=\\f[R], \\f[B]--output-mode=\\fR"
11616 msgstr ""
11617
11618 #. type: TP
11619 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11620 #, no-wrap
11621 msgid "\\f[B]ImageVersion=\\f[R], \\f[B]--image-version=\\fR"
11622 msgstr ""
11623
11624 #. type: Plain text
11625 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11626 msgid ""
11627 "Configure the image version. This accepts any string, but it is recommended "
11628 "to specify a series of dot separated components. The version may also be "
11629 "configured by reading a \\f[B]mkosi.version\\f[R] file (in which case it may "
11630 "be conveniently managed via the \\f[B]bump\\f[R] verb or the \\f[B]--auto-"
11631 "bump\\f[R] option) or by reading stdout if it is executable (see the "
11632 "\\f[B]Scripts\\f[R] section below). When specified the image version is "
11633 "included in the default output file name, i.e.\\ instead of "
11634 "\\f[B]image.raw\\f[R] the default will be \\f[B]image_0.1.raw\\f[R] for "
11635 "version \\f[B]0.1\\f[R] of the image, and similar. The version is also "
11636 "passed via the \\f[B]$IMAGE_VERSION\\f[R] to any build scripts invoked "
11637 "(which may be useful to patch it into \\f[B]/usr/lib/os-release\\f[R] or "
11638 "similar, in particular the \\f[B]IMAGE_VERSION=\\f[R] field of it).\\fR"
11639 msgstr ""
11640
11641 #. type: TP
11642 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11643 #, no-wrap
11644 msgid "\\f[B]ImageId=\\f[R], \\f[B]--image-id=\\fR"
11645 msgstr ""
11646
11647 #. type: Plain text
11648 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11649 msgid ""
11650 "Configure the image identifier. This accepts a freeform string that shall "
11651 "be used to identify the image with. If set the default output file will be "
11652 "named after it (possibly suffixed with the version). The identifier is also "
11653 "passed via the \\f[B]$IMAGE_ID\\f[R] to any build scripts invoked. The "
11654 "image ID is automatically added to \\f[B]/usr/lib/os-release\\f[R].\\fR"
11655 msgstr ""
11656
11657 #. type: TP
11658 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11659 #, no-wrap
11660 msgid "\\f[B]SplitArtifacts=\\f[R], \\f[B]--split-artifacts=\\fR"
11661 msgstr ""
11662
11663 #. type: Plain text
11664 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11665 msgid ""
11666 "The artifact types to split out of the final image. A comma-delimited list "
11667 "consisting of \\f[B]uki\\f[R], \\f[B]kernel\\f[R], \\f[B]initrd\\f[R], "
11668 "\\f[B]os-release\\f[R], \\f[B]prcs\\f[R], \\f[B]partitions\\f[R], "
11669 "\\f[B]roothash\\f[R], \\f[B]kernel-modules-initrd\\f[R], \\f[B]repart-"
11670 "definitions\\f[R] and \\f[B]tar\\f[R]. When building a bootable image "
11671 "\\f[B]kernel\\f[R] and \\f[B]initrd\\f[R] correspond to their artifact found "
11672 "in the image (or in the UKI), while \\f[B]uki\\f[R] copies out the entire "
11673 "UKI. If \\f[B]pcrs\\f[R] is specified, a JSON file containing the pre-"
11674 "calculated TPM2 digests is written out, according to the E<.UR https://uapi-"
11675 "group.org/specifications/specs/unified_kernel_image/#json-format-for-pcrsig> "
11676 "UKI specification E<.UE > , which is useful for offline signing.\\fR"
11677 msgstr ""
11678
11679 #. type: Plain text
11680 #: debian-unstable opensuse-tumbleweed
11681 msgid ""
11682 "\\f[R]When building a disk image and \\f[B]partitions\\f[R] is specified, "
11683 "pass \\f[B]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write "
11684 "out split partition files for each configured partition. Read the E<.UR "
11685 "https://www.freedesktop.org/software/systemd/man/systemd-repart.html#--"
11686 "split=BOOL> man E<.UE > \\ page for more information. This is useful in A/B "
11687 "update scenarios where an existing disk image shall be augmented with a new "
11688 "version of a root or \\f[B]/usr\\f[R] partition along with its Verity "
11689 "partition and unified kernel. When \\f[B]tar\\f[R] is specified, the rootfs "
11690 "is additionally archived as a tar archive (compressed according to "
11691 "\\f[B]CompressOutput=\\f[R]). When \\f[B]roothash\\f[R] is specified and a "
11692 "dm-verity disk image is built, the dm-verity roothash is written out as a "
11693 "separate file, which is useful for offline signing. \\f[B]kernel-modules-"
11694 "initrd\\f[R] corresponds to the separate kernel modules initrd which mkosi "
11695 "appends to the main initrd. This is primarily intended for debugging as "
11696 "many initrd inspection tools don\\(cqt properly handle multiple initrds "
11697 "appended to each other. When \\f[B]repart-definitions\\f[R] is specified, a "
11698 "directory containing the used repart definition files is written to the "
11699 "output directory. If multiple directories are configured via "
11700 "\\f[B]RepartDirectories=\\f[R], they are merged, with later directories "
11701 "taking priority over earlier ones when files with identical names exist. By "
11702 "default \\f[B]uki\\f[R], \\f[B]kernel\\f[R] and \\f[B]initrd\\f[R] are split "
11703 "out.\\fR"
11704 msgstr ""
11705
11706 #. type: TP
11707 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11708 #, no-wrap
11709 msgid "\\f[B]RepartDirectories=\\f[R], \\f[B]--repart-directory=\\fR"
11710 msgstr ""
11711
11712 #. type: Plain text
11713 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11714 msgid ""
11715 "Paths to directories containing \\f[B]systemd-repart\\f[R] partition "
11716 "definition files that are used when \\f[B]mkosi\\f[R] invokes \\f[B]systemd-"
11717 "repart\\f[R] when building a disk image. If \\f[B]mkosi.repart/\\f[R] "
11718 "exists in the local directory, it will be used for this purpose as well. "
11719 "Note that \\f[B]mkosi\\f[R] invokes repart with \\f[B]--root=\\f[R] set to "
11720 "the root of the image root, so any \\f[B]CopyFiles=\\f[R] source paths in "
11721 "partition definition files will be relative to the image root directory.\\fR"
11722 msgstr ""
11723
11724 #. type: TP
11725 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11726 #, no-wrap
11727 msgid "\\f[B]SectorSize=\\f[R], \\f[B]--sector-size=\\fR"
11728 msgstr ""
11729
11730 #. type: TP
11731 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11732 #, no-wrap
11733 msgid "\\f[B]Overlay=\\f[R], \\f[B]--overlay=\\fR"
11734 msgstr ""
11735
11736 #. type: Plain text
11737 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11738 msgid ""
11739 "When used together with \\f[B]BaseTrees=\\f[R], the output will consist only "
11740 "out of changes to the specified base trees. Each base tree is attached as a "
11741 "lower layer in an overlayfs structure, and the output becomes the upper "
11742 "layer, initially empty. Thus files that are not modified compared to the "
11743 "base trees will not be present in the final output.\\fR"
11744 msgstr ""
11745
11746 #. type: Plain text
11747 #: debian-unstable opensuse-tumbleweed
11748 msgid ""
11749 "\\f[R]This option may be used to create E<.UR https://uapi-group.org/"
11750 "specifications/specs/extension_image> systemd \\f[I]system extensions\\f[R] "
11751 "E<.UE > \\&.\\fR"
11752 msgstr ""
11753
11754 #. type: TP
11755 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11756 #, no-wrap
11757 msgid "\\f[B]Seed=\\f[R], \\f[B]--seed=\\fR"
11758 msgstr ""
11759
11760 #. type: Plain text
11761 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11762 msgid ""
11763 "Takes a UUID as argument or the special value \\f[B]random\\f[R]. Overrides "
11764 "the seed that \\f[B]systemd-repart\\f[R] uses when building a disk image. "
11765 "This is useful to achieve reproducible builds, where deterministic UUIDs and "
11766 "other partition metadata should be derived on each build. If not specified "
11767 "explicitly and the file \\f[B]mkosi.seed\\f[R] exists in the local "
11768 "directory, the UUID to use is read from it. Otherwise, a random UUID is "
11769 "used.\\fR"
11770 msgstr ""
11771
11772 #. type: TP
11773 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11774 #, no-wrap
11775 msgid "\\f[B]CleanScripts=\\f[R], \\f[B]--clean-script=\\fR"
11776 msgstr ""
11777
11778 #. type: TP
11779 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11780 #, no-wrap
11781 msgid "\\f[B]Packages=\\f[R], \\f[B]--package=\\f[R], \\f[B]-p\\fR"
11782 msgstr ""
11783
11784 #. type: Plain text
11785 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11786 msgid ""
11787 "Install the specified distribution packages (i.e.\\ RPM, deb, \\&...) in "
11788 "the image. Takes a comma-separated list of package specifications. This "
11789 "option may be used multiple times in which case the specified package lists "
11790 "are combined. Use \\f[B]BuildPackages=\\f[R] to specify packages that shall "
11791 "only be installed in an overlay that is mounted when the prepare scripts are "
11792 "executed with the \\f[B]build\\f[R] argument and when the build scripts are "
11793 "executed.\\fR"
11794 msgstr ""
11795
11796 #. type: Plain text
11797 #: debian-unstable opensuse-tumbleweed
11798 msgid ""
11799 "\\f[R]The types and syntax of \\f[I]package specifications\\f[R] that are "
11800 "allowed depend on the package installer (e.g.\\ \\f[B]dnf\\f[R] for RPM-"
11801 "based distros or \\f[B]apt\\f[R] for deb-based distros), but may include "
11802 "package names, package names with version and/or architecture, package name "
11803 "globs, package groups, and virtual provides, including file paths. See "
11804 "\\f[B]PackageDirectories=\\f[R] for information on how to make local "
11805 "packages available for installation with \\f[B]Packages=\\f[R]. "
11806 "\\f[B]Example\\f[R]: when using a distro that uses \\f[B]dnf\\f[R], the "
11807 "following configuration would install the \\f[B]meson\\f[R] package (in the "
11808 "latest version), the 32-bit version of the \\f[B]libfdisk-devel\\f[R] "
11809 "package, all available packages that start with the \\f[B]git-\\f[R] prefix, "
11810 "a \\f[B]systemd\\f[R] RPM from the local file system, one of the packages "
11811 "that provides \\f[B]/usr/bin/ld\\f[R], the packages in the \\f[I]Development "
11812 "Tools\\f[R] group, and the package that contains the \\f[B]mypy\\f[R] python "
11813 "module.\\fR"
11814 msgstr ""
11815
11816 #. type: Plain text
11817 #: debian-unstable opensuse-tumbleweed
11818 #, no-wrap
11819 msgid ""
11820 "Packages=meson\n"
11821 " libfdisk-devel.i686\n"
11822 " git-*\n"
11823 " /usr/bin/ld\n"
11824 " \\(atdevelopment-tools\n"
11825 " python3dist(mypy)\n"
11826 msgstr ""
11827
11828 #. type: TP
11829 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11830 #, no-wrap
11831 msgid "\\f[B]BuildPackages=\\f[R], \\f[B]--build-package=\\fR"
11832 msgstr ""
11833
11834 #. type: Plain text
11835 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11836 msgid ""
11837 "Similar to \\f[B]Packages=\\f[R], but configures packages to install only in "
11838 "an overlay that is made available on top of the image to the prepare scripts "
11839 "when executed with the \\f[B]build\\f[R] argument and the build scripts. "
11840 "This option should be used to list packages containing header files, "
11841 "compilers, build systems, linkers and other build tools the "
11842 "\\f[B]mkosi.build\\f[R] scripts require to operate. Note that packages "
11843 "listed here will be absent in the final image.\\fR"
11844 msgstr ""
11845
11846 #. type: TP
11847 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11848 #, no-wrap
11849 msgid "\\f[B]VolatilePackages=\\f[R], \\f[B]--volatile-package=\\fR"
11850 msgstr ""
11851
11852 #. type: Plain text
11853 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11854 msgid ""
11855 "Similar to \\f[B]Packages=\\f[R], but packages configured with this setting "
11856 "are not cached when \\f[B]Incremental=\\f[R] is enabled and are installed "
11857 "after executing any build scripts.\\fR"
11858 msgstr ""
11859
11860 #. type: Plain text
11861 #: debian-unstable opensuse-tumbleweed
11862 msgid ""
11863 "\\f[R]Specifically, this setting can be used to install packages that change "
11864 "often or which are built by a build script.\\fR"
11865 msgstr ""
11866
11867 #. type: TP
11868 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11869 #, no-wrap
11870 msgid "\\f[B]PackageDirectories=\\f[R], \\f[B]--package-directory=\\fR"
11871 msgstr ""
11872
11873 #. type: Plain text
11874 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11875 msgid ""
11876 "Specify directories containing extra packages to be made available during "
11877 "the build. \\f[B]mkosi\\f[R] will create a local repository containing all "
11878 "packages in these directories and make it available when installing packages "
11879 "or running scripts. If the \\f[B]mkosi.packages/\\f[R] directory is found "
11880 "in the local directory it is also used for this purpose.\\fR"
11881 msgstr ""
11882
11883 #. type: TP
11884 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11885 #, no-wrap
11886 msgid "\\f[B]VolatilePackageDirectories=\\f[R], \\f[B]--volatile-package-directory=\\fR"
11887 msgstr ""
11888
11889 #. type: Plain text
11890 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11891 msgid ""
11892 "Like \\f[B]PackageDirectories=\\f[R], but any changes to the packages in "
11893 "these directories will not invalidate the cached images if "
11894 "\\f[B]Incremental=\\f[R] is enabled.\\fR"
11895 msgstr ""
11896
11897 #. type: Plain text
11898 #: debian-unstable opensuse-tumbleweed
11899 msgid ""
11900 "\\f[R]Additionally, build scripts can add more packages to the local "
11901 "repository by placing the built packages in \\f[B]$PACKAGEDIR\\f[R]. The "
11902 "packages placed in \\f[B]$PACKAGEDIR\\f[R] are shared between all image "
11903 "builds and thus available for installation in all images using "
11904 "\\f[B]VolatilePackages=\\f[R].\\fR"
11905 msgstr ""
11906
11907 #. type: TP
11908 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11909 #, no-wrap
11910 msgid "\\f[B]WithRecommends=\\f[R], \\f[B]--with-recommends=\\fR"
11911 msgstr ""
11912
11913 #. type: TP
11914 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11915 #, no-wrap
11916 msgid "\\f[B]WithDocs=\\f[R], \\f[B]--with-docs=\\fR"
11917 msgstr ""
11918
11919 #. type: Plain text
11920 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11921 msgid ""
11922 "Include documentation in the image. Enabled by default. When disabled, if "
11923 "the underlying distribution package manager supports it documentation is not "
11924 "included in the image. The \\f[B]$WITH_DOCS\\f[R] environment variable "
11925 "passed to the \\f[B]mkosi.build\\f[R] scripts is set to \\f[B]0\\f[R] or "
11926 "\\f[B]1\\f[R] depending on whether this option is enabled or disabled.\\fR"
11927 msgstr ""
11928
11929 #. type: TP
11930 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11931 #, no-wrap
11932 msgid "\\f[B]BaseTrees=\\f[R], \\f[B]--base-tree=\\fR"
11933 msgstr ""
11934
11935 #. type: Plain text
11936 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11937 msgid ""
11938 "Takes a comma-separated list of paths to use as base trees. When used, "
11939 "these base trees are each copied into the OS tree and form the base "
11940 "distribution instead of installing the distribution from scratch. Only "
11941 "extra packages are installed on top of the ones already installed in the "
11942 "base trees. Note that for this to work properly, the base image still needs "
11943 "to contain the package manager metadata by setting "
11944 "\\f[B]CleanPackageMetadata=no\\f[R] (see \\f[B]CleanPackageMetadata=\\f[R])."
11945 "\\fR"
11946 msgstr ""
11947
11948 #. type: Plain text
11949 #: debian-unstable opensuse-tumbleweed
11950 msgid ""
11951 "\\f[R]Instead of a directory, a tar file or a disk image may be provided. "
11952 "In this case it is unpacked into the OS tree. This mode of operation allows "
11953 "setting permissions and file ownership explicitly, in particular for "
11954 "projects stored in a version control system such as \\f[B]git\\f[R] which "
11955 "retain full file ownership and access mode metadata for committed files.\\fR"
11956 msgstr ""
11957
11958 #. type: TP
11959 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11960 #, no-wrap
11961 msgid "\\f[B]SkeletonTrees=\\f[R], \\f[B]--skeleton-tree=\\fR"
11962 msgstr ""
11963
11964 #. type: Plain text
11965 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11966 msgid ""
11967 "Takes a comma-separated list of colon-separated path pairs. The first path "
11968 "of each pair refers to a directory to copy into the OS tree before invoking "
11969 "the package manager. The second path of each pair refers to the target "
11970 "directory inside the image. If the second path is not provided, the "
11971 "directory is copied on top of the root directory of the image. The second "
11972 "path is always interpreted as an absolute path. Use this to insert files "
11973 "and directories into the OS tree before the package manager installs any "
11974 "packages. If the \\f[B]mkosi.skeleton/\\f[R] directory is found in the "
11975 "local directory it is also used for this purpose with the root directory as "
11976 "target (also see the \\f[B]FILES\\f[R] section below).\\fR"
11977 msgstr ""
11978
11979 #. type: Plain text
11980 #: debian-unstable opensuse-tumbleweed
11981 msgid ""
11982 "\\f[R]Note that skeleton trees are cached and any changes to skeleton trees "
11983 "after a cached image has been built (when using \\f[B]Incremental=\\f[R]) "
11984 "are only applied when the cached image is rebuilt (by using \\f[B]-ff\\f[R] "
11985 "or running \\f[B]mkosi -f clean\\f[R]). As with the base tree logic above, "
11986 "instead of a directory, a tar file may be provided too. "
11987 "\\f[B]mkosi.skeleton.tar\\f[R] will be automatically used if found in the "
11988 "local directory. To add extra package manager configuration files such as "
11989 "extra repositories, use \\f[B]SandboxTrees=\\f[R] as \\f[B]mkosi\\f[R] "
11990 "invokes the package managers from outside the image and not inside so any "
11991 "package manager configuration files provided via \\f[B]SkeletonTrees=\\f[R] "
11992 "won\\(cqt take effect when \\f[B]mkosi\\f[R] invokes a package manager to "
11993 "install packages.\\fR"
11994 msgstr ""
11995
11996 #. type: TP
11997 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
11998 #, no-wrap
11999 msgid "\\f[B]ExtraTrees=\\f[R], \\f[B]--extra-tree=\\fR"
12000 msgstr ""
12001
12002 #. type: Plain text
12003 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12004 msgid ""
12005 "Takes a comma-separated list of colon-separated path pairs. The first path "
12006 "of each pair refers to a directory to copy from the host into the image. "
12007 "The second path of each pair refers to the target directory inside the "
12008 "image. If the second path is not provided, the directory is copied on top "
12009 "of the root directory of the image. The second path is always interpreted "
12010 "as an absolute path. Use this to override any default configuration files "
12011 "shipped with the distribution. If the \\f[B]mkosi.extra/\\f[R] directory is "
12012 "found in the local directory it is also used for this purpose with the root "
12013 "directory as target (also see the \\f[B]FILES\\f[R] section below).\\fR"
12014 msgstr ""
12015
12016 #. type: Plain text
12017 #: debian-unstable opensuse-tumbleweed
12018 msgid ""
12019 "\\f[R]As with the base tree logic above, instead of a directory, a tar file "
12020 "may be provided too. \\f[B]mkosi.extra.tar\\f[R] will be automatically used "
12021 "if found in the local directory.\\fR"
12022 msgstr ""
12023
12024 #. type: TP
12025 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12026 #, no-wrap
12027 msgid "\\f[B]RemovePackages=\\f[R], \\f[B]--remove-package=\\fR"
12028 msgstr ""
12029
12030 #. type: Plain text
12031 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12032 msgid ""
12033 "Takes a comma-separated list of package specifications for removal, in the "
12034 "same format as \\f[B]Packages=\\f[R]. The removal will be performed as one "
12035 "of the last steps. This step is skipped if "
12036 "\\f[B]CleanPackageMetadata=no\\f[R] is used.\\fR"
12037 msgstr ""
12038
12039 #. type: TP
12040 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12041 #, no-wrap
12042 msgid "\\f[B]RemoveFiles=\\f[R], \\f[B]--remove-files=\\fR"
12043 msgstr ""
12044
12045 #. type: TP
12046 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12047 #, no-wrap
12048 msgid "\\f[B]CleanPackageMetadata=\\f[R], \\f[B]--clean-package-metadata=\\fR"
12049 msgstr ""
12050
12051 #. type: Plain text
12052 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12053 msgid ""
12054 "Enable/disable removal of package manager databases and repository metadata "
12055 "at the end of installation. Can be specified as \\f[B]true\\f[R], "
12056 "\\f[B]false\\f[R], or \\f[B]auto\\f[R] (the default). With "
12057 "\\f[B]auto\\f[R], package manager databases and repository metadata will be "
12058 "removed if the respective package manager executable is \\f[I]not\\f[R] "
12059 "present at the end of the installation.\\fR"
12060 msgstr ""
12061
12062 #. type: TP
12063 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12064 #, no-wrap
12065 msgid "\\f[B]SourceDateEpoch=\\f[R], \\f[B]--source-date-epoch=\\fR"
12066 msgstr ""
12067
12068 #. type: Plain text
12069 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12070 msgid ""
12071 "Takes a timestamp in seconds since the UNIX epoch as argument. File "
12072 "modification times of all files will be clamped to this value. The variable "
12073 "is also propagated to \\f[B]systemd-repart\\f[R] and scripts executed by "
12074 "\\f[B]mkosi\\f[R]. If not set explicitly, \\f[B]SOURCE_DATE_EPOCH\\f[R] "
12075 "from \\f[B]--environment=\\f[R] and from the host environment are tried in "
12076 "that order. This is useful to make builds reproducible. See E<.UR https://"
12077 "reproducible-builds.org/specs/source-date-epoch/> SOURCE_DATE_EPOCH E<.UE > "
12078 "\\ for more information.\\fR"
12079 msgstr ""
12080
12081 #. type: TP
12082 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12083 #, no-wrap
12084 msgid "\\f[B]SyncScripts=\\f[R], \\f[B]--sync-script=\\fR"
12085 msgstr ""
12086
12087 #. type: TP
12088 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12089 #, no-wrap
12090 msgid "\\f[B]PrepareScripts=\\f[R], \\f[B]--prepare-script=\\fR"
12091 msgstr ""
12092
12093 #. type: TP
12094 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12095 #, no-wrap
12096 msgid "\\f[B]BuildScripts=\\f[R], \\f[B]--build-script=\\fR"
12097 msgstr ""
12098
12099 #. type: TP
12100 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12101 #, no-wrap
12102 msgid "\\f[B]PostInstallationScripts=\\f[R], \\f[B]--postinst-script=\\fR"
12103 msgstr ""
12104
12105 #. type: TP
12106 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12107 #, no-wrap
12108 msgid "\\f[B]FinalizeScripts=\\f[R], \\f[B]--finalize-script=\\fR"
12109 msgstr ""
12110
12111 #. type: TP
12112 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12113 #, no-wrap
12114 msgid "\\f[B]PostOutputScripts=\\f[R], \\f[B]--postoutput-script=\\fR"
12115 msgstr ""
12116
12117 #. type: TP
12118 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12119 #, no-wrap
12120 msgid "\\f[B]Bootable=\\f[R], \\f[B]--bootable=\\fR"
12121 msgstr ""
12122
12123 #. type: Plain text
12124 #: debian-unstable opensuse-tumbleweed
12125 msgid ""
12126 "Takes a boolean or \\f[B]auto\\f[R]. Enables or disables generation of a "
12127 "bootable image. If enabled, \\f[B]mkosi\\f[R] will install an EFI "
12128 "bootloader, and add an ESP partition when the disk image output is used. If "
12129 "the selected EFI bootloader (see \\f[B]Bootloader=\\f[R]) is not installed "
12130 "or no kernel images can be found, the build will fail. \\f[B]auto\\f[R] "
12131 "behaves as if the option was enabled, but the build won\\(cqt fail if either "
12132 "no kernel images or the selected EFI bootloader can\\(cqt be found. If "
12133 "disabled, no bootloader will be installed even if found inside the image, no "
12134 "unified kernel images will be generated and no ESP partition will be added "
12135 "to the image if the disk output format is used.\\fR"
12136 msgstr ""
12137
12138 #. type: Plain text
12139 #: debian-unstable opensuse-tumbleweed
12140 msgid ""
12141 "\\f[R]If the \\f[B]esp\\f[R] output format is used, an ESP partition and "
12142 "bootloader are always added, and the \\f[B]Bootable=\\f[R] option only "
12143 "controls whether a UKI is added to the ESP partition or not.\\fR"
12144 msgstr ""
12145
12146 #. type: TP
12147 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12148 #, no-wrap
12149 msgid "\\f[B]Bootloader=\\f[R], \\f[B]--bootloader=\\fR"
12150 msgstr ""
12151
12152 #. type: Plain text
12153 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12154 msgid ""
12155 "Takes one of \\f[B]none\\f[R], \\f[B]systemd-boot\\f[R], \\f[B]uki\\f[R], "
12156 "\\f[B]grub\\f[R], \\f[B]systemd-boot-signed\\f[R], \\f[B]uki-signed\\f[R] or "
12157 "\\f[B]grub-signed\\f[R]. Defaults to \\f[B]systemd-boot\\f[R]. If set to "
12158 "\\f[B]none\\f[R], no EFI bootloader will be installed into the image. If "
12159 "set to \\f[B]systemd-boot\\f[R], \\f[B]systemd-boot\\f[R] will be installed "
12160 "and for each installed kernel, a UKI will be generated and stored in "
12161 "\\f[B]EFI/Linux\\f[R] in the ESP. If set to \\f[B]uki\\f[R], a single UKI "
12162 "will be generated for the latest installed kernel (the one with the highest "
12163 "version) which is installed to \\f[B]EFI/BOOT/BOOTX64.EFI\\f[R] in the ESP. "
12164 "If set to \\f[B]grub\\f[R], for each installed kernel, a UKI will be "
12165 "generated and stored in \\f[B]EFI/Linux\\f[R] in the ESP. For each "
12166 "generated UKI, a menu entry is appended to the grub configuration in "
12167 "\\f[B]grub/grub.cfg\\f[R] in the ESP which chainloads into the UKI. A shim "
12168 "grub.cfg is also written to \\f[B]EFI/E<lt>distributionE<gt>/grub.cfg\\f[R] "
12169 "in the ESP which loads \\f[B]grub/grub.cfg\\f[R] in the ESP for "
12170 "compatibility with signed versions of grub which load the grub configuration "
12171 "from this location.\\fR"
12172 msgstr ""
12173
12174 #. type: Plain text
12175 #: debian-unstable opensuse-tumbleweed
12176 msgid ""
12177 "\\f[R]The \\f[B]signed\\f[R] variants will only install pre-signed EFI "
12178 "binaries shipped by the distribution. Kernels need to be placed into the "
12179 "root filesystem (for example using \\f[B]ExtraTrees=\\f[R]) under \\f[B]/usr/"
12180 "lib/modules/$version\\f[R], named \\f[B]vmlinux\\f[R] or "
12181 "\\f[B]vmlinuz\\f[R]. The \\f[B]$version\\f[R] is as produced by Kbuild\\"
12182 "(cqs \\f[B]kernelversion\\f[R] make target. Note: When using \\f[B]systemd-"
12183 "boot\\f[R] or \\f[B]systemd-boot-signed\\f[R], \\f[B]mkosi\\f[R] expects the "
12184 "\\f[B]systemd-boot\\f[R] EFI binaries to be present in the image. Depending "
12185 "on your distribution, these may be packaged separately. For example, "
12186 "Debian- based images will need \\f[B]systemd-boot-efi\\f[R].\\fR"
12187 msgstr ""
12188
12189 #. type: TP
12190 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12191 #, no-wrap
12192 msgid "\\f[B]BiosBootloader=\\f[R], \\f[B]--bios-bootloader=\\fR"
12193 msgstr ""
12194
12195 #. type: Plain text
12196 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12197 msgid ""
12198 "Takes one of \\f[B]none\\f[R] or \\f[B]grub\\f[R]. Defaults to "
12199 "\\f[B]none\\f[R]. If set to \\f[B]none\\f[R], no BIOS bootloader will be "
12200 "installed. If set to \\f[B]grub\\f[R], grub is installed as the BIOS boot "
12201 "loader if a bootable image is requested with the \\f[B]Bootable=\\f[R] "
12202 "option. If no repart partition definition files are configured, "
12203 "\\f[B]mkosi\\f[R] will add a grub BIOS boot partition and an EFI system "
12204 "partition to the default partition definition files.\\fR"
12205 msgstr ""
12206
12207 #. type: Plain text
12208 #: debian-unstable opensuse-tumbleweed
12209 msgid ""
12210 "\\f[R]Note that this option is not mutually exclusive with "
12211 "\\f[B]Bootloader=\\f[R]. It is possible to have an image that is both "
12212 "bootable on UEFI and BIOS by configuring both \\f[B]Bootloader=\\f[R] and "
12213 "\\f[B]BiosBootloader=\\f[R]. The grub BIOS boot partition should have UUID "
12214 "\\f[B]21686148-6449-6e6f-744e-656564454649\\f[R] and should be at least "
12215 "1MB. Even if no EFI bootloader is installed, we still need an ESP for BIOS "
12216 "boot as that\\(cqs where we store the kernel, initrd and grub modules.\\fR"
12217 msgstr ""
12218
12219 #. type: TP
12220 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12221 #, no-wrap
12222 msgid "\\f[B]ShimBootloader=\\f[R], \\f[B]--shim-bootloader=\\fR"
12223 msgstr ""
12224
12225 #. type: Plain text
12226 #: debian-unstable opensuse-tumbleweed
12227 msgid ""
12228 "Takes one of \\f[B]none\\f[R], \\f[B]unsigned\\f[R], or \\f[B]signed\\f[R]. "
12229 "Defaults to \\f[B]none\\f[R]. If set to \\f[B]none\\f[R], shim and "
12230 "MokManager will not be installed to the ESP. If set to "
12231 "\\f[B]unsigned\\f[R], \\f[B]mkosi\\f[R] will search for unsigned shim and "
12232 "MokManager EFI binaries and install them. If \\f[B]SecureBoot=\\f[R] is "
12233 "enabled, \\f[B]mkosi\\f[R] will sign the unsigned EFI binaries before "
12234 "installing them. If set to \\f[B]signed\\f[R], \\f[B]mkosi\\f[R] will "
12235 "search for signed EFI binaries and install those. Even if "
12236 "\\f[B]SecureBoot=\\f[R] is enabled, \\f[B]mkosi\\f[R] won\\(cqt sign these "
12237 "binaries again.\\fR"
12238 msgstr ""
12239
12240 #. type: Plain text
12241 #: debian-unstable opensuse-tumbleweed
12242 msgid ""
12243 "\\f[R]Note that this option only takes effect when an image that is bootable "
12244 "on UEFI firmware is requested using other options (\\f[B]Bootable=\\f[R], "
12245 "\\f[B]Bootloader=\\f[R]). Note that when this option is enabled, "
12246 "\\f[B]mkosi\\f[R] will only install already signed bootloader binaries, "
12247 "kernel image files and unified kernel images as self-signed binaries would "
12248 "not be accepted by the signed version of shim.\\fR"
12249 msgstr ""
12250
12251 #. type: TP
12252 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12253 #, no-wrap
12254 msgid "\\f[B]UnifiedKernelImages=\\f[R], \\f[B]--unified-kernel-images=\\fR"
12255 msgstr ""
12256
12257 #. type: Plain text
12258 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12259 msgid ""
12260 "Specifies whether to use unified kernel images or not when "
12261 "\\f[B]Bootloader=\\f[R] is set to \\f[B]systemd-boot\\f[R] or "
12262 "\\f[B]grub\\f[R]. Takes one of \\f[B]none\\f[R], \\f[B]unsigned\\f[R], "
12263 "\\f[B]signed\\f[R] or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R]. If "
12264 "\\f[B]unsigned\\f[R] or \\f[B]signed\\f[R], unified kernel images are always "
12265 "used and the build will fail if any components required to build unified "
12266 "kernel images are missing. If set to \\f[B]auto\\f[R], unified kernel "
12267 "images will be used if all necessary components are available. Otherwise "
12268 "Type 1 entries as defined by the Boot Loader Specification will be used "
12269 "instead. If disabled, Type 1 entries will always be used. If "
12270 "\\f[B]Bootloader=\\f[R] is set to one of the signed variant, a pre-built UKI "
12271 "will be searched and the build will fail if it cannot be found, unless "
12272 "\\f[B]UnifiedKernelImages=\\f[R] is set to \\f[B]unsigned\\f[R], in which "
12273 "case the UKI will be built locally. This is useful when combined with the "
12274 "runtime \\f[B]Firmware=\\f[R] option set to \\f[B]custom\\f[R] so that the "
12275 "local signing key is enrolled in UEFI db.\\fR"
12276 msgstr ""
12277
12278 #. type: TP
12279 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12280 #, no-wrap
12281 msgid "\\f[B]UnifiedKernelImageFormat=\\f[R], \\f[B]--unified-kernel-image-format=\\fR"
12282 msgstr ""
12283
12284 #. type: Plain text
12285 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12286 msgid ""
12287 "Takes a filename without any path components to specify the format that "
12288 "unified kernel images should be installed as. This may include both the "
12289 "regular specifiers (see \\f[B]Specifiers\\f[R]) and special delayed "
12290 "specifiers, that are expanded during the installation of the files, which "
12291 "are described below. The default format for this parameter is \\f[B]&e-"
12292 "&k\\f[R] with \\f[B]-&h\\f[R] being appended if \\f[B]roothash=\\f[R] or "
12293 "\\f[B]usrhash=\\f[R] is found on the kernel command line and \\f[B]+&c\\f[R] "
12294 "if \\f[B]/etc/kernel/tries\\f[R] is found in the image.\\fR"
12295 msgstr ""
12296
12297 #. type: Plain text
12298 #: debian-unstable opensuse-tumbleweed
12299 msgid "\\f[R]The following specifiers may be used:\\fR"
12300 msgstr ""
12301
12302 #. type: tbl table
12303 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12304 #, no-wrap
12305 msgid "\\f[B]&&\\fR"
12306 msgstr ""
12307
12308 #. type: tbl table
12309 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12310 #, no-wrap
12311 msgid "\\f[B]&\\f[R] character\\fR"
12312 msgstr ""
12313
12314 #. type: tbl table
12315 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12316 #, no-wrap
12317 msgid "\\f[B]&e\\fR"
12318 msgstr ""
12319
12320 #. type: tbl table
12321 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12322 #, no-wrap
12323 msgid "\\f[B]&k\\fR"
12324 msgstr ""
12325
12326 #. type: tbl table
12327 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12328 #, no-wrap
12329 msgid "\\f[B]&h\\fR"
12330 msgstr ""
12331
12332 #. type: tbl table
12333 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12334 #, no-wrap
12335 msgid "\\f[B]roothash=\\f[R] or \\f[B]usrhash=\\f[R] value of kernel argument\\fR"
12336 msgstr ""
12337
12338 #. type: TP
12339 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12340 #, no-wrap
12341 msgid "\\f[B]UnifiedKernelImageProfiles=\\f[R], \\f[B]--uki-profile=\\fR"
12342 msgstr ""
12343
12344 #. type: Plain text
12345 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12346 msgid ""
12347 "Build additional UKI profiles. Takes a comma-separated list of paths to UKI "
12348 "profile config files. This option may be used multiple times in which case "
12349 "each config gets built into a corresponding UKI profile. Config files in "
12350 "the \\f[B]mkosi.uki-profiles/\\f[R] directory are automatically picked up. "
12351 "All configured UKI profiles are added as additional UKI profiles to each UKI "
12352 "built by \\f[B]mkosi\\f[R].\\fR"
12353 msgstr ""
12354
12355 #. type: Plain text
12356 #: debian-unstable opensuse-tumbleweed
12357 msgid ""
12358 "\\f[R]See the documentation for the \\f[B]UKIProfile\\f[R] section for "
12359 "information on which settings can be configured in UKI profile config files."
12360 "\\fR"
12361 msgstr ""
12362
12363 #. type: TP
12364 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12365 #, no-wrap
12366 msgid "\\f[B]Initrds=\\f[R], \\f[B]--initrd=\\fR"
12367 msgstr ""
12368
12369 #. type: Plain text
12370 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12371 msgid ""
12372 "\\f[B]mkosi\\f[R] will also look for initrds in a subdirectory "
12373 "\\f[B]io.mkosi.initrd\\f[R] of the artifact directory (see \\f[B]"
12374 "$ARTIFACTDIR\\f[R] in the section \\f[B]ENVIRONMENT VARIABLES\\f[R]). Any "
12375 "initrds found there are appended to the user-provided initrd(s) and any "
12376 "default initrd built by mkosi.\\fR"
12377 msgstr ""
12378
12379 #. type: TP
12380 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12381 #, no-wrap
12382 msgid "\\f[B]InitrdProfiles=\\f[R], \\f[B]--initrd-profile=\\fR"
12383 msgstr ""
12384
12385 #. type: Plain text
12386 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12387 msgid ""
12388 "The \\f[B]lvm\\f[R] profile enables support for LVM. The "
12389 "\\f[B]network\\f[R] profile enables support for network via \\f[B]systemd-"
12390 "networkd\\f[R]. The \\f[B]nfs\\f[R] profile enables support for NFS. It "
12391 "requires networking in the initrd, using the \\f[B]network\\f[R] profile, or "
12392 "some other custom method. The \\f[B]pkcs11\\f[R] profile enables support "
12393 "for PKCS#11. The \\f[B]plymouth\\f[R] profile provides a graphical "
12394 "interface at boot (animation and password prompt). The \\f[B]raid\\f[R] "
12395 "profile enables support for RAID arrays.\\fR"
12396 msgstr ""
12397
12398 #. type: TP
12399 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12400 #, no-wrap
12401 msgid "\\f[B]InitrdPackages=\\f[R], \\f[B]--initrd-package=\\fR"
12402 msgstr ""
12403
12404 #. type: TP
12405 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12406 #, no-wrap
12407 msgid "\\f[B]InitrdVolatilePackages=\\f[R], \\f[B]--initrd-volatile-package=\\fR"
12408 msgstr ""
12409
12410 #. type: Plain text
12411 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12412 msgid ""
12413 "Similar to \\f[B]VolatilePackages=\\f[R], except it applies to the default "
12414 "initrd.\\fR"
12415 msgstr ""
12416
12417 #. type: TP
12418 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12419 #, no-wrap
12420 msgid "\\f[B]Devicetrees=\\f[R], \\f[B]--devicetrees=\\fR"
12421 msgstr ""
12422
12423 #. type: Plain text
12424 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12425 msgid ""
12426 "Comma-separated list of devicetree patterns for automatic hardware-based "
12427 "selection. Patterns are glob expressions. \\f[B]mkosi\\f[R] searches for "
12428 "devicetree files in standard locations relative to \\f[B]/usr/lib/modules/"
12429 "E<lt>kverE<gt>/dtb/\\f[R], \\f[B]/usr/lib/firmware/E<lt>kverE<gt>/device-"
12430 "tree/\\f[R], and \\f[B]/usr/lib/linux-image-E<lt>kverE<gt>/\\f[R].\\fR"
12431 msgstr ""
12432
12433 #. type: Plain text
12434 #: debian-unstable opensuse-tumbleweed
12435 msgid ""
12436 "\\f[R]For UKI builds, multiple matches enable automatic hardware-based "
12437 "selection using the \\f[B].dtbauto\\f[R] sections. Type 1 boot entries "
12438 "require exactly one match. Example: \\f[B]Devicetrees=rockchip/"
12439 "*,imx.*\\f[R] would include all Rockchip devicetrees and any IMX devicetrees."
12440 "\\fR"
12441 msgstr ""
12442
12443 #. type: TP
12444 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12445 #, no-wrap
12446 msgid "\\f[B]Splash=\\f[R], \\f[B]--splash=\\fR"
12447 msgstr ""
12448
12449 #. type: TP
12450 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12451 #, no-wrap
12452 msgid "\\f[B]MicrocodeHost=\\f[R], \\f[B]--microcode-host=\\fR"
12453 msgstr ""
12454
12455 #. type: Plain text
12456 #: debian-unstable opensuse-tumbleweed
12457 msgid ""
12458 "When set to true only include microcode for the host\\(cqs CPU in the image."
12459 msgstr ""
12460
12461 #. type: TP
12462 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12463 #, no-wrap
12464 msgid "\\f[B]KernelCommandLine=\\f[R], \\f[B]--kernel-command-line=\\fR"
12465 msgstr ""
12466
12467 #. type: Plain text
12468 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12469 msgid ""
12470 "If the root or usr partition are created with verity enabled, "
12471 "\\f[B]roothash=\\f[R] or \\f[B]usrhash=\\f[R] respectively are automatically "
12472 "added to the kernel command line and \\f[B]root=\\f[R] or "
12473 "\\f[B]mount.usr=\\f[R] should not be added. Otherwise, if the value of this "
12474 "setting contains the literals \\f[B]root=PARTUUID\\f[R] or "
12475 "\\f[B]mount.usr=PARTUUID\\f[R], these are replaced with the partition UUID "
12476 "of the root or usr partition respectively. For example, "
12477 "\\f[B]root=PARTUUID\\f[R] would be replaced with "
12478 "\\f[B]root=PARTUUID=58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] where "
12479 "\\f[B]58c7d0b2-d224-4834-a16f-e036322e88f7\\f[R] is the partition UUID of "
12480 "the root partition.\\fR"
12481 msgstr ""
12482
12483 #. type: TP
12484 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12485 #, no-wrap
12486 msgid "\\f[B]KernelModules=\\f[R], \\f[B]--kernel-modules=\\fR"
12487 msgstr ""
12488
12489 #. type: Plain text
12490 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12491 msgid ""
12492 "Takes a list of glob patterns that specify which kernel modules to include "
12493 "in the image. Each argument may be prefixed with a dash (\\f[B]-\\f[R]), to "
12494 "\\f[I]exclude\\f[R] matching modules. The arguments are evaluated in order, "
12495 "the last positive or negative matching pattern determines the result. The "
12496 "modules that were last matched by a positive pattern are included in the "
12497 "image, as well as their module and firmware dependencies.\\fR"
12498 msgstr ""
12499
12500 #. type: Plain text
12501 #: debian-unstable opensuse-tumbleweed
12502 msgid ""
12503 "\\f[R]The \\f[B].ko\\f[R] suffix and compression suffix are ignored during "
12504 "matching. Globs are matched against module paths relative to \\f[B]/usr/lib/"
12505 "module/E<lt>kverE<gt>\\f[R], e.g.\\ the module at \\f[B]/usr/lib/module/"
12506 "E<lt>kverE<gt>/kernel/foo/bar.ko.xz\\f[R] becomes \\f[B]kernel/foo/bar\\f[R] "
12507 "for matching purposes. Globs beginning with \\(lq/\\(rq are treated "
12508 "specially. The glob is \\f[I]first\\f[R] matched against a path relative to "
12509 "\\f[B]/usr/lib/module/E<lt>kverE<gt>/kernel\\f[R], and only then against "
12510 "\\f[B]/usr/lib/module/E<lt>kverE<gt>/\\f[R]. This is a convenience, since "
12511 "usually only the in-tree modules under \\f[B]kernel/\\f[R] are of interest. "
12512 "For example, the module at\\f[B]/usr/lib/module/E<lt>kverE<gt>/kernel/foo/"
12513 "bar.ko.xz\\f[R] can be matched by either \\f[B]/foo/bar\\f[R] or \\f[B]/"
12514 "kernel/foo/bar\\f[R]. The glob patterns may include just the basename (e.g."
12515 "\\ \\f[B]loop\\f[R]), which must match the basename of the module, the "
12516 "relative path (e.g.\\ \\f[B]block/loop\\f[R]), which must match the final "
12517 "components of the module path up to the basename, or an absolute path (e.g."
12518 "\\ \\f[B]/drivers/block/loop\\f[R]), which must match the full path to the "
12519 "module. When suffixed with \\f[B]/\\f[R], the pattern will match all "
12520 "modules underneath that directory. The patterns may include shell-style "
12521 "globs (\\f[B]*\\f[R], \\f[B]?\\f[R], \\f[B][\\&...-\\&...]\\f[R]). If the "
12522 "special value \\f[B]default\\f[R] is used, the default kernel modules "
12523 "defined in the \\f[B]mkosi-initrd\\f[R] configuration are included as well. "
12524 "If the special value \\f[B]host\\f[R] is used, the currently loaded modules "
12525 "on the host system are included as well.\\fR"
12526 msgstr ""
12527
12528 #. type: TP
12529 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12530 #, no-wrap
12531 msgid "\\f[B]KernelModulesInitrd=\\f[R], \\f[B]--kernel-modules-initrd=\\fR"
12532 msgstr ""
12533
12534 #. type: Plain text
12535 #: debian-unstable opensuse-tumbleweed
12536 msgid ""
12537 "\\f[R]If disabled, no extra initrd is generated. Note that the kernel "
12538 "modules will still \\f[B]not\\f[R] be included in the base initrd, which "
12539 "remains kernel independent. Instead, it is assumed the user provides the "
12540 "necessary modules, if any, via an additional custom initrd.\\fR"
12541 msgstr ""
12542
12543 #. type: TP
12544 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12545 #, no-wrap
12546 msgid "\\f[B]KernelInitrdModules=\\f[R], \\f[B]--kernel-modules-initrd-include=\\fR"
12547 msgstr ""
12548
12549 #. type: Plain text
12550 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12551 msgid ""
12552 "Like \\f[B]KernelModules=\\f[R], but specifies the kernel modules to include "
12553 "in the initrd.\\fR"
12554 msgstr ""
12555
12556 #. type: TP
12557 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12558 #, no-wrap
12559 msgid "\\f[B]FirmwareFiles=\\f[R], \\f[B]--firmware-files=\\fR"
12560 msgstr ""
12561
12562 #. type: Plain text
12563 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12564 msgid ""
12565 "Takes a list of glob patterns that specify which firmware files to include "
12566 "in the image. The patterns are interpreted in the same way as in the "
12567 "\\f[B]KernelModules=\\f[R] settings, except that the paths are relative to "
12568 "\\f[B]/usr/lib/firmware/E<lt>subdirE<gt>\\f[R]. The compression suffix is "
12569 "ignored and must not be included in the pattern.\\fR"
12570 msgstr ""
12571
12572 #. type: Plain text
12573 #: debian-unstable opensuse-tumbleweed
12574 msgid ""
12575 "\\f[R]Firmware dependencies of kernel modules installed in the image are "
12576 "automatically included. Example: \\f[B]FirmwareFiles=cxgb4/"
12577 "bcm8483.bin\\f[R] or \\f[B]FirmwareFiles=bcm8483.*\\f[R] would both cause "
12578 "\\f[B]/usr/lib/firmware/cxgb4/bcm8483.bin.xz\\f[R] to be included, even if "
12579 "not listed by a module.\\fR"
12580 msgstr ""
12581
12582 #. type: TP
12583 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12584 #, no-wrap
12585 msgid "\\f[B]Locale=\\f[R], \\f[B]--locale=\\f[R], \\f[B]LocaleMessages=\\f[R], \\f[B]--locale-messages=\\f[R], \\f[B]Keymap=\\f[R], \\f[B]--keymap=\\f[R], \\f[B]Timezone=\\f[R], \\f[B]--timezone=\\f[R], \\f[B]Hostname=\\f[R], \\f[B]--hostname=\\f[R], \\f[B]RootShell=\\f[R], \\f[B]--root-shell=\\fR"
12586 msgstr ""
12587
12588 #. type: Plain text
12589 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12590 msgid ""
12591 "The settings \\f[B]Locale=\\f[R], \\f[B]--locale=\\f[R], "
12592 "\\f[B]LocaleMessages=\\f[R], \\f[B]--locale-messages=\\f[R], "
12593 "\\f[B]Keymap=\\f[R], \\f[B]--keymap=\\f[R], \\f[B]Timezone=\\f[R], \\f[B]--"
12594 "timezone=\\f[R], \\f[B]Hostname=\\f[R], \\f[B]--hostname=\\f[R], "
12595 "\\f[B]RootShell=\\f[R], \\f[B]--root-shell=\\f[R] correspond to the "
12596 "identically named systemd-firstboot options. See \\f[B]systemd-"
12597 "firstboot\\f[R](1) for more information. Additionally, where applicable, "
12598 "the corresponding systemd credentials for these settings are written to "
12599 "\\f[B]/usr/lib/credstore\\f[R], so that they apply even if only \\f[B]/"
12600 "usr\\f[R] is shipped in the image.\\fR"
12601 msgstr ""
12602
12603 #. type: TP
12604 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12605 #, no-wrap
12606 msgid "\\f[B]RootPassword=\\f[R], \\f[B]--root-password=\\f[R],\\fR"
12607 msgstr ""
12608
12609 #. type: Plain text
12610 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12611 msgid ""
12612 "Set the system root password. If this option is not used, but a "
12613 "\\f[B]mkosi.rootpw\\f[R] file is found in the local directory, the password "
12614 "is automatically read from it or if the file is executable it is run as a "
12615 "script and stdout is read instead (see the \\f[B]SCRIPTS\\f[R] section "
12616 "below). If the password starts with \\f[B]hashed:\\f[R], it is treated as "
12617 "an already hashed root password. The root password is also stored in \\f[B]/"
12618 "usr/lib/credstore\\f[R] under the appropriate systemd credential so that it "
12619 "applies even if only \\f[B]/usr\\f[R] is shipped in the image. To create an "
12620 "unlocked account without any password use \\f[B]hashed:\\f[R] without a hash."
12621 "\\fR"
12622 msgstr ""
12623
12624 #. type: TP
12625 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12626 #, no-wrap
12627 msgid "\\f[B]Autologin=\\f[R], \\f[B]--autologin=\\f[R], \\f[B]-a\\fR"
12628 msgstr ""
12629
12630 #. type: Plain text
12631 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12632 msgid ""
12633 "Enable autologin for the \\f[B]root\\f[R] user on \\f[B]/dev/pts/0\\f[R] "
12634 "(nspawn), \\f[B]/dev/tty1\\f[R] and \\f[B]/dev/hvc0\\f[R].\\fR"
12635 msgstr ""
12636
12637 #. type: TP
12638 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12639 #, no-wrap
12640 msgid "\\f[B]MakeInitrd=\\f[R], \\f[B]--make-initrd=\\fR"
12641 msgstr ""
12642
12643 #. type: Plain text
12644 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12645 msgid ""
12646 "Add \\f[B]/etc/initrd-release\\f[R] and \\f[B]/init\\f[R] to the image so "
12647 "that it can be used as an initramfs.\\fR"
12648 msgstr ""
12649
12650 #. type: TP
12651 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12652 #, no-wrap
12653 msgid "\\f[B]Ssh=\\f[R], \\f[B]--ssh=\\fR"
12654 msgstr ""
12655
12656 #. type: Plain text
12657 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12658 msgid ""
12659 "Specifies whether to install an \\f[B]sshd\\f[R] socket unit and matching "
12660 "service in the final image. Takes one of \\f[B]always\\f[R], "
12661 "\\f[B]never\\f[R], \\f[B]auto\\f[R] or \\f[B]runtime\\f[R]. Defaults to "
12662 "\\f[B]auto\\f[R].\\fR"
12663 msgstr ""
12664
12665 #. type: Plain text
12666 #: debian-unstable opensuse-tumbleweed
12667 msgid ""
12668 "\\f[R]If set to \\f[B]auto\\f[R] and \\f[B]sshd\\f[R] is present in the "
12669 "image and the generator binary \\f[B]systemd-ssh-generator\\f[R] is not "
12670 "present, or if set to \\f[B]always\\f[R], mkosi will install "
12671 "\\f[B]sshd\\f[R] units in the final image that expose SSH over VSock. If "
12672 "set to \\f[B]never\\f[R], mkosi will not install these units. If the "
12673 "\\f[B]runtime\\f[R] value is used, mkosi will also not install any units but "
12674 "abort starting \\f[B]mkosi vm\\f[R] if no SSH credentials are configured. "
12675 "When building with this option and running the image using \\f[B]mkosi "
12676 "vm\\f[R], the \\f[B]mkosi ssh\\f[R] command can be used to connect to the "
12677 "container/VM via SSH. Note that you still have to make sure openssh is "
12678 "installed in the image to make \\f[B]mkosi ssh\\f[R] behave correctly. Run "
12679 "\\f[B]mkosi genkey\\f[R] to automatically generate an X.509 certificate and "
12680 "private key to be used by \\f[B]mkosi\\f[R] to enable SSH access to any "
12681 "virtual machines via \\f[B]mkosi ssh\\f[R]. To access images booted using "
12682 "\\f[B]mkosi boot\\f[R], use \\f[B]machinectl\\f[R]. Starting with systemd "
12683 "v256, systemd-ssh-generator(8) will automatically provide \\f[B]sshd\\f[R] "
12684 "over VSock when running inside a VM. So if you\\(cqre using a recent "
12685 "version of systemd inside a VM, this option is generally not used. You "
12686 "still need openssh installed in the image, and the default setting of "
12687 "\\f[B]--vsock=auto\\f[R] is enough to ensure a VSock is available inside the "
12688 "VM. Note: if the image distro uses SELinux, mkosi\\(cqs sshd service will "
12689 "be denied access to the VSock, resulting in failure to connect to it from "
12690 "the host. You will need to either disable SELinux enforcement, or create a "
12691 "custom policy module (e.g.\\ with \\f[B]audit2allow\\f[R]).\\fR"
12692 msgstr ""
12693
12694 #. type: TP
12695 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12696 #, no-wrap
12697 msgid "\\f[B]SELinuxRelabel=\\f[R], \\f[B]--selinux-relabel=\\fR"
12698 msgstr ""
12699
12700 #. type: Plain text
12701 #: debian-unstable opensuse-tumbleweed
12702 msgid ""
12703 "Specifies whether to relabel files to match the image\\(cqs SELinux policy. "
12704 "Takes a boolean value or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R]. "
12705 "If disabled, files will not relabeled. If enabled, an SELinux policy has to "
12706 "be installed in the image and \\f[B]setfiles\\f[R] has to be available to "
12707 "relabel files. If any errors occur during \\f[B]setfiles\\f[R], the build "
12708 "will fail. If set to \\f[B]auto\\f[R], files will be relabeled if mkosi is "
12709 "not building a directory image, an SELinux policy is installed in the image "
12710 "and if \\f[B]setfiles\\f[R] is available. Any errors occurred during "
12711 "\\f[B]setfiles\\f[R] will be ignored.\\fR"
12712 msgstr ""
12713
12714 #. type: Plain text
12715 #: debian-unstable opensuse-tumbleweed
12716 msgid ""
12717 "\\f[R]Note that when running unprivileged, \\f[B]setfiles\\f[R] will fail to "
12718 "set any labels that are not in the host\\(cqs SELinux policy. To ensure "
12719 "\\f[B]setfiles\\f[R] succeeds without errors, make sure to run "
12720 "\\f[B]mkosi\\f[R] as root or build from a host system with the same SELinux "
12721 "policy as the image you\\(cqre building.\\fR"
12722 msgstr ""
12723
12724 #. type: TP
12725 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12726 #, no-wrap
12727 msgid "\\f[B]MachineId=\\f[R], \\f[B]--machine-id=\\fR"
12728 msgstr ""
12729
12730 #. type: Plain text
12731 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12732 msgid ""
12733 "Takes a UUID or the special value \\f[B]random\\f[R]. Sets the machine ID "
12734 "of the image to the specified UUID. If set to \\f[B]random\\f[R], a random "
12735 "UUID will be written to \\f[B]/etc/machine-id\\f[R]. If not specified "
12736 "explicitly and the file \\f[B]mkosi.machine-id\\f[R] exists in the local "
12737 "directory, the UUID to use is read from it. Otherwise, "
12738 "\\f[B]uninitialized\\f[R] will be written to \\f[B]/etc/machine-id\\f[R].\\fR"
12739 msgstr ""
12740
12741 #. type: TP
12742 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12743 #, no-wrap
12744 msgid "\\f[B]SecureBoot=\\f[R], \\f[B]--secure-boot=\\fR"
12745 msgstr ""
12746
12747 #. type: TP
12748 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12749 #, no-wrap
12750 msgid "\\f[B]SecureBootAutoEnroll=\\f[R], \\f[B]--secure-boot-auto-enroll=\\fR"
12751 msgstr ""
12752
12753 #. type: Plain text
12754 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12755 msgid ""
12756 "Set up automatic enrollment of the secure boot keys in virtual machines as "
12757 "documented in \\f[B]systemd-boot\\f[R](7) if \\f[B]SecureBoot=\\f[R] is "
12758 "used. Note that \\f[B]systemd-boot\\f[R] will only do automatic secure boot "
12759 "key enrollment in virtual machines starting from systemd v253. To do auto "
12760 "enrollment on systemd v252 or on bare metal machines, write a \\f[B]systemd-"
12761 "boot\\f[R] configuration file to \\f[B]/efi/loader/loader.conf\\f[R] using "
12762 "an extra tree with \\f[B]secure-boot-enroll force\\f[R] or \\f[B]secure-boot-"
12763 "enroll manual\\f[R] in it. Auto enrollment is not supported on systemd "
12764 "versions older than v252. Defaults to \\f[B]yes\\f[R].\\fR"
12765 msgstr ""
12766
12767 #. type: TP
12768 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12769 #, no-wrap
12770 msgid "\\f[B]SecureBootKey=\\f[R], \\f[B]--secure-boot-key=\\fR"
12771 msgstr ""
12772
12773 #. type: Plain text
12774 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12775 msgid ""
12776 "Path to the PEM file containing the secret key for signing the UEFI kernel "
12777 "image if \\f[B]SecureBoot=\\f[R] is used and PCR signatures when "
12778 "\\f[B]SignExpectedPcr=\\f[R] is also used. When "
12779 "\\f[B]SecureBootKeySource=\\f[R] is specified, the input type depends on the "
12780 "source.\\fR"
12781 msgstr ""
12782
12783 #. type: TP
12784 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12785 #, no-wrap
12786 msgid "\\f[B]SecureBootCertificate=\\f[R], \\f[B]--secure-boot-certificate=\\fR"
12787 msgstr ""
12788
12789 #. type: Plain text
12790 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12791 msgid ""
12792 "Path to the X.509 file containing the certificate for the signed UEFI kernel "
12793 "image, if \\f[B]SecureBoot=\\f[R] is used.\\fR"
12794 msgstr ""
12795
12796 #. type: TP
12797 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12798 #, no-wrap
12799 msgid "\\f[B]SecureBootSignTool=\\f[R], \\f[B]--secure-boot-sign-tool=\\fR"
12800 msgstr ""
12801
12802 #. type: Plain text
12803 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12804 msgid ""
12805 "Tool to use to sign secure boot PE binaries. Takes one of \\f[B]systemd-"
12806 "sbsign\\f[R], \\f[B]sbsign\\f[R] or \\f[B]auto\\f[R]. Defaults to "
12807 "\\f[B]auto\\f[R]. If set to \\f[B]auto\\f[R], either \\f[B]systemd-"
12808 "sbsign\\f[R] or \\f[B]sbsign\\f[R] are used if available, with \\f[B]systemd-"
12809 "sbsign\\f[R] being preferred.\\fR"
12810 msgstr ""
12811
12812 #. type: TP
12813 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12814 #, no-wrap
12815 msgid "\\f[B]Verity=\\f[R], \\f[B]--verity=\\fR"
12816 msgstr ""
12817
12818 #. type: Plain text
12819 #: debian-unstable opensuse-tumbleweed
12820 msgid ""
12821 "Whether to enforce or disable verity for extension images. Takes one of "
12822 "\\f[B]signed\\f[R], \\f[B]hash\\f[R], \\f[B]defer\\f[R], \\f[B]auto\\f[R] or "
12823 "a boolean value. If set to \\f[B]signed\\f[R], a verity key and certificate "
12824 "must be present and the build will fail if we don\\(cqt detect any verity "
12825 "partitions in the disk image produced by \\f[B]systemd-repart\\f[R]. If "
12826 "disabled, verity partitions will be excluded from the extension images "
12827 "produced by \\f[B]systemd-repart\\f[R]. If set to \\f[B]hash\\f[R], "
12828 "\\f[B]mkosi\\f[R] configures \\f[B]systemd-repart\\f[R] to create a verity "
12829 "hash partition, but no signature partition. If set to \\f[B]defer\\f[R], "
12830 "space for the verity sig partition will be allocated but it will not be "
12831 "populated yet. If set to \\f[B]auto\\f[R] and a verity key and certificate "
12832 "are present, \\f[B]mkosi\\f[R] will pass them to \\f[B]systemd-repart\\f[R] "
12833 "and expects the generated disk image to contain verity partitions, but the "
12834 "build won\\(cqt fail if no verity partitions are found in the disk image "
12835 "produced by \\f[B]systemd-repart\\f[R].\\fR"
12836 msgstr ""
12837
12838 #. type: Plain text
12839 #: debian-unstable opensuse-tumbleweed
12840 msgid ""
12841 "\\f[R]Note that explicitly disabling verity signature and/or hash is not yet "
12842 "implemented for the \\f[B]disk\\f[R] output and only works for extension "
12843 "images at the moment.\\fR"
12844 msgstr ""
12845
12846 #. type: TP
12847 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12848 #, no-wrap
12849 msgid "\\f[B]VerityKey=\\f[R], \\f[B]--verity-key=\\fR"
12850 msgstr ""
12851
12852 #. type: Plain text
12853 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12854 msgid ""
12855 "Path to the PEM file containing the secret key for signing the verity "
12856 "signature, if a verity signature partition is added with \\f[B]systemd-"
12857 "repart\\f[R]. When \\f[B]VerityKeySource=\\f[R] is specified, the input "
12858 "type depends on the source.\\fR"
12859 msgstr ""
12860
12861 #. type: TP
12862 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12863 #, no-wrap
12864 msgid "\\f[B]VerityCertificate=\\f[R], \\f[B]--verity-certificate=\\fR"
12865 msgstr ""
12866
12867 #. type: TP
12868 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12869 #, no-wrap
12870 msgid "\\f[B]SignExpectedPcr=\\f[R], \\f[B]--sign-expected-pcr=\\fR"
12871 msgstr ""
12872
12873 #. type: Plain text
12874 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12875 msgid ""
12876 "Measure the components of the unified kernel image (UKI) using \\f[B]systemd-"
12877 "measure\\f[R] and embed the PCR signature into the unified kernel image. "
12878 "This option takes a boolean value or the special value \\f[B]auto\\f[R], "
12879 "which is the default, which is equal to a true value if the \\f[B]systemd-"
12880 "measure\\f[R] binary is in \\f[B]PATH\\f[R]. Depends on "
12881 "\\f[B]SecureBoot=\\f[R] being enabled and key from "
12882 "\\f[B]SecureBootKey=\\f[R].\\fR"
12883 msgstr ""
12884
12885 #. type: TP
12886 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12887 #, no-wrap
12888 msgid "\\f[B]SignExpectedPcrKey=\\f[R], \\f[B]--sign-expected-pcr-key=\\fR"
12889 msgstr ""
12890
12891 #. type: Plain text
12892 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12893 msgid ""
12894 "Path to the PEM file containing the secret key for signing the expected PCR "
12895 "signatures. When \\f[B]SignExpectedPcrKeySource=\\f[R] is specified, the "
12896 "input type depends on the source.\\fR"
12897 msgstr ""
12898
12899 #. type: TP
12900 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12901 #, no-wrap
12902 msgid "\\f[B]SignExpectedPcrCertificate=\\f[R], \\f[B]--sign-expected-pcr-certificate=\\fR"
12903 msgstr ""
12904
12905 #. type: TP
12906 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12907 #, no-wrap
12908 msgid "\\f[B]SecureBootKeySource=\\f[R], \\f[B]--secure-boot-key-source=\\f[R], \\f[B]VerityKeySource=\\f[R], \\f[B]--verity-key-source=\\f[R], \\f[B]SignExpectedPcrKeySource=\\f[R], \\f[B]--sign-expected-key-source=\\fR"
12909 msgstr ""
12910
12911 #. type: Plain text
12912 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12913 msgid ""
12914 "The source of the corresponding private key, to support OpenSSL engines and "
12915 "providers, e.g.\\ \\f[B]--secure-boot-key-source=engine:pkcs11\\f[R] or "
12916 "\\f[B]--secure-boot-key-source=provider:pkcs11\\f[R].\\fR"
12917 msgstr ""
12918
12919 #. type: TP
12920 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12921 #, no-wrap
12922 msgid "\\f[B]SecureBootCertificateSource=\\f[R], \\f[B]--secure-boot-certificate-source=\\f[R], \\f[B]VerityCertificateSource=\\f[R], \\f[B]--verity-certificate-source=\\f[R], \\f[B]SignExpectedPcrCertificateSource=\\f[R], \\f[B]--sign-expected-certificate-source=\\fR"
12923 msgstr ""
12924
12925 #. type: Plain text
12926 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12927 msgid ""
12928 "The source of the corresponding certificate, to support OpenSSL providers, "
12929 "e.g.\\ \\f[B]--secure-boot-certificate-source=provider:pkcs11\\f[R]. Note "
12930 "that engines are not supported.\\fR"
12931 msgstr ""
12932
12933 #. type: TP
12934 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12935 #, no-wrap
12936 msgid "\\f[B]Passphrase=\\f[R], \\f[B]--passphrase=\\fR"
12937 msgstr ""
12938
12939 #. type: Plain text
12940 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12941 msgid ""
12942 "Specify the path to a file containing the passphrase to use for LUKS "
12943 "encryption. It should contain the passphrase literally, and not end in a "
12944 "newline character (i.e.\\ in the same format as \\f[B]cryptsetup\\f[R] and "
12945 "\\f[B]/etc/crypttab\\f[R] expect the passphrase files). The file must have "
12946 "an access mode of 0600 or less.\\fR"
12947 msgstr ""
12948
12949 #. type: Plain text
12950 #: debian-unstable opensuse-tumbleweed
12951 msgid ""
12952 "\\f[R]Note that this setting on its own does not enable any encryption. You "
12953 "also have to add one or more partition definition files to "
12954 "\\f[B]mkosi.repart/\\f[R] with \\f[B]Encrypt=key-file\\f[R] to add encrypted "
12955 "partitions to the image.\\fR"
12956 msgstr ""
12957
12958 #. type: TP
12959 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12960 #, no-wrap
12961 msgid "\\f[B]Checksum=\\f[R], \\f[B]--checksum=\\fR"
12962 msgstr ""
12963
12964 #. type: Plain text
12965 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12966 msgid ""
12967 "Generate a \\f[B]E<lt>outputE<gt>.SHA256SUMS\\f[R] file of all generated "
12968 "artifacts after the build is complete.\\fR"
12969 msgstr ""
12970
12971 #. type: TP
12972 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12973 #, no-wrap
12974 msgid "\\f[B]Sign=\\f[R], \\f[B]--sign=\\fR"
12975 msgstr ""
12976
12977 #. type: Plain text
12978 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12979 msgid ""
12980 "Sign the generated \\f[B]SHA256SUMS\\f[R] using \\f[B]gpg\\f[R] after "
12981 "completion.\\fR"
12982 msgstr ""
12983
12984 #. type: TP
12985 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12986 #, no-wrap
12987 msgid "\\f[B]OpenPGPTool=\\f[R], \\f[B]--openpgp-tool=\\fR"
12988 msgstr ""
12989
12990 #. type: Plain text
12991 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
12992 msgid ""
12993 "OpenPGP implementation to use for signing. \\f[B]gpg\\f[R] is the default. "
12994 "Selecting a value different than the default will use the given Stateless "
12995 "OpenPGP (SOP) tool for signing the \\f[B]SHA256SUMS\\f[R] file.\\fR"
12996 msgstr ""
12997
12998 #. type: Plain text
12999 #: debian-unstable opensuse-tumbleweed
13000 msgid ""
13001 "\\f[R]Exemplary choices are \\f[B]sqop\\f[R] and \\f[B]rsop\\f[R], but any "
13002 "implementation from https://www.openpgp.org/about/sop/ that can be installed "
13003 "locally will work.\\fR"
13004 msgstr ""
13005
13006 #. type: TP
13007 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13008 #, no-wrap
13009 msgid "\\f[B]Key=\\f[R], \\f[B]--key=\\fR"
13010 msgstr ""
13011
13012 #. type: Plain text
13013 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13014 msgid ""
13015 "Select the \\f[B]gpg\\f[R] key to use for signing \\f[B]SHA256SUMS\\f[R]. "
13016 "This key must be already present in the \\f[B]gpg\\f[R] keyring.\\fR"
13017 msgstr ""
13018
13019 #. type: TP
13020 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13021 #, no-wrap
13022 msgid "\\f[B]ToolsTree=\\f[R], \\f[B]--tools-tree=\\fR"
13023 msgstr ""
13024
13025 #. type: Plain text
13026 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13027 msgid ""
13028 "If specified, programs executed by \\f[B]mkosi\\f[R] to build and boot an "
13029 "image are looked up inside the given tree instead of in the host system. "
13030 "Use this option to make image builds more reproducible by always using the "
13031 "same versions of programs to build the final image instead of whatever "
13032 "version is installed on the host system. If this option is not used, but "
13033 "the \\f[B]mkosi.tools/\\f[R] directory is found in the local directory it is "
13034 "automatically used for this purpose with the root directory as target.\\fR"
13035 msgstr ""
13036
13037 #. type: Plain text
13038 #: debian-unstable opensuse-tumbleweed
13039 msgid ""
13040 "\\f[R]The tools tree directory is kept between repeated image builds unless "
13041 "cleaned by calling \\f[B]mkosi clean -f\\f[R]. Note that binaries found in "
13042 "any of the paths configured with \\f[B]ExtraSearchPaths=\\f[R] will be "
13043 "executed with \\f[B]/usr/\\f[R] from the tools tree instead of from the "
13044 "host. If the host distribution or release does not match the tools tree "
13045 "distribution or release respectively, this might result in failures when "
13046 "trying to execute binaries from any of the extra search paths. If set to "
13047 "\\f[B]yes\\f[R], \\f[B]mkosi\\f[R] will automatically add an extra tools "
13048 "tree image and use it as the tools tree. This image can be further "
13049 "configured using the settings below or with \\f[B]mkosi.tools.conf\\f[R] "
13050 "which can either be a file or directory containing extra configuration for "
13051 "the default tools tree. See the \\f[B]TOOLS TREE\\f[R] section for further "
13052 "details.\\fR"
13053 msgstr ""
13054
13055 #. type: TP
13056 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13057 #, no-wrap
13058 msgid "\\f[B]ToolsTreeDistribution=\\f[R], \\f[B]--tools-tree-distribution=\\fR"
13059 msgstr ""
13060
13061 #. type: Plain text
13062 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13063 msgid ""
13064 "Set the distribution to use for the default tools tree. Defaults to the "
13065 "host distribution except for Ubuntu, which defaults to Debian, and RHEL, "
13066 "CentOS, Alma and Rocky, which default to Fedora, or \\f[B]custom\\f[R] if "
13067 "the distribution of the host is not a supported distribution.\\fR"
13068 msgstr ""
13069
13070 #. type: TP
13071 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13072 #, no-wrap
13073 msgid "\\f[B]ToolsTreeRelease=\\f[R], \\f[B]--tools-tree-release=\\fR"
13074 msgstr ""
13075
13076 #. type: TP
13077 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13078 #, no-wrap
13079 msgid "\\f[B]ToolsTreeProfiles=\\f[R], \\f[B]--tools-tree-profile=\\fR"
13080 msgstr ""
13081
13082 #. type: Plain text
13083 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13084 msgid ""
13085 "Set the profiles to enable for the default tools tree. Takes a comma-"
13086 "delimited list consisting of \\f[B]devel\\f[R], \\f[B]misc\\f[R], "
13087 "\\f[B]package-manager\\f[R] and \\f[B]runtime\\f[R]. By default, all "
13088 "profiles except \\f[B]devel\\f[R] are enabled.\\fR"
13089 msgstr ""
13090
13091 #. type: Plain text
13092 #: debian-unstable opensuse-tumbleweed
13093 msgid ""
13094 "\\f[R]The \\f[B]devel\\f[R] profile contains tools required to build (C/C+"
13095 "+) projects. The \\f[B]misc\\f[R] profile contains various useful tools "
13096 "that are handy to have available in scripts. The package manager profile "
13097 "contains package managers and related tools other than those native to the "
13098 "tools tree distribution. The \\f[B]runtime\\f[R] profile contains the tools "
13099 "required to boot images in a systemd-nspawn container or in a virtual "
13100 "machine.\\fR"
13101 msgstr ""
13102
13103 #. type: TP
13104 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13105 #, no-wrap
13106 msgid "\\f[B]ToolsTreeMirror=\\f[R], \\f[B]--tools-tree-mirror=\\fR"
13107 msgstr ""
13108
13109 #. type: TP
13110 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13111 #, no-wrap
13112 msgid "\\f[B]ToolsTreeRepositories=\\f[R], \\f[B]--tools-tree-repository=\\fR"
13113 msgstr ""
13114
13115 #. type: Plain text
13116 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13117 msgid "Same as \\f[B]Repositories=\\f[R] but for the default tools tree.\\fR"
13118 msgstr ""
13119
13120 #. type: TP
13121 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13122 #, no-wrap
13123 msgid "\\f[B]ToolsTreeSandboxTrees=\\f[R], \\f[B]--tools-tree-sandbox-tree=\\fR"
13124 msgstr ""
13125
13126 #. type: Plain text
13127 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13128 msgid "Same as \\f[B]SandboxTrees=\\f[R] but for the default tools tree.\\fR"
13129 msgstr ""
13130
13131 #. type: TP
13132 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13133 #, no-wrap
13134 msgid "\\f[B]ToolsTreePackages=\\f[R], \\f[B]--tools-tree-package=\\fR"
13135 msgstr ""
13136
13137 #. type: TP
13138 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13139 #, no-wrap
13140 msgid "\\f[B]ToolsTreePackageDirectories=\\f[R], \\f[B]--tools-tree-package-directory=\\fR"
13141 msgstr ""
13142
13143 #. type: Plain text
13144 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13145 msgid ""
13146 "Same as \\f[B]PackageDirectories=\\f[R], but for the default tools tree.\\fR"
13147 msgstr ""
13148
13149 #. type: TP
13150 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13151 #, no-wrap
13152 msgid "\\f[B]ToolsTreeCertificates=\\f[R], \\f[B]--tools-tree-certificates=\\fR"
13153 msgstr ""
13154
13155 #. type: Plain text
13156 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13157 msgid ""
13158 "Specify whether to use certificates and keys from the tools tree. Enabled "
13159 "by default. If enabled, \\f[B]/etc/pki/ca-trust\\f[R], \\f[B]/etc/pki/"
13160 "tls\\f[R], \\f[B]/etc/ssl\\f[R], \\f[B]/etc/ca-certificates\\f[R], and "
13161 "\\f[B]/var/lib/ca-certificates\\f[R] from the tools tree are used. "
13162 "Otherwise, these directories are picked up from the host.\\fR"
13163 msgstr ""
13164
13165 #. type: TP
13166 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13167 #, no-wrap
13168 msgid "\\f[B]ExtraSearchPaths=\\f[R], \\f[B]--extra-search-path=\\fR"
13169 msgstr ""
13170
13171 #. type: Plain text
13172 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13173 msgid ""
13174 "List of colon-separated paths to look for tools in, before using the regular "
13175 "\\f[B]$PATH\\f[R] search path.\\fR"
13176 msgstr ""
13177
13178 #. type: TP
13179 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13180 #, no-wrap
13181 msgid "\\f[B]Incremental=\\f[R], \\f[B]--incremental=\\f[R], \\f[B]-i\\fR"
13182 msgstr ""
13183
13184 #. type: Plain text
13185 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13186 msgid ""
13187 "Takes either \\f[B]strict\\f[R] or a boolean value as its argument. Enables "
13188 "incremental build mode. In this mode, a copy of the OS image is created "
13189 "immediately after all OS packages are installed and the prepare scripts have "
13190 "executed but before the \\f[B]mkosi.build\\f[R] scripts are invoked (or "
13191 "anything that happens after it). On subsequent invocations of "
13192 "\\f[B]mkosi\\f[R] with the \\f[B]-i\\f[R] switch this cached image may be "
13193 "used to skip the OS package installation, thus drastically speeding up "
13194 "repetitive build times. Note that while there is some rudimentary cache "
13195 "invalidation, it is definitely not perfect. In order to force a rebuild of "
13196 "the cached image, combine \\f[B]-i\\f[R] with \\f[B]-ff\\f[R] to ensure the "
13197 "cached image is first removed and then re-created.\\fR"
13198 msgstr ""
13199
13200 #. type: Plain text
13201 #: debian-unstable opensuse-tumbleweed
13202 msgid ""
13203 "\\f[R]If set to \\f[B]strict\\f[R], the build fails if previously built "
13204 "cached image does not exist.\\fR"
13205 msgstr ""
13206
13207 #. type: TP
13208 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13209 #, no-wrap
13210 msgid "\\f[B]CacheOnly=\\f[R], \\f[B]--cache-only=\\fR"
13211 msgstr ""
13212
13213 #. type: Plain text
13214 #: debian-unstable opensuse-tumbleweed
13215 msgid ""
13216 "Takes one of \\f[B]auto\\f[R], \\f[B]metadata\\f[R], \\f[B]always\\f[R] or "
13217 "\\f[B]never\\f[R]. Defaults to \\f[B]auto\\f[R]. If \\f[B]always\\f[R], "
13218 "the package manager is instructed not to contact the network. This provides "
13219 "a minimal level of reproducibility, as long as the package cache is already "
13220 "fully populated. If set to \\f[B]metadata\\f[R], the package manager can "
13221 "still download packages, but we won\\(cqt sync the repository metadata. If "
13222 "set to \\f[B]auto\\f[R], the repository metadata is synced unless we have a "
13223 "cached image (see \\f[B]Incremental=\\f[R]) and packages can be downloaded "
13224 "during the build. If set to \\f[B]never\\f[R], repository metadata is "
13225 "always synced and packages can be downloaded during the build.\\fR"
13226 msgstr ""
13227
13228 #. type: TP
13229 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13230 #, no-wrap
13231 msgid "\\f[B]SandboxTrees=\\f[R], \\f[B]--sandbox-tree=\\fR"
13232 msgstr ""
13233
13234 #. type: Plain text
13235 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13236 msgid ""
13237 "Takes a comma-separated list of colon-separated path pairs. The first path "
13238 "of each pair refers to a directory to copy into the mkosi sandbox before "
13239 "executing a tool. The second path of each pair refers to the target "
13240 "directory inside the sandbox. If the second path is not provided, the "
13241 "directory is copied on top of the root directory of the sandbox. The second "
13242 "path is always interpreted as an absolute path. If the \\f[B]mkosi.sandbox/"
13243 "\\f[R] directory is found in the local directory it is used for this purpose "
13244 "with the root directory as target (also see the \\f[B]FILES\\f[R] section "
13245 "below).\\fR"
13246 msgstr ""
13247
13248 #. type: Plain text
13249 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13250 msgid ""
13251 "\\f[B]mkosi\\f[R] will look for the package manager configuration and "
13252 "related files in the configured sandbox trees. Unless specified otherwise, "
13253 "it will use the configuration files from their canonical locations in \\f[B]/"
13254 "usr\\f[R] or \\f[B]/etc\\f[R] in the sandbox trees. For example, it will "
13255 "look for \\f[B]/etc/dnf/dnf.conf\\f[R] in the sandbox trees if "
13256 "\\f[B]dnf\\f[R] is used to install packages.\\fR"
13257 msgstr ""
13258
13259 #. type: TP
13260 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13261 #, no-wrap
13262 msgid "\\f[B]WorkspaceDirectory=\\f[R], \\f[B]--workspace-directory=\\fR"
13263 msgstr ""
13264
13265 #. type: Plain text
13266 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13267 msgid ""
13268 "Path to a directory where to store data required temporarily while building "
13269 "the image. This directory should have enough space to store the full OS "
13270 "image, though in most modes the actually used disk space is smaller. If not "
13271 "specified, a subdirectory of \\f[B]$XDG_CACHE_HOME\\f[R] (if set), \\f[B]"
13272 "$CACHE_DIRECTORY\\f[R] (if set), \\f[B]$HOME/.cache\\f[R] (if set) or \\f[B]/"
13273 "var/tmp\\f[R] is used.\\fR"
13274 msgstr ""
13275
13276 #. type: Plain text
13277 #: debian-unstable opensuse-tumbleweed
13278 msgid ""
13279 "\\f[R]The data in this directory is removed automatically after each build. "
13280 "It\\(cqs safe to manually remove the contents of this directory should an "
13281 "\\f[B]mkosi\\f[R] invocation be aborted abnormally (for example, due to "
13282 "reboot/power failure).\\fR"
13283 msgstr ""
13284
13285 #. type: TP
13286 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13287 #, no-wrap
13288 msgid "\\f[B]CacheDirectory=\\f[R], \\f[B]--cache-directory=\\fR"
13289 msgstr ""
13290
13291 #. type: Plain text
13292 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13293 msgid ""
13294 "Takes a path to a directory to use as the incremental cache directory for "
13295 "the incremental images produced when the \\f[B]Incremental=\\f[R] option is "
13296 "enabled. If this option is not used, but a \\f[B]mkosi.cache/\\f[R] "
13297 "directory is found in the local directory it is automatically used for this "
13298 "purpose.\\fR"
13299 msgstr ""
13300
13301 #. type: TP
13302 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13303 #, no-wrap
13304 msgid "\\f[B]CacheKey=\\f[R], \\f[B]--cache-key=\\fR"
13305 msgstr ""
13306
13307 #. type: Plain text
13308 #: debian-unstable opensuse-tumbleweed
13309 msgid ""
13310 "Specifies the subdirectory within the cache directory where to store the "
13311 "cached image. This may include both the regular specifiers (see "
13312 "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded "
13313 "after config parsing has finished, instead of during config parsing, which "
13314 "are described below. The default format for this parameter is \\f[B]&d\\"
13315 "(ti&r\\(ti&a\\(ti&I\\f[R].\\fR"
13316 msgstr ""
13317
13318 #. type: tbl table
13319 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13320 #, no-wrap
13321 msgid "\\f[B]&d\\fR"
13322 msgstr ""
13323
13324 #. type: Plain text
13325 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13326 #, no-wrap
13327 msgid "\\f[B]Distribution=\\fR"
13328 msgstr ""
13329
13330 #. type: tbl table
13331 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13332 #, no-wrap
13333 msgid "\\f[B]&r\\fR"
13334 msgstr ""
13335
13336 #. type: Plain text
13337 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13338 #, no-wrap
13339 msgid "\\f[B]Release=\\fR"
13340 msgstr ""
13341
13342 #. type: tbl table
13343 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13344 #, no-wrap
13345 msgid "\\f[B]&a\\fR"
13346 msgstr ""
13347
13348 #. type: Plain text
13349 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13350 #, no-wrap
13351 msgid "\\f[B]Architecture=\\fR"
13352 msgstr ""
13353
13354 #. type: tbl table
13355 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13356 #, no-wrap
13357 msgid "\\f[B]&i\\fR"
13358 msgstr ""
13359
13360 #. type: Plain text
13361 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13362 #, no-wrap
13363 msgid "\\f[B]ImageId=\\fR"
13364 msgstr ""
13365
13366 #. type: tbl table
13367 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13368 #, no-wrap
13369 msgid "\\f[B]&v\\fR"
13370 msgstr ""
13371
13372 #. type: Plain text
13373 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13374 #, no-wrap
13375 msgid "\\f[B]ImageVersion=\\fR"
13376 msgstr ""
13377
13378 #. type: tbl table
13379 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13380 #, no-wrap
13381 msgid "\\f[B]&I\\fR"
13382 msgstr ""
13383
13384 #. type: tbl table
13385 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13386 #, no-wrap
13387 msgid "\\f[R]Subimage name within mkosi.images/ or \\f[B]main\\fR"
13388 msgstr ""
13389
13390 #. type: Plain text
13391 #: debian-unstable opensuse-tumbleweed
13392 msgid ""
13393 "\\f[R]Note that all images within a build must have a unique cache key.\\fR"
13394 msgstr ""
13395
13396 #. type: TP
13397 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13398 #, no-wrap
13399 msgid "\\f[B]PackageCacheDirectory=\\f[R], \\f[B]--package-cache-dir=\\fR"
13400 msgstr ""
13401
13402 #. type: Plain text
13403 #: debian-unstable opensuse-tumbleweed
13404 msgid ""
13405 "Takes a path to a directory to use as the package cache directory for the "
13406 "distribution package manager used. If unset, but a \\f[B]mkosi.pkgcache/"
13407 "\\f[R] directory is found in the local directory it is automatically used "
13408 "for this purpose, otherwise a suitable directory in the user\\(cqs home "
13409 "directory or system is used.\\fR"
13410 msgstr ""
13411
13412 #. type: TP
13413 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13414 #, no-wrap
13415 msgid "\\f[B]BuildDirectory=\\f[R], \\f[B]--build-directory=\\fR"
13416 msgstr ""
13417
13418 #. type: Plain text
13419 #: debian-unstable opensuse-tumbleweed
13420 msgid ""
13421 "Takes a path to a directory to use as the build directory for build systems "
13422 "that support out-of-tree builds (such as Meson). The directory used this "
13423 "way is shared between repeated builds, and allows the build system to reuse "
13424 "artifacts (such as object files, executable, \\&...) generated on previous "
13425 "invocations. The build scripts can find the path to this directory in the "
13426 "\\f[B]$BUILDDIR\\f[R] environment variable. This directory is mounted into "
13427 "the image\\(cqs root directory when \\f[B]mkosi-chroot\\f[R] is invoked "
13428 "during execution of the build scripts. If this option is not specified, but "
13429 "a directory \\f[B]mkosi.builddir/\\f[R] exists in the local directory it is "
13430 "automatically used for this purpose (also see the \\f[B]FILES\\f[R] section "
13431 "below).\\fR"
13432 msgstr ""
13433
13434 #. type: TP
13435 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13436 #, no-wrap
13437 msgid "\\f[B]BuildKey=\\f[R], \\f[B]--build-key=\\fR"
13438 msgstr ""
13439
13440 #. type: Plain text
13441 #: debian-unstable opensuse-tumbleweed
13442 msgid ""
13443 "Specifies the subdirectory within the build directory where to store "
13444 "incremental build artifacts. This may include both the regular specifiers "
13445 "(see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that are "
13446 "expanded after config parsing has finished, instead of during config "
13447 "parsing, which are the same delayed specifiers that are supported by "
13448 "\\f[B]CacheKey=\\f[R]. The default format for this parameter is \\f[B]&d\\"
13449 "(ti&r\\(ti&a\\f[R].\\fR"
13450 msgstr ""
13451
13452 #. type: Plain text
13453 #: debian-unstable opensuse-tumbleweed
13454 msgid ""
13455 "\\f[R]To disable usage of a build subdirectory completely, assign a literal "
13456 "\\f[B]-\\f[R] to this setting.\\fR"
13457 msgstr ""
13458
13459 #. type: TP
13460 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13461 #, no-wrap
13462 msgid "\\f[B]UseSubvolumes=\\f[R], \\f[B]--use-subvolumes=\\fR"
13463 msgstr ""
13464
13465 #. type: Plain text
13466 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13467 msgid ""
13468 "Takes a boolean or \\f[B]auto\\f[R]. Enables or disables use of btrfs "
13469 "subvolumes for directory tree outputs. If enabled, \\f[B]mkosi\\f[R] will "
13470 "create the root directory as a btrfs subvolume and use btrfs subvolume "
13471 "snapshots where possible to copy base or cached trees which is much faster "
13472 "than doing a recursive copy. If explicitly enabled and \\f[B]btrfs\\f[R] is "
13473 "not installed or subvolumes cannot be created, an error is raised. If "
13474 "\\f[B]auto\\f[R], missing \\f[B]btrfs\\f[R] or failures to create subvolumes "
13475 "are ignored.\\fR"
13476 msgstr ""
13477
13478 #. type: TP
13479 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13480 #, no-wrap
13481 msgid "\\f[B]RepartOffline=\\f[R], \\f[B]--repart-offline=\\fR"
13482 msgstr ""
13483
13484 #. type: Plain text
13485 #: debian-unstable opensuse-tumbleweed
13486 msgid ""
13487 "\\f[R]Note that when using \\f[B]RepartOffline=no\\f[R], \\f[B]mkosi\\f[R] "
13488 "cannot run unprivileged and the image build has to be done as the root user "
13489 "outside of any containers and with loopback devices available on the host "
13490 "system. There are currently two known scenarios where "
13491 "\\f[B]RepartOffline=no\\f[R] has to be used. The first is when using "
13492 "\\f[B]Subvolumes=\\f[R] in a repart partition definition file, as subvolumes "
13493 "cannot be created without using loopback devices. The second is when "
13494 "creating a system with SELinux and an XFS root partition. Because "
13495 "\\f[B]mkfs.xfs\\f[R] does not support populating an XFS filesystem with "
13496 "extended attributes, loopback devices have to be used to ensure the SELinux "
13497 "extended attributes end up in the generated XFS filesystem.\\fR"
13498 msgstr ""
13499
13500 #. type: TP
13501 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13502 #, no-wrap
13503 msgid "\\f[B]History=\\f[R], \\f[B]--history=\\fR"
13504 msgstr ""
13505
13506 #. type: Plain text
13507 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13508 msgid ""
13509 "Takes a boolean. If enabled, \\f[B]mkosi\\f[R] will write the configuration "
13510 "provided via the CLI for the latest build to the \\f[B].mkosi-private\\f[R] "
13511 "subdirectory in the directory from which it was invoked. These arguments "
13512 "are then reused as long as the image is not rebuilt to avoid having to "
13513 "specify them over and over again.\\fR"
13514 msgstr ""
13515
13516 #. type: Plain text
13517 #: debian-unstable opensuse-tumbleweed
13518 msgid ""
13519 "\\f[R]To give an example of why this is useful, if you run \\f[B]mkosi -O my-"
13520 "custom-output-dir -f\\f[R] followed by \\f[B]mkosi vm\\f[R], "
13521 "\\f[B]mkosi\\f[R] will fail saying the image hasn\\(cqt been built yet. If "
13522 "you run \\f[B]mkosi -O my-custom-output-dir --history=yes -f\\f[R] followed "
13523 "by \\f[B]mkosi vm\\f[R], it will boot the image built in the previous step "
13524 "as expected.\\fR"
13525 msgstr ""
13526
13527 #. type: TP
13528 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13529 #, no-wrap
13530 msgid "\\f[B]BuildSources=\\f[R], \\f[B]--build-sources=\\fR"
13531 msgstr ""
13532
13533 #. type: Plain text
13534 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13535 msgid ""
13536 "Takes a comma-separated list of colon-separated path pairs. The first path "
13537 "of each pair refers to a directory to mount from the host. The second path "
13538 "of each pair refers to the directory where the source directory should be "
13539 "mounted when running scripts. Every target path is prefixed with \\f[B]/"
13540 "work/src\\f[R] and all build sources are sorted lexicographically by their "
13541 "target before mounting, so that top level paths are mounted first. If not "
13542 "configured explicitly, the current working directory is mounted to \\f[B]/"
13543 "work/src\\f[R].\\fR"
13544 msgstr ""
13545
13546 #. type: TP
13547 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13548 #, no-wrap
13549 msgid "\\f[B]BuildSourcesEphemeral=\\f[R], \\f[B]--build-sources-ephemeral=\\fR"
13550 msgstr ""
13551
13552 #. type: Plain text
13553 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13554 msgid ""
13555 "Takes a boolean or the special value \\f[B]buildcache\\f[R]. Disabled by "
13556 "default. Configures whether changes to source directories, the working "
13557 "directory and configured using \\f[B]BuildSources=\\f[R], are persisted. If "
13558 "enabled, all source directories will be reset to their original state every "
13559 "time after running all scripts of a specific type (except sync scripts).\\fR"
13560 msgstr ""
13561
13562 #. type: Plain text
13563 #: debian-unstable opensuse-tumbleweed
13564 msgid ""
13565 "\\f[R]💥💣💥 If set to \\f[B]buildcache\\f[R] the overlay is not discarded "
13566 "when running build scripts, but saved to the build directory, configured via "
13567 "\\f[B]BuildDirectory=\\f[R], and will be reused on subsequent runs. The "
13568 "overlay is still discarded for all other scripts. This option can be used "
13569 "to implement more advanced caching of builds, but can lead to unexpected "
13570 "states of the source directory. When using this option, a build directory "
13571 "must be configured. 💥💣💥\\fR"
13572 msgstr ""
13573
13574 #. type: TP
13575 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13576 #, no-wrap
13577 msgid "\\f[B]Environment=\\f[R], \\f[B]--environment=\\fR"
13578 msgstr ""
13579
13580 #. type: TP
13581 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13582 #, no-wrap
13583 msgid "\\f[B]EnvironmentFiles=\\f[R], \\f[B]--env-file=\\fR"
13584 msgstr ""
13585
13586 #. type: Plain text
13587 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13588 msgid ""
13589 "Takes a comma-separated list of paths to files that contain environment "
13590 "variable definitions to be added to the scripting environment. Uses "
13591 "\\f[B]mkosi.env\\f[R] if it is found in the local directory. The variables "
13592 "are first read from \\f[B]mkosi.env\\f[R] if it exists, then from the given "
13593 "list of files and then from the \\f[B]Environment=\\f[R] settings.\\fR"
13594 msgstr ""
13595
13596 #. type: TP
13597 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13598 #, no-wrap
13599 msgid "\\f[B]WithTests=\\f[R], \\f[B]--with-tests=\\f[R], \\f[B]-T\\fR"
13600 msgstr ""
13601
13602 #. type: Plain text
13603 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13604 msgid ""
13605 "If set to false (or when the command-line option is used), the \\f[B]"
13606 "$WITH_TESTS\\f[R] environment variable is set to \\f[B]0\\f[R] when the "
13607 "\\f[B]mkosi.build\\f[R] scripts are invoked. This is supposed to be used by "
13608 "the build scripts to bypass any unit or integration tests that are normally "
13609 "run during the source build process. Note that this option has no effect "
13610 "unless the \\f[B]mkosi.build\\f[R] build scripts honor it.\\fR"
13611 msgstr ""
13612
13613 #. type: TP
13614 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13615 #, no-wrap
13616 msgid "\\f[B]WithNetwork=\\f[R], \\f[B]--with-network=\\fR"
13617 msgstr ""
13618
13619 #. type: Plain text
13620 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13621 msgid ""
13622 "When true, enables network connectivity while the build scripts "
13623 "\\f[B]mkosi.build\\f[R] are invoked. By default, the build scripts run with "
13624 "networking turned off. The \\f[B]$WITH_NETWORK\\f[R] environment variable "
13625 "is passed to the \\f[B]mkosi.build\\f[R] build scripts indicating whether "
13626 "the build is done with or without network.\\fR"
13627 msgstr ""
13628
13629 #. type: TP
13630 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13631 #, no-wrap
13632 msgid "\\f[B]ProxyUrl=\\f[R], \\f[B]--proxy-url=\\fR"
13633 msgstr ""
13634
13635 #. type: TP
13636 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13637 #, no-wrap
13638 msgid "\\f[B]ProxyExclude=\\f[R], \\f[B]--proxy-exclude=\\fR"
13639 msgstr ""
13640
13641 #. type: TP
13642 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13643 #, no-wrap
13644 msgid "\\f[B]ProxyPeerCertificate=\\f[R], \\f[B]--proxy-peer-certificate=\\fR"
13645 msgstr ""
13646
13647 #. type: TP
13648 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13649 #, no-wrap
13650 msgid "\\f[B]ProxyClientCertificate=\\f[R], \\f[B]--proxy-client-certificate=\\fR"
13651 msgstr ""
13652
13653 #. type: TP
13654 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13655 #, no-wrap
13656 msgid "\\f[B]ProxyClientKey=\\f[R], \\f[B]--proxy-client-key=\\fR"
13657 msgstr ""
13658
13659 #. type: TP
13660 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13661 #, no-wrap
13662 msgid "\\f[B]NSpawnSettings=\\f[R], \\f[B]--settings=\\fR"
13663 msgstr ""
13664
13665 #. type: Plain text
13666 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13667 msgid ""
13668 "Specifies a \\f[B].nspawn\\f[R] settings file for \\f[B]systemd-nspawn\\f[R] "
13669 "to use in the \\f[B]boot\\f[R] and \\f[B]shell\\f[R] verbs, and to place "
13670 "next to the generated image file. This is useful to configure the "
13671 "\\f[B]systemd-nspawn\\f[R] environment when the image is run. If this "
13672 "setting is not used but an \\f[B]mkosi.nspawn\\f[R] file found in the local "
13673 "directory it is automatically used for this purpose.\\fR"
13674 msgstr ""
13675
13676 #. type: TP
13677 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13678 #, no-wrap
13679 msgid "\\f[B]VirtualMachineMonitor=\\f[R], \\f[B]--vmm=\\fR"
13680 msgstr ""
13681
13682 #. type: Plain text
13683 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13684 msgid ""
13685 "Configures the virtual machine monitor to use. Takes one of "
13686 "\\f[B]qemu\\f[R] or \\f[B]vmspawn\\f[R]. Defaults to \\f[B]qemu\\f[R].\\fR"
13687 msgstr ""
13688
13689 #. type: Plain text
13690 #: debian-unstable opensuse-tumbleweed
13691 msgid ""
13692 "\\f[R]When set to \\f[B]qemu\\f[R], the image is booted with "
13693 "\\f[B]qemu\\f[R]. Most output formats can be booted in \\f[B]qemu\\f[R]. "
13694 "Any arguments specified after the verb are appended to the \\f[B]qemu\\f[R] "
13695 "invocation and are interpreted as extra \\f[B]qemu\\f[R] command line "
13696 "arguments. When set to \\f[B]vmspawn\\f[R], \\f[B]systemd-vmspawn\\f[R] is "
13697 "used to boot up the image, \\f[B]vmspawn\\f[R] only supports disk and "
13698 "directory type images. Any arguments specified after the verb are appended "
13699 "to the \\f[B]systemd-vmspawn\\f[R] invocation and are interpreted as extra "
13700 "vmspawn options and extra kernel command line arguments.\\fR"
13701 msgstr ""
13702
13703 #. type: TP
13704 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13705 #, no-wrap
13706 msgid "\\f[B]Console=\\f[R], \\f[B]--console=\\fR"
13707 msgstr ""
13708
13709 #. type: Plain text
13710 #: debian-unstable opensuse-tumbleweed
13711 msgid ""
13712 "Configures how to set up the console of the VM. Takes one of "
13713 "\\f[B]interactive\\f[R], \\f[B]read-only\\f[R], \\f[B]native\\f[R], or "
13714 "\\f[B]gui\\f[R]. Defaults to \\f[B]interactive\\f[R]. "
13715 "\\f[B]interactive\\f[R] provides an interactive terminal interface to the "
13716 "VM. \\f[B]read-only\\f[R] is similar, but is strictly read-only, i.e.\\ "
13717 "does not accept any input from the user. \\f[B]native\\f[R] also provides a "
13718 "TTY-based interface, but uses \\f[B]qemu\\f[R]\\(cqs native implementation "
13719 "(which means the \\f[B]qemu\\f[R] monitor is available). \\f[B]gui\\f[R] "
13720 "shows the \\f[B]qemu\\f[R] graphical UI.\\fR"
13721 msgstr ""
13722
13723 #. type: TP
13724 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13725 #, no-wrap
13726 msgid "\\f[B]CPUs=\\f[R], \\f[B]--cpus=\\fR"
13727 msgstr ""
13728
13729 #. type: Plain text
13730 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13731 msgid ""
13732 "Configures the number of CPU cores to assign to the guest when booting a "
13733 "virtual machine. Defaults to \\f[B]2\\f[R].\\fR"
13734 msgstr ""
13735
13736 #. type: Plain text
13737 #: debian-unstable opensuse-tumbleweed
13738 msgid ""
13739 "\\f[R]When set to \\f[B]0\\f[R], the number of CPUs available to the "
13740 "\\f[B]mkosi\\f[R] process will be used.\\fR"
13741 msgstr ""
13742
13743 #. type: TP
13744 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13745 #, no-wrap
13746 msgid "\\f[B]RAM=\\f[R], \\f[B]--ram=\\fR"
13747 msgstr ""
13748
13749 #. type: Plain text
13750 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13751 msgid ""
13752 "Configures the amount of RAM assigned to the guest when booting a virtual "
13753 "machine. Defaults to \\f[B]2G\\f[R].\\fR"
13754 msgstr ""
13755
13756 #. type: TP
13757 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13758 #, no-wrap
13759 msgid "\\f[B]MaxMem=\\f[R], \\f[B]--maxmem=\\fR"
13760 msgstr ""
13761
13762 #. type: TP
13763 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13764 #, no-wrap
13765 msgid "\\f[B]KVM=\\f[R], \\f[B]--kvm=\\fR"
13766 msgstr ""
13767
13768 #. type: Plain text
13769 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13770 msgid ""
13771 "Configures whether KVM acceleration should be used when booting a virtual "
13772 "machine. Takes a boolean value or \\f[B]auto\\f[R]. Defaults to "
13773 "\\f[B]auto\\f[R].\\fR"
13774 msgstr ""
13775
13776 #. type: TP
13777 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13778 #, no-wrap
13779 msgid "\\f[B]CXL=\\f[R], \\f[B]--cxl=\\fR"
13780 msgstr ""
13781
13782 #. type: Plain text
13783 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13784 msgid ""
13785 "Configures whether CXL devices are enabled for a given machine. Only valid "
13786 "if the architecture supports cxl. Takes a boolean value. Defaults to "
13787 "\\f[B]false\\f[R].\\fR"
13788 msgstr ""
13789
13790 #. type: TP
13791 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13792 #, no-wrap
13793 msgid "\\f[B]VSock=\\f[R], \\f[B]--vsock=\\fR"
13794 msgstr ""
13795
13796 #. type: Plain text
13797 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13798 msgid ""
13799 "Configures whether to provision a vsock when booting a virtual machine. "
13800 "Takes a boolean value or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R].\\fR"
13801 msgstr ""
13802
13803 #. type: TP
13804 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13805 #, no-wrap
13806 msgid "\\f[B]VSockCID=\\f[R], \\f[B]--vsock-cid=\\fR"
13807 msgstr ""
13808
13809 #. type: Plain text
13810 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13811 msgid ""
13812 "Configures the vsock connection ID to use when booting a virtual machine. "
13813 "Takes a number in the interval \\f[B][3, 0xFFFFFFFF)\\f[R] or "
13814 "\\f[B]hash\\f[R] or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R]. When "
13815 "set to \\f[B]hash\\f[R], the connection ID will be derived from the full "
13816 "path to the image. When set to \\f[B]auto\\f[R], \\f[B]mkosi\\f[R] will try "
13817 "to find a free connection ID automatically. Otherwise, the provided number "
13818 "will be used as is.\\fR"
13819 msgstr ""
13820
13821 #. type: TP
13822 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13823 #, no-wrap
13824 msgid "\\f[B]TPM=\\f[R], \\f[B]--tpm=\\fR"
13825 msgstr ""
13826
13827 #. type: Plain text
13828 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13829 msgid ""
13830 "Configure whether to use a virtual TPM when booting a virtual machine. "
13831 "Takes a boolean value or \\f[B]auto\\f[R]. Defaults to \\f[B]auto\\f[R].\\fR"
13832 msgstr ""
13833
13834 #. type: TP
13835 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13836 #, no-wrap
13837 msgid "\\f[B]Removable=\\f[R], \\f[B]--removable=\\fR"
13838 msgstr ""
13839
13840 #. type: Plain text
13841 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13842 msgid ""
13843 "Configures whether to attach the image as a removable device when booting a "
13844 "virtual machine. Takes a boolean value. Defaults to \\f[B]no\\f[R].\\fR"
13845 msgstr ""
13846
13847 #. type: TP
13848 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13849 #, no-wrap
13850 msgid "\\f[B]Firmware=\\f[R], \\f[B]--firmware=\\fR"
13851 msgstr ""
13852
13853 #. type: Plain text
13854 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13855 msgid ""
13856 "Configures the virtual machine firmware to use. Takes one of "
13857 "\\f[B]uefi\\f[R], \\f[B]uefi-secure-boot\\f[R], \\f[B]bios\\f[R], "
13858 "\\f[B]linux\\f[R], \\f[B]linux-noinitrd\\f[R] or \\f[B]auto\\f[R]. Defaults "
13859 "to \\f[B]auto\\f[R]. When set to \\f[B]uefi\\f[R], the OVMF firmware "
13860 "without secure boot support is used. When set to \\f[B]uefi-secure-"
13861 "boot\\f[R], the OVMF firmware with secure boot support is used. When set to "
13862 "\\f[B]bios\\f[R], the default SeaBIOS firmware is used. When set to "
13863 "\\f[B]linux\\f[R], direct kernel boot is used. See the \\f[B]Linux=\\f[R] "
13864 "option for more details on which kernel image is used with direct kernel "
13865 "boot. \\f[B]linux-noinitrd\\f[R] is identical to \\f[B]linux\\f[R] except "
13866 "that no initrd is used. When set to \\f[B]auto\\f[R], \\f[B]uefi-secure-"
13867 "boot\\f[R] is used if possible and \\f[B]linux\\f[R] otherwise.\\fR"
13868 msgstr ""
13869
13870 #. type: TP
13871 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13872 #, no-wrap
13873 msgid "\\f[B]FirmwareVariables=\\f[R], \\f[B]--firmware-variables=\\fR"
13874 msgstr ""
13875
13876 #. type: Plain text
13877 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13878 msgid ""
13879 "Configures the path to the virtual machine firmware variables file to use. "
13880 "Currently, this option is only taken into account when the \\f[B]uefi\\f[R] "
13881 "or \\f[B]uefi-secure-boot\\f[R] firmware is used. If not specified, "
13882 "\\f[B]mkosi\\f[R] will search for the default variables file and use that "
13883 "instead.\\fR"
13884 msgstr ""
13885
13886 #. type: Plain text
13887 #: debian-unstable opensuse-tumbleweed
13888 msgid ""
13889 "\\f[R]When set to \\f[B]microsoft\\f[R], a firmware variables file with the "
13890 "Microsoft secure boot certificates already enrolled will be used. When set "
13891 "to \\f[B]microsoft-mok\\f[R], a firmware variables file with the Microsoft "
13892 "secure boot certificates already enrolled will be extended with a "
13893 "\\f[B]MokList\\f[R] variable containing the secure boot certificate from "
13894 "\\f[B]SecureBootCertificate=\\f[R]. This is intended to be used together "
13895 "with shim binaries signed by the distribution and locally signed EFI "
13896 "binaries. When set to \\f[B]custom\\f[R], the secure boot certificate from "
13897 "\\f[B]SecureBootCertificate=\\f[R] will be enrolled into the default "
13898 "firmware variables file. \\f[B]virt-fw-vars\\f[R] from the E<.UR https://"
13899 "gitlab.com/kraxel/virt-firmware> virt-firmware E<.UE > \\ project can be "
13900 "used to customize OVMF variable files.\\fR"
13901 msgstr ""
13902
13903 #. type: TP
13904 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13905 #, no-wrap
13906 msgid "\\f[B]Linux=\\f[R], \\f[B]--linux=\\fR"
13907 msgstr ""
13908
13909 #. type: Plain text
13910 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13911 msgid ""
13912 "Set the kernel image to use for \\f[B]qemu\\f[R] direct kernel boot. If not "
13913 "specified, \\f[B]mkosi\\f[R] will use the kernel provided via the command "
13914 "line (\\f[B]-kernel\\f[R] option) or the latest kernel that was installed "
13915 "into the image (or fail if no kernel was installed into the image).\\fR"
13916 msgstr ""
13917
13918 #. type: Plain text
13919 #: debian-unstable opensuse-tumbleweed
13920 msgid ""
13921 "\\f[R]Note that when the \\f[B]cpio\\f[R] output format is used, direct "
13922 "kernel boot is used regardless of the configured firmware. Depending on the "
13923 "configured firmware, \\f[B]qemu\\f[R] might boot the kernel itself or using "
13924 "the configured firmware. This setting may include both the regular "
13925 "specifiers (see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that "
13926 "are expanded after config parsing has finished, instead of during config "
13927 "parsing, which are described below. The following specifiers may be used:"
13928 "\\fR"
13929 msgstr ""
13930
13931 #. type: tbl table
13932 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13933 #, no-wrap
13934 msgid "\\f[B]&b\\fR"
13935 msgstr ""
13936
13937 #. type: TP
13938 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13939 #, no-wrap
13940 msgid "\\f[B]Drives=\\f[R], \\f[B]--drive=\\fR"
13941 msgstr ""
13942
13943 #. type: Plain text
13944 #: debian-unstable opensuse-tumbleweed
13945 msgid ""
13946 "Add a drive. Takes a colon-delimited string of format "
13947 "\\f[B]E<lt>idE<gt>:E<lt>sizeE<gt>[:E<lt>directoryE<gt>[:E<lt>optionsE<gt>[:E<lt>file-"
13948 "idE<gt>[:E<lt>flagsE<gt>]]]]\\f[R]. \\f[B]id\\f[R] specifies the ID "
13949 "assigned to the drive. This can be used as the \\f[B]drive=\\f[R] property "
13950 "in various \\f[B]qemu\\f[R] devices. \\f[B]size\\f[R] specifies the size of "
13951 "the drive. This takes a size in bytes. Additionally, the suffixes "
13952 "\\f[B]K\\f[R], \\f[B]M\\f[R] and \\f[B]G\\f[R] can be used to specify a size "
13953 "in kilobytes, megabytes and gigabytes respectively. \\f[B]directory\\f[R] "
13954 "optionally specifies the directory in which to create the file backing the "
13955 "drive. If unset, the file will be created under \\f[B]/var/tmp\\f[R]. "
13956 "\\f[B]options\\f[R] optionally specifies extra comma-delimited properties "
13957 "which are passed verbatim to \\f[B]qemu\\f[R]\\(cqs \\f[B]-blockdev\\f[R] "
13958 "option. \\f[B]file-id\\f[R] specifies the ID of the file backing the "
13959 "drive. If unset, this defaults to the drive ID. Drives with the same file "
13960 "ID will share the backing file. The directory and size of the file will be "
13961 "determined from the first drive with a given file ID. \\f[B]flags\\f[R] "
13962 "takes a comma-separated list of drive flags which currently only supports "
13963 "\\f[B]persist\\f[R]. \\f[B]persist\\f[R] determines whether the drive will "
13964 "be persisted across \\f[B]qemu\\f[R] invocations. The files backing the "
13965 "drives will be created with the schema \\f[B]/E<lt>directoryE<gt>/mkosi-"
13966 "drive-E<lt>machine-or-image-nameE<gt>-E<lt>file-idE<gt>\\f[R]. You can skip "
13967 "values by setting them to the empty string, specifying e.g.\\ "
13968 "\\f[B]myfs:1G::::persist\\f[R] will create a persistent drive under \\f[B]/"
13969 "var/tmp/mkosi-drive-main-myfs\\f[R].\\fR"
13970 msgstr ""
13971
13972 #. type: TP
13973 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13974 #, no-wrap
13975 msgid "\\f[B]QemuArgs=\\fR"
13976 msgstr ""
13977
13978 #. type: TP
13979 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13980 #, no-wrap
13981 msgid "\\f[B]Ephemeral=\\f[R], \\f[B]--ephemeral=\\fR"
13982 msgstr ""
13983
13984 #. type: Plain text
13985 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13986 msgid ""
13987 "When used with the \\f[B]shell\\f[R], \\f[B]boot\\f[R], or \\f[B]vm\\f[R] "
13988 "verbs, this option runs the specified verb on a temporary snapshot of the "
13989 "output image that is removed immediately when the container terminates. "
13990 "Taking the temporary snapshot is more efficient on file systems that support "
13991 "reflinks natively (\\f[B]btrfs\\f[R] or \\f[B]xfs\\f[R]) than on more "
13992 "traditional file systems that do not (ext4).\\fR"
13993 msgstr ""
13994
13995 #. type: TP
13996 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
13997 #, no-wrap
13998 msgid "\\f[B]Credentials=\\f[R], \\f[B]--credential=\\fR"
13999 msgstr ""
14000
14001 #. type: Plain text
14002 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14003 msgid ""
14004 "Set credentials to be passed to \\f[B]systemd-nspawn\\f[R] or the virtual "
14005 "machine respectively when \\f[B]mkosi shell/boot\\f[R] or \\f[B]mkosi "
14006 "vm\\f[R] are used. This option takes a space separated list of values which "
14007 "can be either key=value pairs or paths. If a path is provided, if it is a "
14008 "file, the credential name will be the name of the file. If the file is "
14009 "executable, the credential value will be the output of executing the file. "
14010 "Otherwise, the credential value will be the contents of the file. If the "
14011 "path is a directory, the same logic applies to each file in the directory."
14012 "\\fR"
14013 msgstr ""
14014
14015 #. type: Plain text
14016 #: debian-unstable opensuse-tumbleweed
14017 msgid ""
14018 "\\f[R]Note that values will only be treated as paths if they do not contain "
14019 "the delimiter (\\f[B]=\\f[R]).\\fR"
14020 msgstr ""
14021
14022 #. type: TP
14023 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14024 #, no-wrap
14025 msgid "\\f[B]KernelCommandLineExtra=\\f[R], \\f[B]--kernel-command-line-extra=\\fR"
14026 msgstr ""
14027
14028 #. type: TP
14029 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14030 #, no-wrap
14031 msgid "\\f[B]RuntimeTrees=\\f[R], \\f[B]--runtime-tree=\\fR"
14032 msgstr ""
14033
14034 #. type: Plain text
14035 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14036 msgid ""
14037 "Takes a colon-separated pair of paths. The first path refers to a directory "
14038 "to mount into any machine (container or VM) started by mkosi. The second "
14039 "path refers to the target directory inside the machine. If the second path "
14040 "is not provided, the directory is mounted at \\f[B]/root/src\\f[R] in the "
14041 "machine. If the second path is relative, it is interpreted relative to "
14042 "\\f[B]/root/src\\f[R] in the machine.\\fR"
14043 msgstr ""
14044
14045 #. type: Plain text
14046 #: debian-unstable opensuse-tumbleweed
14047 msgid ""
14048 "\\f[R]For each mounted directory, the uid and gid of the user running mkosi "
14049 "are mapped to the root user in the machine. This means that all the files "
14050 "and directories will appear as if they\\(cqre owned by root in the machine, "
14051 "and all new files and directories created by root in the machine in these "
14052 "directories will be owned by the user running mkosi on the host. Note that "
14053 "when using \\f[B]mkosi vm\\f[R] with this feature systemd v254 or newer has "
14054 "to be installed in the image.\\fR"
14055 msgstr ""
14056
14057 #. type: TP
14058 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14059 #, no-wrap
14060 msgid "\\f[B]RuntimeSize=\\f[R], \\f[B]--runtime-size=\\fR"
14061 msgstr ""
14062
14063 #. type: Plain text
14064 #: debian-unstable opensuse-tumbleweed
14065 msgid ""
14066 "If specified, disk images are grown to the specified size when they\\(cqre "
14067 "booted with \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R]. Takes a size in "
14068 "bytes. Additionally, the suffixes \\f[B]K\\f[R], \\f[B]M\\f[R] and "
14069 "\\f[B]G\\f[R] can be used to specify a size in kilobytes, megabytes and "
14070 "gigabytes respectively.\\fR"
14071 msgstr ""
14072
14073 #. type: TP
14074 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14075 #, no-wrap
14076 msgid "\\f[B]RuntimeNetwork=\\f[R], \\f[B]--runtime-network=\\fR"
14077 msgstr ""
14078
14079 #. type: Plain text
14080 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14081 msgid ""
14082 "Takes one of \\f[B]user\\f[R], \\f[B]interface\\f[R] or \\f[B]none\\f[R]. "
14083 "Defaults to \\f[B]user\\f[R]. Specifies the networking to set up when "
14084 "booting the image. \\f[B]user\\f[R] sets up usermode networking. "
14085 "\\f[B]interface\\f[R] sets up a virtual network connection between the host "
14086 "and the image. This translates to a veth interface for \\f[B]mkosi "
14087 "shell\\f[R] and \\f[B]mkosi boot\\f[R] and a tap interface for \\f[B]mkosi "
14088 "vm\\f[R] and \\f[B]mkosi vmspawn\\f[R].\\fR"
14089 msgstr ""
14090
14091 #. type: Plain text
14092 #: debian-unstable opensuse-tumbleweed
14093 msgid ""
14094 "\\f[R]Note that when using \\f[B]interface\\f[R], \\f[B]mkosi\\f[R] does not "
14095 "automatically configure the host interface. It is expected that a recent "
14096 "version of \\f[B]systemd-networkd\\f[R] is running on the host which will "
14097 "automatically configure the host interface of the link.\\fR"
14098 msgstr ""
14099
14100 #. type: TP
14101 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14102 #, no-wrap
14103 msgid "\\f[B]RuntimeBuildSources=\\f[R], \\f[B]--runtime-build-sources=\\fR"
14104 msgstr ""
14105
14106 #. type: Plain text
14107 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14108 msgid ""
14109 "Mount the build sources configured with \\f[B]BuildSources=\\f[R] and the "
14110 "build directory (if one is configured) to the same locations in \\f[B]/"
14111 "work\\f[R] that they were mounted to when running the build script when "
14112 "using \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R].\\fR"
14113 msgstr ""
14114
14115 #. type: TP
14116 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14117 #, no-wrap
14118 msgid "\\f[B]BindUser=\\f[R], \\f[B]--bind-user=\\fR"
14119 msgstr ""
14120
14121 #. type: TP
14122 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14123 #, no-wrap
14124 msgid "\\f[B]UnitProperties=\\f[R], \\f[B]--unit-property=\\fR"
14125 msgstr ""
14126
14127 #. type: Plain text
14128 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14129 msgid ""
14130 "Configure systemd unit properties to add to the systemd scopes allocated "
14131 "when using \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R]. These are passed "
14132 "directly to the \\f[B]--property=\\f[R] options of \\f[B]systemd-"
14133 "nspawn\\f[R] and \\f[B]systemd-run\\f[R] respectively.\\fR"
14134 msgstr ""
14135
14136 #. type: TP
14137 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14138 #, no-wrap
14139 msgid "\\f[B]SshKey=\\f[R], \\f[B]--ssh-key=\\fR"
14140 msgstr ""
14141
14142 #. type: Plain text
14143 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14144 msgid ""
14145 "Path to the X.509 private key in PEM format to use to connect to a virtual "
14146 "machine started with \\f[B]mkosi vm\\f[R] and built with the "
14147 "\\f[B]Ssh=\\f[R] option enabled (or with \\f[B]systemd-ssh-generator\\f[R] "
14148 "installed) via the \\f[B]mkosi ssh\\f[R] command. If not configured and "
14149 "\\f[B]mkosi.key\\f[R] exists in the working directory, it will automatically "
14150 "be used for this purpose. Run \\f[B]mkosi genkey\\f[R] to automatically "
14151 "generate a key in \\f[B]mkosi.key\\f[R].\\fR"
14152 msgstr ""
14153
14154 #. type: TP
14155 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14156 #, no-wrap
14157 msgid "\\f[B]SshCertificate=\\f[R], \\f[B]--ssh-certificate=\\fR"
14158 msgstr ""
14159
14160 #. type: Plain text
14161 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14162 msgid ""
14163 "Path to the X.509 certificate in PEM format to provision as the SSH public "
14164 "key in virtual machines started with \\f[B]mkosi vm\\f[R]. If not "
14165 "configured and \\f[B]mkosi.crt\\f[R] exists in the working directory, it "
14166 "will automatically be used for this purpose. Run \\f[B]mkosi genkey\\f[R] "
14167 "to automatically generate a certificate in \\f[B]mkosi.crt\\f[R].\\fR"
14168 msgstr ""
14169
14170 #. type: TP
14171 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14172 #, no-wrap
14173 msgid "\\f[B]Machine=\\f[R], \\f[B]--machine=\\fR"
14174 msgstr ""
14175
14176 #. type: Plain text
14177 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14178 msgid ""
14179 "Specify the machine name to use when booting the image. Can also be used to "
14180 "refer to a specific image when SSH-ing into an image (e.g. \\f[B]mkosi --"
14181 "image=myimage ssh\\f[R]).\\fR"
14182 msgstr ""
14183
14184 #. type: Plain text
14185 #: debian-unstable opensuse-tumbleweed
14186 msgid ""
14187 "\\f[R]Note that \\f[B]Ephemeral=\\f[R] has to be enabled to start multiple "
14188 "instances of the same image.\\fR"
14189 msgstr ""
14190
14191 #. type: TP
14192 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14193 #, no-wrap
14194 msgid "\\f[B]Register=\\f[R], \\f[B]--register=\\fR"
14195 msgstr ""
14196
14197 #. type: Plain text
14198 #: debian-unstable opensuse-tumbleweed
14199 msgid ""
14200 "Takes a boolean value or \\f[B]auto\\f[R]. Specifies whether to register "
14201 "the vm/container with systemd-machined. If enabled, mkosi will fail if it "
14202 "can\\(cqt register the vm/container with systemd-machined. If disabled, "
14203 "mkosi will not register the vm/container with systemd-machined. If "
14204 "\\f[B]auto\\f[R], mkosi will register the vm/container with systemd-machined "
14205 "if it is available. Defaults to \\f[B]auto\\f[R].\\fR"
14206 msgstr ""
14207
14208 #. type: TP
14209 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14210 #, no-wrap
14211 msgid "\\f[B]ForwardJournal=\\f[R], \\f[B]--forward-journal=\\fR"
14212 msgstr ""
14213
14214 #. type: Plain text
14215 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14216 msgid ""
14217 "Specify the path to which journal logs from containers and virtual machines "
14218 "should be forwarded. If the path has the \\f[B].journal\\f[R] extension, it "
14219 "is interpreted as a file to which the journal should be written. Otherwise, "
14220 "the path is interpreted as a directory to which the journal should be "
14221 "written.\\fR"
14222 msgstr ""
14223
14224 #. type: Plain text
14225 #: debian-unstable opensuse-tumbleweed
14226 msgid ""
14227 "\\f[R]Note that systemd v256 or newer is required in the virtual machine for "
14228 "log forwarding to work. Note that if a path with the \\f[B].journal\\f[R] "
14229 "extension is given, the journal size is limited to \\f[B]4G\\f[R]. "
14230 "Configure an output directory instead of file if your workload produces more "
14231 "than \\f[B]4G\\f[R] worth of journal data.\\fR"
14232 msgstr ""
14233
14234 #. type: TP
14235 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14236 #, no-wrap
14237 msgid "\\f[B]StorageTargetMode=\\f[R], \\f[B]--storage-target-mode=\\fR"
14238 msgstr ""
14239
14240 #. type: Plain text
14241 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14242 msgid ""
14243 "Specifies whether the \\f[B]serve\\f[R] verb should start \\f[B]systemd-"
14244 "storagetm\\f[R] to serve disk images over NVME-TCP. Takes a boolean value "
14245 "or \\f[B]auto\\f[R]. If enabled, systemd-storagetm is always started and "
14246 "mkosi will fail if it cannot start systemd-storagetm. If disabled, systemd-"
14247 "storagetm is never started. If \\f[B]auto\\f[R], systemd-storagetm will be "
14248 "started if a disk image is being built, the systemd-storagetm binary is "
14249 "found and \\f[B]mkosi serve\\f[R] is being invoked as the root user.\\fR"
14250 msgstr ""
14251
14252 #. type: TP
14253 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14254 #, no-wrap
14255 msgid "\\f[B]SysupdateDirectory=\\f[R], \\f[B]--sysupdate-directory=\\fR"
14256 msgstr ""
14257
14258 #. type: Plain text
14259 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14260 msgid ""
14261 "Path to a directory containing systemd-sysupdate transfer definition files "
14262 "that are used by \\f[B]mkosi sysupdate\\f[R]. If \\f[B]mkosi.sysupdate/"
14263 "\\f[R] exists in the local directory, it will be used for this purpose as "
14264 "well.\\fR"
14265 msgstr ""
14266
14267 #. type: Plain text
14268 #: debian-unstable opensuse-tumbleweed
14269 msgid ""
14270 "\\f[R]Note that \\f[B]mkosi sysupdate\\f[R] invokes \\f[B]systemd-"
14271 "sysupdate\\f[R] with \\f[B]--transfer-source=\\f[R] set to the "
14272 "\\f[B]mkosi\\f[R] output directory. To make use of this in a transfer "
14273 "definition file, set \\f[B]PathRelativeTo=explicit\\f[R] to have the "
14274 "\\f[B]Path=\\f[R] setting for the transfer source be interpreted relative to "
14275 "the \\f[B]mkosi\\f[R] output directory. Generally, configuring "
14276 "\\f[B]PathRelativeTo=explicit\\f[R] and \\f[B]Path=/\\f[R] for the transfer "
14277 "source is sufficient for the match pattern to be interpreted relative to the "
14278 "\\f[B]mkosi\\f[R] output directory.\\fR"
14279 msgstr ""
14280
14281 #. type: Plain text
14282 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14283 #, no-wrap
14284 msgid "\\f[B]Profiles=\\fR"
14285 msgstr ""
14286
14287 #. type: Plain text
14288 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14289 msgid ""
14290 "Matches against the configured architecture. If this condition is used and "
14291 "no architecture has been explicitly configured yet, the host architecture is "
14292 "used. \\f[B]Architecture=uefi\\f[R] can be used to match against any "
14293 "architecture that supports UEFI.\\fR"
14294 msgstr ""
14295
14296 #. type: Plain text
14297 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14298 #, no-wrap
14299 msgid "\\f[B]Repositories=\\fR"
14300 msgstr ""
14301
14302 #. type: Plain text
14303 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14304 msgid ""
14305 "Matches against repositories enabled with the \\f[B]Repositories=\\f[R] "
14306 "setting. Takes a single repository name.\\fR"
14307 msgstr ""
14308
14309 #. type: tbl table
14310 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14311 #, no-wrap
14312 msgid "\\f[B]PathExists=\\fR"
14313 msgstr ""
14314
14315 #. type: Plain text
14316 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14317 msgid ""
14318 "Matches against the configured image version. Image versions can be "
14319 "prepended by the operators \\f[B]==\\f[R], \\f[B]!=\\f[R], "
14320 "\\f[B]E<gt>=\\f[R], \\f[B]E<lt>=\\f[R], \\f[B]E<lt>\\f[R], \\f[B]E<gt>\\f[R] "
14321 "for rich version comparisons according to the UAPI group version format "
14322 "specification. If no operator is prepended, the equality operator is "
14323 "assumed by default. If this condition is used and no image version has been "
14324 "explicitly configured yet, this condition fails.\\fR"
14325 msgstr ""
14326
14327 #. type: tbl table
14328 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14329 #, no-wrap
14330 msgid "\\f[B]Bootable=\\fR"
14331 msgstr ""
14332
14333 #. type: Plain text
14334 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14335 msgid ""
14336 "Matches against the configured value for the \\f[B]Bootable=\\f[R] feature. "
14337 "Takes a boolean value or \\f[B]auto\\f[R].\\fR"
14338 msgstr ""
14339
14340 #. type: tbl table
14341 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14342 #, no-wrap
14343 msgid "\\f[B]Format=\\fR"
14344 msgstr ""
14345
14346 #. type: Plain text
14347 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14348 msgid ""
14349 "Matches against the configured value for the \\f[B]Format=\\f[R] option. "
14350 "Takes an output format (see the \\f[B]Format=\\f[R] option).\\fR"
14351 msgstr ""
14352
14353 #. type: tbl table
14354 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14355 #, no-wrap
14356 msgid "\\f[B]SystemdVersion=\\fR"
14357 msgstr ""
14358
14359 #. type: Plain text
14360 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14361 msgid ""
14362 "Matches against the systemd version on the host (as reported by "
14363 "\\f[B]systemctl --version\\f[R]). Values can be prepended by the operators "
14364 "\\f[B]==\\f[R], \\f[B]!=\\f[R], \\f[B]E<gt>=\\f[R], \\f[B]E<lt>=\\f[R], "
14365 "\\f[B]E<lt>\\f[R], \\f[B]E<gt>\\f[R] for rich version comparisons according "
14366 "to the UAPI group version format specification. If no operator is "
14367 "prepended, the equality operator is assumed by default.\\fR"
14368 msgstr ""
14369
14370 #. type: Plain text
14371 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14372 #, no-wrap
14373 msgid "\\f[B]BuildSources=\\fR"
14374 msgstr ""
14375
14376 #. type: Plain text
14377 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14378 msgid ""
14379 "Takes a build source target path (see \\f[B]BuildSources=\\f[R]). This "
14380 "match is satisfied if any of the configured build sources uses this target "
14381 "path. For example, if we have a \\f[B]mkosi.conf\\f[R] file containing:\\fR"
14382 msgstr ""
14383
14384 #. type: Plain text
14385 #: debian-unstable opensuse-tumbleweed
14386 msgid "\\f[R]and a drop-in containing:\\fR"
14387 msgstr ""
14388
14389 #. type: Plain text
14390 #: debian-unstable opensuse-tumbleweed
14391 msgid ""
14392 "\\f[R]The drop-in will be included. Any absolute paths passed to this "
14393 "setting are interpreted relative to the current working directory.\\fR"
14394 msgstr ""
14395
14396 #. type: tbl table
14397 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14398 #, no-wrap
14399 msgid "\\f[B]HostArchitecture=\\fR"
14400 msgstr ""
14401
14402 #. type: Plain text
14403 #: debian-unstable opensuse-tumbleweed
14404 msgid ""
14405 "Matches against the host\\(cqs native architecture. See the "
14406 "\\f[B]Architecture=\\f[R] setting for a list of possible values.\\fR"
14407 msgstr ""
14408
14409 #. type: Plain text
14410 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14411 #, no-wrap
14412 msgid "\\f[B]ToolsTreeDistribution=\\fR"
14413 msgstr ""
14414
14415 #. type: Plain text
14416 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14417 #, no-wrap
14418 msgid "\\f[B]ToolsTreeRelease=\\fR"
14419 msgstr ""
14420
14421 #. type: tbl table
14422 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14423 #, no-wrap
14424 msgid "\\f[B]Environment=\\fR"
14425 msgstr ""
14426
14427 #. type: Plain text
14428 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14429 msgid ""
14430 "Matches against a specific key/value pair configured with "
14431 "\\f[B]Environment=\\f[R]. If no value is provided, check if the given key "
14432 "is in the environment regardless of which value it has.\\fR"
14433 msgstr ""
14434
14435 #. type: tbl table
14436 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14437 #, no-wrap
14438 msgid "\\f[B]Image=\\fR"
14439 msgstr ""
14440
14441 #. type: Plain text
14442 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14443 msgid ""
14444 "Match against the current (sub)image name. The name of a subimage is its "
14445 "name in \\f[B]mkosi.images/\\f[R] (without any \\f[B].conf\\f[R] suffix). "
14446 "The name of the top level image is \\f[B]main\\f[R]. The main use case is "
14447 "to allow having a shared config that can be included by both the top level "
14448 "image and subimages by gating the universal settings behind a "
14449 "\\f[B]Image=main\\f[R] match.\\fR"
14450 msgstr ""
14451
14452 #. type: tbl table
14453 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14454 #, no-wrap
14455 msgid ""
14456 "\\f[R]match the fallback tools tree distribution (see\n"
14457 "\\f[B]ToolsTreeDistribution=\\f[R] in \\f[B][Build]\\f[R])\\fR"
14458 msgstr ""
14459
14460 #. type: TP
14461 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14462 #, no-wrap
14463 msgid "\\f[B]Include=\\f[R], \\f[B]--include=\\f[R], \\f[B]-I\\fR"
14464 msgstr ""
14465
14466 #. type: Plain text
14467 #: debian-unstable opensuse-tumbleweed
14468 msgid ""
14469 "Note that each path containing extra configuration is only parsed once, even "
14470 "if included more than once with \\f[B]Include=\\f[R]. The builtin configs "
14471 "for the \\f[B]mkosi\\f[R] default initrd, default tools tree, default "
14472 "virtual machine image and default UKI addon can be included by including the "
14473 "literal value \\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-tools\\f[R], \\f[B]mkosi-"
14474 "vm\\f[R] or \\f[B]mkosi-addon\\f[R] respectively. Note: Include names "
14475 "starting with either of the literals \\f[B]mkosi-\\f[R] or \\f[B]contrib-"
14476 "\\f[R] are reserved for use by \\f[B]mkosi\\f[R] itself.\\fR"
14477 msgstr ""
14478
14479 #. type: TP
14480 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14481 #, no-wrap
14482 msgid "\\f[B]Profiles=\\f[R], \\f[B]--profile=\\fR"
14483 msgstr ""
14484
14485 #. type: Plain text
14486 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14487 msgid ""
14488 "Select the given profiles. A profile is a configuration file or directory "
14489 "in the \\f[B]mkosi.profiles/\\f[R] directory. The configuration files and "
14490 "directories of each profile are included after parsing the "
14491 "\\f[B]mkosi.conf.d/*.conf\\f[R] drop in configuration.\\fR"
14492 msgstr ""
14493
14494 #. type: TP
14495 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14496 #, no-wrap
14497 msgid "\\f[B]Dependencies=\\f[R], \\f[B]--dependency=\\fR"
14498 msgstr ""
14499
14500 #. type: Plain text
14501 #: debian-unstable opensuse-tumbleweed
14502 msgid ""
14503 "When this setting is specified for the \\(lqmain\\(rq image, it specifies "
14504 "which subimages should be built. See the \\f[B]BUILDING MULTIPLE "
14505 "IMAGES\\f[R] section for more information.\\fR"
14506 msgstr ""
14507
14508 #. type: TP
14509 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14510 #, no-wrap
14511 msgid "\\f[B]MinimumVersion=\\f[R], \\f[B]--minimum-version=\\fR"
14512 msgstr ""
14513
14514 #. type: Plain text
14515 #: debian-unstable opensuse-tumbleweed
14516 msgid ""
14517 "\\f[R]The minimum version can also be specified as a git commit hash when "
14518 "prefixed with \\f[B]commit:\\f[R], in which case mkosi must be executed from "
14519 "a git checkout and the specified git commit hash must be an ancestor of the "
14520 "currently checked out git commit in the repository that mkosi is being "
14521 "executed from.\\fR"
14522 msgstr ""
14523
14524 #. type: TP
14525 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14526 #, no-wrap
14527 msgid "\\f[B]ConfigureScripts=\\f[R], \\f[B]--configure-script=\\fR"
14528 msgstr ""
14529
14530 #. type: TP
14531 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14532 #, no-wrap
14533 msgid "\\f[B]PassEnvironment=\\f[R], \\f[B]--pass-environment=\\fR"
14534 msgstr ""
14535
14536 #. type: Plain text
14537 #: debian-unstable opensuse-tumbleweed
14538 msgid ""
14539 "Takes a list of environment variable names separated by spaces. When "
14540 "building multiple images, pass the listed environment variables to each "
14541 "individual subimage as if they were \\(lquniversal\\(rq settings. See the "
14542 "\\f[B]BUILDING MULTIPLE IMAGES\\f[R] section for more information.\\fR"
14543 msgstr ""
14544
14545 #. type: Plain text
14546 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14547 msgid ""
14548 "The \\f[B]UKIProfile\\f[R] section can be used in UKI profile config files "
14549 "which are passed to the \\f[B]UnifiedKernelImageProfiles=\\f[R] setting. "
14550 "The following settings can be specified in the \\f[B]UKIProfile\\f[R] "
14551 "section:\\fR"
14552 msgstr ""
14553
14554 #. type: TP
14555 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14556 #, no-wrap
14557 msgid "\\f[B]Profile=\\fR"
14558 msgstr ""
14559
14560 #. type: Plain text
14561 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14562 msgid ""
14563 "The contents of the \\f[B].profile\\f[R] section of the UKI profile. Takes "
14564 "a list of key/value pairs separated by \\f[B]=\\f[R]. The \\f[B]ID=\\f[R] "
14565 "key must be specified. See the UKI E<.UR https://uapi-group.org/"
14566 "specifications/specs/unified_kernel_image/#multi-profile-ukis> specification "
14567 "E<.UE > \\ for a full list of possible keys.\\fR"
14568 msgstr ""
14569
14570 #. type: TP
14571 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14572 #, no-wrap
14573 msgid "\\f[B]Cmdline=\\fR"
14574 msgstr ""
14575
14576 #. type: Plain text
14577 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14578 msgid ""
14579 "Extra kernel command line options for the UKI profile. Takes a space "
14580 "delimited list of extra kernel command line arguments. Note that the final "
14581 "\\f[B].cmdline\\f[R] section will the combination of the base "
14582 "\\f[B].cmdline\\f[R] section and the extra kernel command line arguments "
14583 "specified with this setting.\\fR"
14584 msgstr ""
14585
14586 #. type: TP
14587 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14588 #, no-wrap
14589 msgid "\\f[B]SignExpectedPcr=\\fR"
14590 msgstr ""
14591
14592 #. type: Plain text
14593 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14594 msgid ""
14595 "The current value of various settings can be accessed when parsing "
14596 "configuration files by using specifiers. To write a literal \\f[B]%\\f[R] "
14597 "character in a configuration file without treating it as a specifier, use "
14598 "\\f[B]%%\\f[R]. The following specifiers are understood:\\fR"
14599 msgstr ""
14600
14601 #. type: tbl table
14602 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14603 #, no-wrap
14604 msgid "\\f[B]%d\\fR"
14605 msgstr ""
14606
14607 #. type: tbl table
14608 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14609 #, no-wrap
14610 msgid "\\f[B]%r\\fR"
14611 msgstr ""
14612
14613 #. type: tbl table
14614 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14615 #, no-wrap
14616 msgid "\\f[B]%a\\fR"
14617 msgstr ""
14618
14619 #. type: tbl table
14620 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14621 #, no-wrap
14622 msgid "\\f[B]%t\\fR"
14623 msgstr ""
14624
14625 #. type: tbl table
14626 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14627 #, no-wrap
14628 msgid "\\f[B]Output=\\fR"
14629 msgstr ""
14630
14631 #. type: tbl table
14632 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14633 #, no-wrap
14634 msgid "\\f[B]%o\\fR"
14635 msgstr ""
14636
14637 #. type: Plain text
14638 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14639 #, no-wrap
14640 msgid "\\f[B]OutputDirectory=\\fR"
14641 msgstr ""
14642
14643 #. type: tbl table
14644 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14645 #, no-wrap
14646 msgid "\\f[B]%O\\fR"
14647 msgstr ""
14648
14649 #. type: tbl table
14650 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14651 #, no-wrap
14652 msgid "\\f[B]%i\\fR"
14653 msgstr ""
14654
14655 #. type: tbl table
14656 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14657 #, no-wrap
14658 msgid "\\f[B]%v\\fR"
14659 msgstr ""
14660
14661 #. type: tbl table
14662 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14663 #, no-wrap
14664 msgid "\\f[B]%C\\fR"
14665 msgstr ""
14666
14667 #. type: tbl table
14668 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14669 #, no-wrap
14670 msgid "\\f[B]%P\\fR"
14671 msgstr ""
14672
14673 #. type: tbl table
14674 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14675 #, no-wrap
14676 msgid "\\f[B]%D\\fR"
14677 msgstr ""
14678
14679 #. type: tbl table
14680 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14681 #, no-wrap
14682 msgid "\\f[B]%I\\fR"
14683 msgstr ""
14684
14685 #. type: tbl table
14686 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14687 #, no-wrap
14688 msgid "\\f[R]Name of the current subimage in \\f[B]mkosi.images\\fR"
14689 msgstr ""
14690
14691 #. type: tbl table
14692 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14693 #, no-wrap
14694 msgid "\\f[B]%F\\fR"
14695 msgstr ""
14696
14697 #. type: Plain text
14698 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14699 msgid ""
14700 "Note that the current working directory changes as \\f[B]mkosi\\f[R] parses "
14701 "its configuration. Specifically, each time \\f[B]mkosi\\f[R] parses a "
14702 "directory containing a \\f[B]mkosi.conf\\f[R] file, \\f[B]mkosi\\f[R] "
14703 "changes its working directory to that directory.\\fR"
14704 msgstr ""
14705
14706 #. type: Plain text
14707 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14708 msgid ""
14709 "Note that the directory that \\f[B]mkosi\\f[R] was invoked in is influenced "
14710 "by the \\f[B]--directory=\\f[R] command line argument.\\fR"
14711 msgstr ""
14712
14713 #. type: tbl table
14714 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14715 #, no-wrap
14716 msgid "\\f[B]$D/mkosi.conf\\fR"
14717 msgstr ""
14718
14719 #. type: tbl table
14720 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14721 #, no-wrap
14722 msgid "\\f[B]$D/mkosi.conf.d/abc/abc.conf\\fR"
14723 msgstr ""
14724
14725 #. type: tbl table
14726 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14727 #, no-wrap
14728 msgid "\\f[B]$D/mkosi.conf.d/abc/mkosi.conf\\fR"
14729 msgstr ""
14730
14731 #. type: tbl table
14732 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14733 #, no-wrap
14734 msgid "\\f[B]$D\\fR"
14735 msgstr ""
14736
14737 #. type: tbl table
14738 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14739 #, no-wrap
14740 msgid "\\f[B]$D/mkosi.conf.d\\fR"
14741 msgstr ""
14742
14743 #. type: tbl table
14744 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14745 #, no-wrap
14746 msgid "\\f[B]$D/mkosi.conf.d/abc\\fR"
14747 msgstr ""
14748
14749 #. type: Plain text
14750 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14751 msgid ""
14752 "In theory, any distribution may be used on the host for building images "
14753 "containing any other distribution, as long as the necessary tools are "
14754 "available. Specifically, any distribution that packages \\f[B]apt\\f[R] may "
14755 "be used to build \\f[I]Debian\\f[R], \\f[I]Kali\\f[R] or \\f[I]Ubuntu\\f[R] "
14756 "images. Any distribution that packages \\f[B]dnf\\f[R] may be used to build "
14757 "images for any of the RPM-based distributions. Any distro that packages "
14758 "\\f[B]pacman\\f[R] may be used to build \\f[I]Arch Linux\\f[R] images. Any "
14759 "distribution that packages \\f[B]zypper\\f[R] may be used to build "
14760 "\\f[I]openSUSE\\f[R] images. Other distributions and build automation tools "
14761 "for embedded Linux systems such as Buildroot, OpenEmbedded and Yocto Project "
14762 "may be used by selecting the \\f[B]custom\\f[R] distribution, and populating "
14763 "the rootfs via a combination of base trees, skeleton trees, and prepare "
14764 "scripts.\\fR"
14765 msgstr ""
14766
14767 #. type: Plain text
14768 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14769 msgid ""
14770 "Note that when not using a custom mirror, \\f[B]RHEL\\f[R] images can only "
14771 "be built from a host system with a \\f[B]RHEL\\f[R] subscription "
14772 "(established using e.g.\\ \\f[B]subscription-manager\\f[R]).\\fR"
14773 msgstr ""
14774
14775 #. type: Plain text
14776 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14777 msgid ""
14778 "Execution flow for \\f[B]mkosi build\\f[R]. Default values/calls are shown "
14779 "in parentheses. When building with \\f[B]--incremental=yes\\f[R] "
14780 "\\f[B]mkosi\\f[R] creates a cache of the distribution installation if not "
14781 "already existing and replaces the distribution installation in consecutive "
14782 "runs with data from the cached one.\\fR"
14783 msgstr ""
14784
14785 #. type: Plain text
14786 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14787 msgid "Run configure scripts (\\f[B]mkosi.configure\\f[R])\\fR"
14788 msgstr ""
14789
14790 #. type: Plain text
14791 #: debian-unstable opensuse-tumbleweed
14792 msgid ""
14793 "If we\\(cqre not running as root, unshare the user namespace and map the "
14794 "subuid range configured in \\f[B]/etc/subuid\\f[R] and \\f[B]/etc/"
14795 "subgid\\f[R] into it.\\fR"
14796 msgstr ""
14797
14798 #. type: Plain text
14799 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14800 msgid "\\f[B]/usr\\fR"
14801 msgstr ""
14802
14803 #. type: Plain text
14804 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14805 msgid "\\f[B]/etc\\fR"
14806 msgstr ""
14807
14808 #. type: Plain text
14809 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14810 msgid "\\f[B]/opt\\fR"
14811 msgstr ""
14812
14813 #. type: Plain text
14814 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14815 msgid "\\f[B]/srv\\fR"
14816 msgstr ""
14817
14818 #. type: Plain text
14819 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14820 msgid "\\f[B]/boot\\fR"
14821 msgstr ""
14822
14823 #. type: Plain text
14824 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14825 msgid "\\f[B]/efi\\fR"
14826 msgstr ""
14827
14828 #. type: Plain text
14829 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14830 msgid "\\f[B]/media\\fR"
14831 msgstr ""
14832
14833 #. type: Plain text
14834 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14835 msgid "\\f[B]/mnt\\fR"
14836 msgstr ""
14837
14838 #. type: Plain text
14839 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14840 msgid "Run sync scripts (\\f[B]mkosi.sync\\f[R])\\fR"
14841 msgstr ""
14842
14843 #. type: Plain text
14844 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14845 msgid "Copy base trees (\\f[B]--base-tree=\\f[R]) into the image\\fR"
14846 msgstr ""
14847
14848 #. type: Plain text
14849 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14850 msgid "Copy skeleton trees (\\f[B]mkosi.skeleton\\f[R]) into image\\fR"
14851 msgstr ""
14852
14853 #. type: Plain text
14854 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14855 msgid ""
14856 "Run prepare scripts on image with the \\f[B]final\\f[R] argument "
14857 "(\\f[B]mkosi.prepare\\f[R])\\fR"
14858 msgstr ""
14859
14860 #. type: Plain text
14861 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14862 msgid ""
14863 "Run prepare scripts on overlay with the \\f[B]build\\f[R] argument if any "
14864 "build scripts are configured (\\f[B]mkosi.prepare\\f[R])\\fR"
14865 msgstr ""
14866
14867 #. type: Plain text
14868 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14869 msgid "Cache the image if configured (\\f[B]--incremental=yes\\f[R])\\fR"
14870 msgstr ""
14871
14872 #. type: Plain text
14873 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14874 msgid ""
14875 "Run build scripts on image + overlay if any build scripts are configured "
14876 "(\\f[B]mkosi.build\\f[R])\\fR"
14877 msgstr ""
14878
14879 #. type: Plain text
14880 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14881 msgid ""
14882 "Finalize the build if the output format \\f[B]none\\f[R] is configured\\fR"
14883 msgstr ""
14884
14885 #. type: Plain text
14886 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14887 msgid "Copy the extra trees into the image (\\f[B]mkosi.extra\\f[R])\\fR"
14888 msgstr ""
14889
14890 #. type: Plain text
14891 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14892 msgid "Run post-install scripts (\\f[B]mkosi.postinst\\f[R])\\fR"
14893 msgstr ""
14894
14895 #. type: Plain text
14896 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14897 msgid ""
14898 "Write config files required for \\f[B]Ssh=\\f[R], \\f[B]Autologin=\\f[R] and "
14899 "\\f[B]MakeInitrd=\\fR"
14900 msgstr ""
14901
14902 #. type: Plain text
14903 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14904 msgid ""
14905 "Install systemd-boot and configure secure boot if configured (\\f[B]--secure-"
14906 "boot=yes\\f[R])\\fR"
14907 msgstr ""
14908
14909 #. type: Plain text
14910 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14911 msgid "Run \\f[B]systemctl preset-all\\fR"
14912 msgstr ""
14913
14914 #. type: Plain text
14915 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14916 msgid ""
14917 "Remove packages and files (\\f[B]RemovePackages=\\f[R], "
14918 "\\f[B]RemoveFiles=\\f[R])\\fR"
14919 msgstr ""
14920
14921 #. type: Plain text
14922 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14923 msgid "Run finalize scripts (\\f[B]mkosi.finalize\\f[R])\\fR"
14924 msgstr ""
14925
14926 #. type: Plain text
14927 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14928 msgid "Run post-output scripts (\\f[B]mkosi.postoutput\\f[R])\\fR"
14929 msgstr ""
14930
14931 #. type: Plain text
14932 #: debian-unstable opensuse-tumbleweed
14933 msgid ""
14934 "To allow for image customization that cannot be implemented using "
14935 "\\f[B]mkosi\\f[R]\\(cqs builtin features, \\f[B]mkosi\\f[R] supports running "
14936 "scripts at various points during the image build process that can customize "
14937 "the image as needed. Scripts are executed on the host system as root "
14938 "(either real root or root within the user namespace that \\f[B]mkosi\\f[R] "
14939 "created when running unprivileged) with a customized environment to simplify "
14940 "modifying the image. For each script, the configured build sources "
14941 "(\\f[B]BuildSources=\\f[R]) are mounted into the current working directory "
14942 "before running the script in the current working directory. \\f[B]"
14943 "$SRCDIR\\f[R] is set to point to the current working directory. The "
14944 "following scripts are supported:\\fR"
14945 msgstr ""
14946
14947 #. type: Plain text
14948 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14949 msgid ""
14950 "If \\f[R]mkosi.configure\\f[R] (\\f[B]ConfigureScripts=\\f[R]) exists, it "
14951 "is executed before building the image. This script may be used to "
14952 "dynamically modify the configuration. It receives the configuration "
14953 "serialized as JSON on stdin and should output the modified configuration "
14954 "serialized as JSON on stdout. Note that this script only runs when building "
14955 "or booting the image (\\f[B]build\\f[R], \\f[B]vm\\f[R], \\f[B]boot\\f[R] "
14956 "and \\f[B]shell\\f[R] verbs). If a default tools tree is configured, it "
14957 "will be built before running the configure scripts and the configure scripts "
14958 "will run with the tools tree available. This also means that the "
14959 "modifications made by configure scripts will not be visible in the "
14960 "\\f[B]summary\\f[R] output.\\fR"
14961 msgstr ""
14962
14963 #. type: Plain text
14964 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
14965 msgid ""
14966 "If \\f[R]mkosi.sync\\f[R] (\\f[B]SyncScripts=\\f[R]) exists, it is executed "
14967 "before the image is built. This script may be used to update various "
14968 "sources that are used to build the image. One use case is to run \\f[B]git "
14969 "pull\\f[R] on various source repositories before building the image. "
14970 "Specifically, the \\f[B]BuildSourcesEphemeral=\\f[R] setting does not apply "
14971 "to sync scripts, which means sync scripts can be used to update build "
14972 "sources even if \\f[B]BuildSourcesEphemeral=\\f[R] is enabled.\\fR"
14973 msgstr ""
14974
14975 #. type: Plain text
14976 #: debian-unstable opensuse-tumbleweed
14977 msgid ""
14978 "If \\f[R]mkosi.prepare\\f[R] (\\f[B]PrepareScripts=\\f[R]) exists, it is "
14979 "first called with the \\f[B]final\\f[R] argument, right after the software "
14980 "packages are installed. It is called a second time with the "
14981 "\\f[B]build\\f[R] command line parameter, right after the build packages are "
14982 "installed and the build overlay mounted on top of the image\\(cqs root "
14983 "directory . This script has network access and may be used to install "
14984 "packages from other sources than the distro\\(cqs package manager (e.g.\\ "
14985 "\\f[B]pip\\f[R], \\f[B]npm\\f[R], \\&...), after all software packages are "
14986 "installed but before the image is cached (if incremental mode is enabled). "
14987 "In contrast to a general purpose installation, it is safe to install "
14988 "packages to the system (\\f[B]pip install\\f[R], \\f[B]npm install -g\\f[R]) "
14989 "instead of in \\f[B]$SRCDIR\\f[R] itself because the build image is only "
14990 "used for a single project and can easily be thrown away and rebuilt so "
14991 "there\\(cqs no risk of conflicting dependencies and no risk of polluting the "
14992 "host system.\\fR"
14993 msgstr ""
14994
14995 #. type: Plain text
14996 #: debian-unstable opensuse-tumbleweed
14997 msgid ""
14998 "If \\f[R]mkosi.build\\f[R] (\\f[B]BuildScripts=\\f[R]) exists, it is "
14999 "executed with the build overlay mounted on top of the image\\(cqs root "
15000 "directory. When running the build script, \\f[B]$DESTDIR\\f[R] points to a "
15001 "directory where the script should place any files generated it would like to "
15002 "end up in the image. Note that \\f[B]make\\f[R]-, \\f[B]automake\\f[R]-, "
15003 "and \\f[B]meson\\f[R]-based build systems generally honor \\f[B]"
15004 "$DESTDIR\\f[R], thus making it very natural to build \\f[I]source\\f[R] "
15005 "trees from the build script. After running the build script, the contents "
15006 "of \\f[B]$DESTDIR\\f[R] are copied into the image.\\fR"
15007 msgstr ""
15008
15009 #. type: Plain text
15010 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15011 msgid ""
15012 "If \\f[R]mkosi.postinst\\f[R] (\\f[B]PostInstallationScripts=\\f[R]) exists, "
15013 "it is executed after the (optional) build tree and extra trees have been "
15014 "installed. This script may be used to alter the images without any "
15015 "restrictions, after all software packages and built sources have been "
15016 "installed.\\fR"
15017 msgstr ""
15018
15019 #. type: Plain text
15020 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15021 msgid ""
15022 "If \\f[R]mkosi.finalize\\f[R] (\\f[B]FinalizeScripts=\\f[R]) exists, it is "
15023 "executed as the last step of preparing an image.\\fR"
15024 msgstr ""
15025
15026 #. type: Plain text
15027 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15028 msgid ""
15029 "If \\f[R]mkosi.postoutput\\f[R] (\\f[B]PostOutputScripts=\\f[R]) exists, it "
15030 "is executed right after all the output files have been generated, before "
15031 "they are finally moved into the output directory. This can be used to "
15032 "generate additional or alternative outputs, e.g.\\ \\f[B]SHA256FILES\\f[R] "
15033 "or SBOM manifests.\\fR"
15034 msgstr ""
15035
15036 #. type: Plain text
15037 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15038 msgid ""
15039 "If \\f[R]mkosi.clean\\f[R] (\\f[B]CleanScripts=\\f[R]) exists, it is "
15040 "executed right after the outputs of a previous build have been cleaned up. "
15041 "A clean script can clean up any outputs that \\f[B]mkosi\\f[R] does not know "
15042 "about (e.g. artifacts from \\f[B]SplitArtifacts=partitions\\f[R] or RPMs "
15043 "built in a build script). Note that this script does not use the tools tree "
15044 "even if one is configured.\\fR"
15045 msgstr ""
15046
15047 #. type: Plain text
15048 #: debian-unstable opensuse-tumbleweed
15049 msgid ""
15050 "If \\f[R]mkosi.version\\f[R] exists and is executable, it is run during "
15051 "configuration parsing and populates \\f[B]ImageVersion=\\f[R] with the "
15052 "output on stdout. This can be used for external version tracking, e.g.\\ "
15053 "with \\f[B]git describe\\f[R] or \\f[B]date \\(aq+%Y-%m-%d\\(aq\\f[R]. Note "
15054 "that this script is executed on the host system without any sandboxing.\\fR"
15055 msgstr ""
15056
15057 #. type: Plain text
15058 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15059 msgid ""
15060 "If \\f[R]mkosi.rootpw\\f[R] exists and is executable, it is run during "
15061 "configuration parsing and populates \\f[B]RootPassword=\\f[R] with the "
15062 "output on stdout. This can be used to randomly generate a password and can "
15063 "be remembered by outputting it to stderr or by reading \\f[B]"
15064 "$MKOSI_CONFIG\\f[R] in another script (e.g.\\ "
15065 "\\f[B]mkosi.postoutput\\f[R]). Note that this script is executed on the "
15066 "host system without any sandboxing.\\fR"
15067 msgstr ""
15068
15069 #. type: Plain text
15070 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15071 msgid ""
15072 "If a script uses the \\f[B].chroot\\f[R] extension, \\f[B]mkosi\\f[R] will "
15073 "chroot into the image using \\f[B]mkosi-chroot\\f[R] (see below) before "
15074 "executing the script. For example, if \\f[B]mkosi.postinst.chroot\\f[R] "
15075 "exists, \\f[B]mkosi\\f[R] will chroot into the image and execute it as the "
15076 "post-installation script.\\fR"
15077 msgstr ""
15078
15079 #. type: Plain text
15080 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15081 msgid ""
15082 "Instead of a single file script, \\f[B]mkosi\\f[R] will also read all files "
15083 "in lexicographical order from appropriately named \\f[B].d\\f[R] "
15084 "directories, e.g.\\ all files in a \\f[B]mkosi.build.d\\f[R] would be used "
15085 "as build scripts. This is supported by\\fR"
15086 msgstr ""
15087
15088 #. type: Plain text
15089 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15090 msgid "\\f[B]mkosi.sync.d\\f[R],\\fR"
15091 msgstr ""
15092
15093 #. type: Plain text
15094 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15095 msgid "\\f[B]mkosi.prepare.d\\f[R],\\fR"
15096 msgstr ""
15097
15098 #. type: Plain text
15099 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15100 msgid "\\f[B]mkosi.build.d\\f[R],\\fR"
15101 msgstr ""
15102
15103 #. type: Plain text
15104 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15105 msgid "\\f[B]mkosi.postinst.d\\f[R],\\fR"
15106 msgstr ""
15107
15108 #. type: Plain text
15109 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15110 msgid "\\f[B]mkosi.finalize.d\\f[R],\\fR"
15111 msgstr ""
15112
15113 #. type: Plain text
15114 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15115 msgid "\\f[B]mkosi.postoutput.d\\f[R], and\\fR"
15116 msgstr ""
15117
15118 #. type: Plain text
15119 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15120 msgid "\\f[B]mkosi.clean.d\\f[R].\\fR"
15121 msgstr ""
15122
15123 #. type: Plain text
15124 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15125 msgid ""
15126 "This can be combined with the \\f[B].chroot\\f[R] extension, e.g.\\ "
15127 "\\f[B]mkosi.build.d/01-foo.sh\\f[R] would be run without chrooting into the "
15128 "image and \\f[B]mkosi.build.d/02-bar.sh.chroot\\f[R] would be run after "
15129 "chrooting into the image first.\\fR"
15130 msgstr ""
15131
15132 #. type: Plain text
15133 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15134 msgid ""
15135 "\\f[B]$ARCHITECTURE\\f[R] contains the architecture from the "
15136 "\\f[B]Architecture=\\f[R] setting. If \\f[B]Architecture=\\f[R] is not set, "
15137 "it will contain the native architecture of the host machine. See the "
15138 "documentation of \\f[B]Architecture=\\f[R] for possible values for this "
15139 "variable.\\fR"
15140 msgstr ""
15141
15142 #. type: Plain text
15143 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15144 msgid ""
15145 "\\f[B]$QEMU_ARCHITECTURE\\f[R] contains the architecture from \\f[B]"
15146 "$ARCHITECTURE\\f[R] in the format used by \\f[B]qemu\\f[R]. Useful for "
15147 "finding the qemu binary ( \\f[B]qemu-system-$QEMU_ARCHITECTURE\\f[R]).\\fR"
15148 msgstr ""
15149
15150 #. type: Plain text
15151 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15152 msgid ""
15153 "\\f[B]$EFI_ARCHITECTURE\\f[R] contains the architecture from \\f[B]"
15154 "$ARCHITECTURE\\f[R] in the format used by \\f[B]UEFI\\f[R]. It is unset on "
15155 "architectures that do not support \\f[B]UEFI\\f[R].\\fR"
15156 msgstr ""
15157
15158 #. type: Plain text
15159 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15160 msgid ""
15161 "\\f[B]$DISTRIBUTION\\f[R] contains the distribution from the "
15162 "\\f[B]Distribution=\\f[R] setting.\\fR"
15163 msgstr ""
15164
15165 #. type: Plain text
15166 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15167 msgid ""
15168 "\\f[B]$RELEASE\\f[R] contains the release from the \\f[B]Release=\\f[R] "
15169 "setting.\\fR"
15170 msgstr ""
15171
15172 #. type: Plain text
15173 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15174 msgid ""
15175 "\\f[B]$DISTRIBUTION_ARCHITECTURE\\f[R] contains the architecture from \\f[B]"
15176 "$ARCHITECTURE\\f[R] in the format used by the configured distribution.\\fR"
15177 msgstr ""
15178
15179 #. type: Plain text
15180 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15181 msgid ""
15182 "\\f[B]$PROFILES\\f[R] contains the profiles from the \\f[B]Profiles=\\f[R] "
15183 "setting as a comma-delimited string.\\fR"
15184 msgstr ""
15185
15186 #. type: Plain text
15187 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15188 msgid ""
15189 "\\f[B]$CACHED\\f[R] is set to \\f[B]1\\f[R] if a cached image is available, "
15190 "\\f[B]0\\f[R] otherwise.\\fR"
15191 msgstr ""
15192
15193 #. type: Plain text
15194 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15195 msgid ""
15196 "\\f[B]$CHROOT_SCRIPT\\f[R] contains the path to the running script relative "
15197 "to the image root directory. The primary usecase for this variable is in "
15198 "combination with the \\f[B]mkosi-chroot\\f[R] script. See the description "
15199 "of \\f[B]mkosi-chroot\\f[R] below for more information.\\fR"
15200 msgstr ""
15201
15202 #. type: Plain text
15203 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15204 msgid ""
15205 "\\f[B]$SRCDIR\\f[R] contains the path to the directory \\f[B]mkosi\\f[R] was "
15206 "invoked from, with any configured build sources mounted on top. \\f[B]"
15207 "$CHROOT_SRCDIR\\f[R] contains the value that \\f[B]$SRCDIR\\f[R] will have "
15208 "after invoking \\f[B]mkosi-chroot\\f[R].\\fR"
15209 msgstr ""
15210
15211 #. type: Plain text
15212 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15213 msgid ""
15214 "\\f[B]$BUILDDIR\\f[R] is only defined if \\f[B]mkosi.builddir\\f[R] exists "
15215 "and points to the build directory to use. This is useful for all build "
15216 "systems that support out-of-tree builds to reuse already built artifacts "
15217 "from previous runs. \\f[B]$CHROOT_BUILDDIR\\f[R] contains the value that "
15218 "\\f[B]$BUILDDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R].\\fR"
15219 msgstr ""
15220
15221 #. type: Plain text
15222 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15223 msgid ""
15224 "\\f[B]$DESTDIR\\f[R] is a directory into which any installed software "
15225 "generated by a build script may be placed. This variable is only set when "
15226 "executing a build script. \\f[B]$CHROOT_DESTDIR\\f[R] contains the value "
15227 "that \\f[B]$DESTDIR\\f[R] will have after invoking \\f[B]mkosi-chroot\\f[R]."
15228 "\\fR"
15229 msgstr ""
15230
15231 #. type: Plain text
15232 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15233 msgid ""
15234 "\\f[B]$OUTPUTDIR\\f[R] points to the staging directory used to store build "
15235 "artifacts generated during the build. \\f[B]$CHROOT_OUTPUTDIR\\f[R] "
15236 "contains the value that \\f[B]$OUTPUTDIR\\f[R] will have after invoking "
15237 "\\f[B]mkosi-chroot\\f[R].\\fR"
15238 msgstr ""
15239
15240 #. type: Plain text
15241 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15242 msgid ""
15243 "\\f[B]$PACKAGEDIR\\f[R] points to the directory containing the local package "
15244 "repository. Build scripts can add more packages to the local repository by "
15245 "writing the packages to \\f[B]$PACKAGEDIR\\f[R].\\fR"
15246 msgstr ""
15247
15248 #. type: Plain text
15249 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15250 msgid ""
15251 "\\f[B]$ARTIFACTDIR\\f[R] points to the directory that is used to pass around "
15252 "build artifacts generated during the build and make them available for use "
15253 "by mkosi. This is similar to \\f[B]PACKAGEDIR\\f[R], but is meant for "
15254 "artifacts that may not be packages understood by the package manager, e.g.\\ "
15255 "initrds created by other initrd generators than mkosi. Build scripts can "
15256 "add more artifacts to the directory by placing them in \\f[B]"
15257 "$ARTIFACTDIR\\f[R]. Files in this directory are only available for the "
15258 "current build and are not copied out like the contents of \\f[B]"
15259 "$OUTPUTDIR\\f[R].\\fR"
15260 msgstr ""
15261
15262 #. type: Plain text
15263 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15264 msgid ""
15265 "\\f[B]io.mkosi.microcode\\f[R]: All files in this directory are used as "
15266 "microcode files, i.e.\\ they are prepended to the initrds in lexicographical "
15267 "order.\\fR"
15268 msgstr ""
15269
15270 #. type: Plain text
15271 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15272 msgid ""
15273 "\\f[B]io.mkosi.initrd\\f[R]: All files in this directory are used as initrds "
15274 "and joined in lexicographical order.\\fR"
15275 msgstr ""
15276
15277 #. type: Plain text
15278 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15279 msgid ""
15280 "It is recommended, that users of \\f[B]$ARTIFACTDIR\\f[R] put things for "
15281 "their own use in a similar namespaced directory, e.g.\\ "
15282 "\\f[B]local.my.namespace\\f[R].\\fR"
15283 msgstr ""
15284
15285 #. type: Plain text
15286 #: debian-unstable opensuse-tumbleweed
15287 msgid ""
15288 "\\f[B]$BUILDROOT\\f[R] is the root directory of the image being built, "
15289 "optionally with the build overlay mounted on top depending on the script "
15290 "that\\(cqs being executed.\\fR"
15291 msgstr ""
15292
15293 #. type: Plain text
15294 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15295 msgid ""
15296 "\\f[B]$WITH_DOCS\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending on "
15297 "whether a build without or with installed documentation was requested "
15298 "(\\f[B]WithDocs=yes\\f[R]). A build script should suppress installation of "
15299 "any package documentation to \\f[B]$DESTDIR\\f[R] in case \\f[B]"
15300 "$WITH_DOCS\\f[R] is set to \\f[B]0\\f[R].\\fR"
15301 msgstr ""
15302
15303 #. type: Plain text
15304 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15305 msgid ""
15306 "\\f[B]$WITH_TESTS\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending "
15307 "on whether a build without or with running the test suite was requested "
15308 "(\\f[B]WithTests=no\\f[R]). A build script should avoid running any unit or "
15309 "integration tests in case \\f[B]$WITH_TESTS\\f[R] is \\f[B]0\\f[R].\\fR"
15310 msgstr ""
15311
15312 #. type: Plain text
15313 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15314 msgid ""
15315 "\\f[B]$WITH_NETWORK\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending "
15316 "on whether a build without or with networking is being executed "
15317 "(\\f[B]WithNetwork=no\\f[R]). A build script should avoid any network "
15318 "communication in case \\f[B]$WITH_NETWORK\\f[R] is \\f[B]0\\f[R].\\fR"
15319 msgstr ""
15320
15321 #. type: Plain text
15322 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15323 msgid ""
15324 "\\f[B]$SOURCE_DATE_EPOCH\\f[R] is defined if requested "
15325 "(\\f[B]SourceDateEpoch=TIMESTAMP\\f[R], "
15326 "\\f[B]Environment=SOURCE_DATE_EPOCH=TIMESTAMP\\f[R] or the host environment "
15327 "variable \\f[B]$SOURCE_DATE_EPOCH\\f[R]). This is useful to make builds "
15328 "reproducible. See E<.UR https://reproducible-builds.org/specs/source-date-"
15329 "epoch/> SOURCE_DATE_EPOCH E<.UE > \\ for more information.\\fR"
15330 msgstr ""
15331
15332 #. type: Plain text
15333 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15334 msgid ""
15335 "\\f[B]$MKOSI_UID\\f[R] and \\f[B]$MKOSI_GID\\f[R] respectively are the uid, "
15336 "gid of the user that invoked mkosi.\\fR"
15337 msgstr ""
15338
15339 #. type: Plain text
15340 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15341 msgid ""
15342 "\\f[B]$MKOSI_CONFIG\\f[R] is a file containing a json summary of the "
15343 "settings of the current image. This file can be parsed inside scripts to "
15344 "gain access to all settings for the current image.\\fR"
15345 msgstr ""
15346
15347 #. type: Plain text
15348 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15349 msgid ""
15350 "\\f[B]$IMAGE_ID\\f[R] contains the identifier from the \\f[B]ImageId=\\f[R] "
15351 "or \\f[B]--image-id=\\f[R] setting.\\fR"
15352 msgstr ""
15353
15354 #. type: Plain text
15355 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15356 msgid ""
15357 "\\f[B]$IMAGE_VERSION\\f[R] contains the version from the "
15358 "\\f[B]ImageVersion=\\f[R] or \\f[B]--image-version=\\f[R] setting.\\fR"
15359 msgstr ""
15360
15361 #. type: Plain text
15362 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15363 msgid ""
15364 "\\f[B]$MKOSI_DEBUG\\f[R] is either \\f[B]0\\f[R] or \\f[B]1\\f[R] depending "
15365 "on whether debugging output is enabled.\\fR"
15366 msgstr ""
15367
15368 #. type: tbl table
15369 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15370 #, no-wrap
15371 msgid "\\f[B]configure\\fR"
15372 msgstr ""
15373
15374 #. type: tbl table
15375 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15376 #, no-wrap
15377 msgid "\\f[B]sync\\fR"
15378 msgstr ""
15379
15380 #. type: tbl table
15381 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15382 #, no-wrap
15383 msgid "\\f[B]prepare\\fR"
15384 msgstr ""
15385
15386 #. type: tbl table
15387 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15388 #, no-wrap
15389 msgid "\\f[B]postinst\\fR"
15390 msgstr ""
15391
15392 #. type: tbl table
15393 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15394 #, no-wrap
15395 msgid "\\f[B]finalize\\fR"
15396 msgstr ""
15397
15398 #. type: tbl table
15399 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15400 #, no-wrap
15401 msgid "\\f[B]postoutput\\fR"
15402 msgstr ""
15403
15404 #. type: tbl table
15405 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15406 #, no-wrap
15407 msgid "\\f[B]ARCHITECTURE\\fR"
15408 msgstr ""
15409
15410 #. type: tbl table
15411 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15412 #, no-wrap
15413 msgid "\\f[B]ARTIFACTDIR\\fR"
15414 msgstr ""
15415
15416 #. type: tbl table
15417 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15418 #, no-wrap
15419 msgid "\\f[B]BUILDDIR\\fR"
15420 msgstr ""
15421
15422 #. type: tbl table
15423 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15424 #, no-wrap
15425 msgid "\\f[B]BUILDROOT\\fR"
15426 msgstr ""
15427
15428 #. type: tbl table
15429 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15430 #, no-wrap
15431 msgid "\\f[B]CACHED\\fR"
15432 msgstr ""
15433
15434 #. type: tbl table
15435 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15436 #, no-wrap
15437 msgid "\\f[B]CHROOT_BUILDDIR\\fR"
15438 msgstr ""
15439
15440 #. type: tbl table
15441 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15442 #, no-wrap
15443 msgid "\\f[B]CHROOT_DESTDIR\\fR"
15444 msgstr ""
15445
15446 #. type: tbl table
15447 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15448 #, no-wrap
15449 msgid "\\f[B]CHROOT_OUTPUTDIR\\fR"
15450 msgstr ""
15451
15452 #. type: tbl table
15453 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15454 #, no-wrap
15455 msgid "\\f[B]CHROOT_SCRIPT\\fR"
15456 msgstr ""
15457
15458 #. type: tbl table
15459 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15460 #, no-wrap
15461 msgid "\\f[B]CHROOT_SRCDIR\\fR"
15462 msgstr ""
15463
15464 #. type: tbl table
15465 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15466 #, no-wrap
15467 msgid "\\f[B]MKOSI_DEBUG\\fR"
15468 msgstr ""
15469
15470 #. type: tbl table
15471 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15472 #, no-wrap
15473 msgid "\\f[B]DESTDIR\\fR"
15474 msgstr ""
15475
15476 #. type: tbl table
15477 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15478 #, no-wrap
15479 msgid "\\f[B]DISTRIBUTION\\fR"
15480 msgstr ""
15481
15482 #. type: tbl table
15483 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15484 #, no-wrap
15485 msgid "\\f[B]DISTRIBUTION_ARCHITECTURE\\fR"
15486 msgstr ""
15487
15488 #. type: tbl table
15489 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15490 #, no-wrap
15491 msgid "\\f[B]EFI_ARCHITECTURE\\fR"
15492 msgstr ""
15493
15494 #. type: tbl table
15495 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15496 #, no-wrap
15497 msgid "\\f[B]IMAGE_ID\\fR"
15498 msgstr ""
15499
15500 #. type: tbl table
15501 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15502 #, no-wrap
15503 msgid "\\f[B]IMAGE_VERSION\\fR"
15504 msgstr ""
15505
15506 #. type: tbl table
15507 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15508 #, no-wrap
15509 msgid "\\f[B]MKOSI_CONFIG\\fR"
15510 msgstr ""
15511
15512 #. type: tbl table
15513 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15514 #, no-wrap
15515 msgid "\\f[B]MKOSI_GID\\fR"
15516 msgstr ""
15517
15518 #. type: tbl table
15519 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15520 #, no-wrap
15521 msgid "\\f[B]MKOSI_UID\\fR"
15522 msgstr ""
15523
15524 #. type: tbl table
15525 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15526 #, no-wrap
15527 msgid "\\f[B]OUTPUTDIR\\fR"
15528 msgstr ""
15529
15530 #. type: tbl table
15531 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15532 #, no-wrap
15533 msgid "\\f[B]PACKAGEDIR\\fR"
15534 msgstr ""
15535
15536 #. type: tbl table
15537 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15538 #, no-wrap
15539 msgid "\\f[B]PROFILES\\fR"
15540 msgstr ""
15541
15542 #. type: tbl table
15543 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15544 #, no-wrap
15545 msgid "\\f[B]QEMU_ARCHITECTURE\\fR"
15546 msgstr ""
15547
15548 #. type: tbl table
15549 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15550 #, no-wrap
15551 msgid "\\f[B]RELEASE\\fR"
15552 msgstr ""
15553
15554 #. type: tbl table
15555 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15556 #, no-wrap
15557 msgid "\\f[B]SOURCE_DATE_EPOCH\\fR"
15558 msgstr ""
15559
15560 #. type: tbl table
15561 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15562 #, no-wrap
15563 msgid "\\f[B]SRCDIR\\fR"
15564 msgstr ""
15565
15566 #. type: tbl table
15567 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15568 #, no-wrap
15569 msgid "\\f[B]WITH_DOCS\\fR"
15570 msgstr ""
15571
15572 #. type: tbl table
15573 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15574 #, no-wrap
15575 msgid "\\f[B]WITH_NETWORK\\fR"
15576 msgstr ""
15577
15578 #. type: tbl table
15579 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15580 #, no-wrap
15581 msgid "\\f[B]WITH_TESTS\\fR"
15582 msgstr ""
15583
15584 #. type: Plain text
15585 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15586 msgid ""
15587 "Additionally, when a script is executed, a few scripts are made available "
15588 "via \\f[B]$PATH\\f[R] to simplify common usecases.\\fR"
15589 msgstr ""
15590
15591 #. type: Plain text
15592 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15593 msgid ""
15594 "\\f[B]mkosi-chroot\\f[R]: This script will chroot into the image and execute "
15595 "the given command. On top of chrooting into the image, it will also mount "
15596 "various files and directories (\\f[B]$SRCDIR\\f[R], \\f[B]$DESTDIR\\f[R], "
15597 "\\f[B]$BUILDDIR\\f[R], \\f[B]$OUTPUTDIR\\f[R], \\f[B]$CHROOT_SCRIPT\\f[R]) "
15598 "into the image and modify the corresponding environment variables to point "
15599 "to the locations inside the image. It will also mount APIVFS filesystems "
15600 "(\\f[B]/proc\\f[R], \\f[B]/dev\\f[R], \\&...) to make sure scripts and "
15601 "tools executed inside the chroot work properly. It also propagates \\f[B]/"
15602 "etc/resolv.conf\\f[R] from the host into the chroot if requested so that DNS "
15603 "resolution works inside the chroot. After the mkosi-chroot command exits, "
15604 "various mount points are cleaned up.\\fR"
15605 msgstr ""
15606
15607 #. type: Plain text
15608 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15609 msgid ""
15610 "To execute the entire script inside the image, add a \\f[B].chroot\\f[R] "
15611 "suffix to the name (\\f[B]mkosi.build.chroot\\f[R] instead of "
15612 "\\f[B]mkosi.build\\f[R], etc.).\\fR"
15613 msgstr ""
15614
15615 #. type: Plain text
15616 #: debian-unstable opensuse-tumbleweed
15617 msgid ""
15618 "For all of the supported package managers (\\f[B]dnf\\f[R], \\f[B]rpm\\f[R], "
15619 "\\f[B]apt\\f[R], \\f[B]dpkg\\f[R], \\f[B]pacman\\f[R], \\f[B]zypper\\f[R]), "
15620 "scripts of the same name are put into \\f[B]$PATH\\f[R] that make sure these "
15621 "commands operate on the image\\(cqs root directory with the configuration "
15622 "supplied by the user instead of on the host system. This means that from a "
15623 "script, you can do e.g. \\f[B]dnf install vim\\f[R] to install vim into the "
15624 "image.\\fR"
15625 msgstr ""
15626
15627 #. type: Plain text
15628 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15629 msgid ""
15630 "Additionally, \\f[B]mkosi-install\\f[R], \\f[B]mkosi-reinstall\\f[R], "
15631 "\\f[B]mkosi-upgrade\\f[R] and \\f[B]mkosi-remove\\f[R] will invoke the "
15632 "corresponding operation of the package manager being used to built the image."
15633 "\\fR"
15634 msgstr ""
15635
15636 #. type: Plain text
15637 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15638 msgid ""
15639 "\\f[B]git\\f[R] is automatically invoked with \\f[B]safe.directory=*\\f[R] "
15640 "to avoid permissions errors when running as the root user in a user "
15641 "namespace.\\fR"
15642 msgstr ""
15643
15644 #. type: Plain text
15645 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15646 msgid ""
15647 "\\f[B]useradd\\f[R] and \\f[B]groupadd\\f[R] are automatically invoked with "
15648 "\\f[B]--root=$BUILDROOT\\f[R] when executed outside of the image.\\fR"
15649 msgstr ""
15650
15651 #. type: Plain text
15652 #: debian-unstable opensuse-tumbleweed
15653 msgid ""
15654 "When scripts are executed, any directories that are still writable are also "
15655 "made read-only (\\f[B]/home\\f[R], \\f[B]/var\\f[R], \\f[B]/root\\f[R], "
15656 "\\&...) and only the minimal set of directories that need to be writable "
15657 "remain writable. This is to ensure that scripts can\\(cqt mess with the "
15658 "host system when \\f[B]mkosi\\f[R] is running as root.\\fR"
15659 msgstr ""
15660
15661 #. type: Plain text
15662 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15663 msgid ""
15664 "The \\f[R]mkosi.skeleton/\\f[R] directory or \\f[R]mkosi.skeleton.tar\\f[R] "
15665 "archive may be used to insert files into the image. The files are copied "
15666 "\\f[I]before\\f[R] the distribution packages are installed into the image. "
15667 "This allows creation of files that need to be provided early, for example to "
15668 "configure the package manager or set systemd presets.\\fR"
15669 msgstr ""
15670
15671 #. type: Plain text
15672 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15673 msgid ""
15674 "The \\f[R]mkosi.extra/\\f[R] directory or \\f[R]mkosi.extra.tar\\f[R] "
15675 "archive may be used to insert additional files into the image, on top of "
15676 "what the distribution includes in its packages. They are similar to "
15677 "\\f[B]mkosi.skeleton/\\f[R] and \\f[B]mkosi.skeleton.tar\\f[R], but the "
15678 "files are copied into the directory tree of the image \\f[I]after\\f[R] the "
15679 "OS was installed.\\fR"
15680 msgstr ""
15681
15682 #. type: Plain text
15683 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15684 msgid ""
15685 "The \\f[R]mkosi.sandbox/\\f[R] directory or \\f[R]mkosi.sandbox.tar\\f[R] "
15686 "archive may be used to configure the package manager without the files being "
15687 "inserted into the image. If the files should be included in the image "
15688 "\\f[B]mkosi.skeleton/\\f[R] and \\f[B]mkosi.skeleton.tar\\f[R] should be "
15689 "used instead.\\fR"
15690 msgstr ""
15691
15692 #. type: Plain text
15693 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15694 msgid ""
15695 "The \\f[R]mkosi.nspawn\\f[R] nspawn settings file will be copied into the "
15696 "same place as the output image file, if it exists. This is useful since "
15697 "nspawn looks for settings files next to image files it boots, for additional "
15698 "container runtime settings.\\fR"
15699 msgstr ""
15700
15701 #. type: Plain text
15702 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15703 msgid ""
15704 "The \\f[R]mkosi.cache/\\f[R] directory, if it exists, is automatically used "
15705 "as package download cache, in order to speed repeated runs of the tool.\\fR"
15706 msgstr ""
15707
15708 #. type: Plain text
15709 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15710 msgid ""
15711 "The \\f[R]mkosi.builddir/\\f[R] directory, if it exists, is automatically "
15712 "used as out-of-tree build directory, if the build commands in the "
15713 "\\f[B]mkosi.build\\f[R] scripts support it. Specifically, this directory "
15714 "will be mounted into the build container, and the \\f[B]$BUILDDIR\\f[R] "
15715 "environment variable will be set to it when the build scripts are invoked. "
15716 "A build script may then use this directory as build directory, for "
15717 "\\f[B]automake\\f[R]-style or \\f[B]ninja\\f[R]-style out-of-tree builds. "
15718 "This speeds up builds considerably, in particular when \\f[B]mkosi\\f[R] is "
15719 "used in incremental mode (\\f[B]-i\\f[R]): not only the image and build "
15720 "overlay, but also the build tree is reused between subsequent invocations. "
15721 "Note that if this directory does not exist the \\f[B]$BUILDDIR\\f[R] "
15722 "environment variable is not set, and it is up to the build scripts to decide "
15723 "whether to do an in-tree or an out-of-tree build, and which build directory "
15724 "to use.\\fR"
15725 msgstr ""
15726
15727 #. type: Plain text
15728 #: debian-unstable opensuse-tumbleweed
15729 msgid ""
15730 "The \\f[R]mkosi.rootpw\\f[R] file can be used to provide the password for "
15731 "the root user of the image. If the password is prefixed with \\f[B]hashed:"
15732 "\\f[R] it is treated as an already hashed root password. The password may "
15733 "optionally be followed by a newline character which is implicitly removed. "
15734 "The file must have an access mode of 0600 or less. If this file does not "
15735 "exist, the distribution\\(cqs default root password is set (which usually "
15736 "means access to the root user is blocked).\\fR"
15737 msgstr ""
15738
15739 #. type: Plain text
15740 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15741 msgid ""
15742 "The \\f[R]mkosi.passphrase\\f[R] file provides the passphrase to use when "
15743 "LUKS encryption is selected. It should contain the passphrase literally, "
15744 "and not end in a newline character (i.e.\\ in the same format as "
15745 "\\f[B]cryptsetup\\f[R] and \\f[B]/etc/crypttab\\f[R] expect the passphrase "
15746 "files). The file must have an access mode of 0600 or less.\\fR"
15747 msgstr ""
15748
15749 #. type: Plain text
15750 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15751 msgid ""
15752 "The \\f[R]mkosi.crt\\f[R] and \\f[R]mkosi.key\\f[R] files contain an X.509 "
15753 "certificate and PEM private key to use when signing is required (UEFI "
15754 "SecureBoot, verity, \\&...).\\fR"
15755 msgstr ""
15756
15757 #. type: Plain text
15758 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15759 msgid ""
15760 "The \\f[R]mkosi.output/\\f[R] directory is used to store all build artifacts."
15761 "\\fR"
15762 msgstr ""
15763
15764 #. type: Plain text
15765 #: debian-unstable opensuse-tumbleweed
15766 msgid ""
15767 "The \\f[R]mkosi.credentials/\\f[R] directory is used as a source of extra "
15768 "credentials similar to the \\f[B]Credentials=\\f[R] option. For each file "
15769 "in the directory, the filename will be used as the credential name and the "
15770 "file contents become the credential value, or, if the file is executable, "
15771 "\\f[B]mkosi\\f[R] will execute the file and the command\\(cqs output to "
15772 "stdout will be used as the credential value. Output to stderr will be "
15773 "ignored. Credentials configured with \\f[B]Credentials=\\f[R] take "
15774 "precedence over files in \\f[B]mkosi.credentials\\f[R].\\fR"
15775 msgstr ""
15776
15777 #. type: Plain text
15778 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15779 msgid ""
15780 "The \\f[R]mkosi.repart/\\f[R] directory is used as the source for "
15781 "\\f[B]systemd-repart\\f[R] partition definition files which are passed to "
15782 "\\f[B]systemd-repart\\f[R] when building a disk image. If it does not exist "
15783 "and the \\f[B]RepartDirectories=\\f[R] setting is not configured, "
15784 "\\f[B]mkosi\\f[R] will default to the following partition definition files:"
15785 "\\fR"
15786 msgstr ""
15787
15788 #. type: Plain text
15789 #: debian-unstable opensuse-tumbleweed
15790 msgid "\\f[B]00-esp.conf\\f[R] (if we\\(cqre building a bootable image):\\fR"
15791 msgstr ""
15792
15793 #. type: Plain text
15794 #: debian-unstable opensuse-tumbleweed
15795 msgid ""
15796 "\\f[B]05-bios.conf\\f[R] (if we\\(cqre building a BIOS bootable image):\\fR"
15797 msgstr ""
15798
15799 #. type: Plain text
15800 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15801 msgid "\\f[B]10-root.conf\\fR"
15802 msgstr ""
15803
15804 #. type: Plain text
15805 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15806 msgid ""
15807 "Note that if either \\f[B]mkosi.repart/\\f[R] is found or "
15808 "\\f[B]RepartDirectories=\\f[R] is used, we will not use any of the default "
15809 "partition definitions.\\fR"
15810 msgstr ""
15811
15812 #. type: Plain text
15813 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15814 msgid ""
15815 "Note that the location of all these files may also be configured during "
15816 "invocation via command line switches, and as settings in "
15817 "\\f[B]mkosi.conf\\f[R], in case the default settings are not acceptable for "
15818 "a project.\\fR"
15819 msgstr ""
15820
15821 #. type: Plain text
15822 #: debian-unstable opensuse-tumbleweed
15823 msgid ""
15824 "The package cache of the distribution package manager may be cached between "
15825 "builds. This is configured with the \\f[B]--cache-directory=\\f[R] option "
15826 "or the \\f[B]mkosi.cache/\\f[R] directory. This form of caching relies on "
15827 "the distribution\\(cqs package manager, and caches distribution packages "
15828 "(RPM, deb, \\&...) after they are downloaded, but before they are unpacked."
15829 "\\fR"
15830 msgstr ""
15831
15832 #. type: Plain text
15833 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15834 msgid ""
15835 "If the incremental build mode is enabled with \\f[B]--incremental=yes\\f[R], "
15836 "cached copies of the final image and build overlay are made immediately "
15837 "before the build sources are copied in (for the build overlay) or the "
15838 "artifacts generated by \\f[B]mkosi.build\\f[R] are copied in (in case of the "
15839 "final image). This form of caching allows bypassing the time-consuming "
15840 "package unpacking step of the distribution package managers, but is only "
15841 "effective if the list of packages to use remains stable, but the build "
15842 "sources and its scripts change regularly. Note that this cache requires "
15843 "manual flushing: whenever the package list is modified the cached images "
15844 "need to be explicitly removed before the next re-build, using the \\f[B]-"
15845 "f\\f[R] switch.\\fR"
15846 msgstr ""
15847
15848 #. type: Plain text
15849 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15850 msgid ""
15851 "Finally, between multiple builds the build artifact directory may be shared, "
15852 "using the \\f[B]mkosi.builddir/\\f[R] directory. This directory allows "
15853 "build systems such as Meson to reuse already compiled sources from a "
15854 "previous built, thus speeding up the build process of a "
15855 "\\f[B]mkosi.build\\f[R] build script.\\fR"
15856 msgstr ""
15857
15858 #. type: Plain text
15859 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15860 msgid ""
15861 "Tools trees can be provided via the \\f[B]ToolsTree=\\f[R] option, the "
15862 "\\f[B]mkosi.tools\\f[R] directory or built automatically by mkosi if set to "
15863 "\\f[B]ToolsTree=yes\\f[R]. For most use cases setting it is sufficient to "
15864 "use the default tools trees and the use of a tools tree is recommended.\\fR"
15865 msgstr ""
15866
15867 #. type: Plain text
15868 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15869 msgid ""
15870 "Tools trees, including default tools trees, can be further customized via "
15871 "the different \\f[B]ToolsTree*=\\f[R] variables as well as the "
15872 "\\f[B]mkosi.tools.conf\\f[R] configuration file or directory. The output "
15873 "format for tools trees cannot currently be changed via configuration files."
15874 "\\fR"
15875 msgstr ""
15876
15877 #. type: tbl table
15878 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15879 #, no-wrap
15880 msgid "\\f[B]acl\\fR"
15881 msgstr ""
15882
15883 #. type: tbl table
15884 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15885 #, no-wrap
15886 msgid "\\f[B]apt\\fR"
15887 msgstr ""
15888
15889 #. type: tbl table
15890 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15891 #, no-wrap
15892 msgid "\\f[B]archlinux-keyring\\fR"
15893 msgstr ""
15894
15895 #. type: tbl table
15896 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15897 #, no-wrap
15898 msgid "\\f[B]attr\\fR"
15899 msgstr ""
15900
15901 #. type: tbl table
15902 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15903 #, no-wrap
15904 msgid "\\f[B]bash\\fR"
15905 msgstr ""
15906
15907 #. type: tbl table
15908 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15909 #, no-wrap
15910 msgid "\\f[B]btrfs-progs\\fR"
15911 msgstr ""
15912
15913 #. type: tbl table
15914 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15915 #, no-wrap
15916 msgid "\\f[B]ca-certificates\\fR"
15917 msgstr ""
15918
15919 #. type: tbl table
15920 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15921 #, no-wrap
15922 msgid "\\f[B]coreutils\\fR"
15923 msgstr ""
15924
15925 #. type: tbl table
15926 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15927 #, no-wrap
15928 msgid "\\f[B]cpio\\fR"
15929 msgstr ""
15930
15931 #. type: tbl table
15932 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15933 #, no-wrap
15934 msgid "\\f[B]createrepo_c\\fR"
15935 msgstr ""
15936
15937 #. type: tbl table
15938 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15939 #, no-wrap
15940 msgid "\\f[B]curl\\fR"
15941 msgstr ""
15942
15943 #. type: tbl table
15944 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15945 #, no-wrap
15946 msgid "\\f[B]debian-keyring\\fR"
15947 msgstr ""
15948
15949 #. type: tbl table
15950 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15951 #, no-wrap
15952 msgid "\\f[B]diffutils\\fR"
15953 msgstr ""
15954
15955 #. type: tbl table
15956 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15957 #, no-wrap
15958 msgid "\\f[B]distribution-gpg-keys\\fR"
15959 msgstr ""
15960
15961 #. type: tbl table
15962 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15963 #, no-wrap
15964 msgid "\\f[B]dnf\\fR"
15965 msgstr ""
15966
15967 #. type: tbl table
15968 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15969 #, no-wrap
15970 msgid "\\f[B]dosfstools\\fR"
15971 msgstr ""
15972
15973 #. type: tbl table
15974 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15975 #, no-wrap
15976 msgid "\\f[B]e2fsprogs\\fR"
15977 msgstr ""
15978
15979 #. type: tbl table
15980 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15981 #, no-wrap
15982 msgid "\\f[B]edk2-ovmf\\fR"
15983 msgstr ""
15984
15985 #. type: tbl table
15986 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15987 #, no-wrap
15988 msgid "\\f[B]erofs-utils\\fR"
15989 msgstr ""
15990
15991 #. type: tbl table
15992 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15993 #, no-wrap
15994 msgid "\\f[B]findutils\\fR"
15995 msgstr ""
15996
15997 #. type: tbl table
15998 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
15999 #, no-wrap
16000 msgid "\\f[B]git\\fR"
16001 msgstr ""
16002
16003 #. type: tbl table
16004 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16005 #, no-wrap
16006 msgid "\\f[B]grep\\fR"
16007 msgstr ""
16008
16009 #. type: tbl table
16010 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16011 #, no-wrap
16012 msgid "\\f[B]grub-tools\\fR"
16013 msgstr ""
16014
16015 #. type: tbl table
16016 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16017 #, no-wrap
16018 msgid "\\f[B]jq\\fR"
16019 msgstr ""
16020
16021 #. type: tbl table
16022 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16023 #, no-wrap
16024 msgid "\\f[B]kali-archive-keyring\\fR"
16025 msgstr ""
16026
16027 #. type: tbl table
16028 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16029 #, no-wrap
16030 msgid "\\f[B]kmod\\fR"
16031 msgstr ""
16032
16033 #. type: tbl table
16034 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16035 #, no-wrap
16036 msgid "\\f[B]less\\fR"
16037 msgstr ""
16038
16039 #. type: tbl table
16040 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16041 #, no-wrap
16042 msgid "\\f[B]mtools\\fR"
16043 msgstr ""
16044
16045 #. type: tbl table
16046 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16047 #, no-wrap
16048 msgid "\\f[B]nano\\fR"
16049 msgstr ""
16050
16051 #. type: tbl table
16052 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16053 #, no-wrap
16054 msgid "\\f[B]opensc\\fR"
16055 msgstr ""
16056
16057 #. type: tbl table
16058 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16059 #, no-wrap
16060 msgid "\\f[B]openssh\\fR"
16061 msgstr ""
16062
16063 #. type: tbl table
16064 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16065 #, no-wrap
16066 msgid "\\f[B]openssl\\fR"
16067 msgstr ""
16068
16069 #. type: tbl table
16070 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16071 #, no-wrap
16072 msgid "\\f[B]pkcs11-provider\\fR"
16073 msgstr ""
16074
16075 #. type: tbl table
16076 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16077 #, no-wrap
16078 msgid "\\f[B]perf\\fR"
16079 msgstr ""
16080
16081 #. type: tbl table
16082 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16083 #, no-wrap
16084 msgid "\\f[B]sed\\fR"
16085 msgstr ""
16086
16087 #. type: tbl table
16088 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16089 #, no-wrap
16090 msgid "\\f[B]pacman\\fR"
16091 msgstr ""
16092
16093 #. type: tbl table
16094 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16095 #, no-wrap
16096 msgid "\\f[B]p11-kit\\fR"
16097 msgstr ""
16098
16099 #. type: tbl table
16100 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16101 #, no-wrap
16102 msgid "\\f[B]policycoreutils\\fR"
16103 msgstr ""
16104
16105 #. type: tbl table
16106 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16107 #, no-wrap
16108 msgid "\\f[B]qemu\\fR"
16109 msgstr ""
16110
16111 #. type: tbl table
16112 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16113 #, no-wrap
16114 msgid "\\f[B]sbsigntools\\fR"
16115 msgstr ""
16116
16117 #. type: tbl table
16118 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16119 #, no-wrap
16120 msgid "\\f[B]socat\\fR"
16121 msgstr ""
16122
16123 #. type: tbl table
16124 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16125 #, no-wrap
16126 msgid "\\f[B]squashfs-tools\\fR"
16127 msgstr ""
16128
16129 #. type: tbl table
16130 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16131 #, no-wrap
16132 msgid "\\f[B]strace\\fR"
16133 msgstr ""
16134
16135 #. type: tbl table
16136 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16137 #, no-wrap
16138 msgid "\\f[B]swtpm\\fR"
16139 msgstr ""
16140
16141 #. type: tbl table
16142 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16143 #, no-wrap
16144 msgid "\\f[B]systemd\\fR"
16145 msgstr ""
16146
16147 #. type: tbl table
16148 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16149 #, no-wrap
16150 msgid "\\f[B]ukify\\fR"
16151 msgstr ""
16152
16153 #. type: tbl table
16154 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16155 #, no-wrap
16156 msgid "\\f[B]tar\\fR"
16157 msgstr ""
16158
16159 #. type: tbl table
16160 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16161 #, no-wrap
16162 msgid "\\f[B]ubuntu-keyring\\fR"
16163 msgstr ""
16164
16165 #. type: tbl table
16166 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16167 #, no-wrap
16168 msgid "\\f[B]util-linux\\fR"
16169 msgstr ""
16170
16171 #. type: tbl table
16172 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16173 #, no-wrap
16174 msgid "\\f[B]virtiofsd\\fR"
16175 msgstr ""
16176
16177 #. type: tbl table
16178 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16179 #, no-wrap
16180 msgid "\\f[B]virt-firmware\\fR"
16181 msgstr ""
16182
16183 #. type: tbl table
16184 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16185 #, no-wrap
16186 msgid "\\f[B]xfsprogs\\fR"
16187 msgstr ""
16188
16189 #. type: tbl table
16190 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16191 #, no-wrap
16192 msgid "\\f[B]xz\\fR"
16193 msgstr ""
16194
16195 #. type: tbl table
16196 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16197 #, no-wrap
16198 msgid "\\f[B]zstd\\fR"
16199 msgstr ""
16200
16201 #. type: tbl table
16202 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16203 #, no-wrap
16204 msgid "\\f[B]zypper\\fR"
16205 msgstr ""
16206
16207 #. type: Plain text
16208 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16209 msgid ""
16210 "If the \\f[B]mkosi.images/\\f[R] directory exists, \\f[B]mkosi\\f[R] will "
16211 "load individual subimage configurations from it and build each of them. "
16212 "Image configurations can be either directories containing \\f[B]mkosi\\f[R] "
16213 "configuration files or regular files with the \\f[B].conf\\f[R] extension."
16214 "\\fR"
16215 msgstr ""
16216
16217 #. type: Plain text
16218 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16219 msgid ""
16220 "When image configurations are found in \\f[B]mkosi.images/\\f[R], "
16221 "\\f[B]mkosi\\f[R] will build the images specified in the "
16222 "\\f[B]Dependencies=\\f[R] setting of the main image and all of their "
16223 "dependencies (or all of them if no images were explicitly configured using "
16224 "\\f[B]Dependencies=\\f[R] in the main image configuration). To add "
16225 "dependencies between subimages, the \\f[B]Dependencies=\\f[R] setting can be "
16226 "used as well. Subimages are always built before the main image.\\fR"
16227 msgstr ""
16228
16229 #. type: Plain text
16230 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16231 msgid ""
16232 "When images are defined, \\f[B]mkosi\\f[R] will first read the main image "
16233 "configuration (configuration outside of the \\f[B]mkosi.images/\\f[R] "
16234 "directory), followed by the image specific configuration.\\fR"
16235 msgstr ""
16236
16237 #. type: Plain text
16238 #: debian-unstable opensuse-tumbleweed
16239 msgid ""
16240 "Several \\(lqmultiversal\\(rq settings apply to the default tools tree and "
16241 "to the main image and cannot be configured separately outside of the main "
16242 "image:"
16243 msgstr ""
16244
16245 #. type: Plain text
16246 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16247 msgid "\\f[B]RepositoryKeyCheck=\\fR"
16248 msgstr ""
16249
16250 #. type: Plain text
16251 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16252 msgid "\\f[B]RepositoryKeyFetch=\\fR"
16253 msgstr ""
16254
16255 #. type: Plain text
16256 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16257 msgid "\\f[B]SourceDateEpoch=\\fR"
16258 msgstr ""
16259
16260 #. type: Plain text
16261 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16262 msgid "\\f[B]CacheOnly=\\fR"
16263 msgstr ""
16264
16265 #. type: Plain text
16266 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16267 msgid "\\f[B]WorkspaceDirectory=\\fR"
16268 msgstr ""
16269
16270 #. type: Plain text
16271 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16272 msgid "\\f[B]PackageCacheDirectory=\\fR"
16273 msgstr ""
16274
16275 #. type: Plain text
16276 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16277 msgid "\\f[B]BuildSourcesEphemeral=\\fR"
16278 msgstr ""
16279
16280 #. type: Plain text
16281 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16282 msgid "\\f[B]ProxyClientCertificate=\\fR"
16283 msgstr ""
16284
16285 #. type: Plain text
16286 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16287 msgid "\\f[B]ProxyClientKey=\\fR"
16288 msgstr ""
16289
16290 #. type: Plain text
16291 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16292 msgid "\\f[B]ProxyExclude=\\fR"
16293 msgstr ""
16294
16295 #. type: Plain text
16296 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16297 msgid "\\f[B]ProxyPeerCertificate=\\fR"
16298 msgstr ""
16299
16300 #. type: Plain text
16301 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16302 msgid "\\f[B]ProxyUrl=\\fR"
16303 msgstr ""
16304
16305 #. type: Plain text
16306 #: debian-unstable opensuse-tumbleweed
16307 msgid ""
16308 "Several \\(lquniversal\\(rq settings apply to the main image and all its "
16309 "subimages and cannot be configured separately in subimages. The following "
16310 "settings are universal and cannot be configured in subimages:"
16311 msgstr ""
16312
16313 #. type: Plain text
16314 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16315 msgid "\\f[B]BuildDirectory=\\fR"
16316 msgstr ""
16317
16318 #. type: Plain text
16319 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16320 msgid "\\f[B]CacheDirectory=\\fR"
16321 msgstr ""
16322
16323 #. type: Plain text
16324 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16325 msgid "\\f[B]ExtraSearchPaths=\\fR"
16326 msgstr ""
16327
16328 #. type: Plain text
16329 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16330 msgid "\\f[B]Incremental=\\fR"
16331 msgstr ""
16332
16333 #. type: Plain text
16334 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16335 msgid "\\f[B]LocalMirror=\\fR"
16336 msgstr ""
16337
16338 #. type: Plain text
16339 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16340 msgid "\\f[B]Mirror=\\fR"
16341 msgstr ""
16342
16343 #. type: Plain text
16344 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16345 msgid "\\f[B]OutputMode=\\fR"
16346 msgstr ""
16347
16348 #. type: Plain text
16349 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16350 msgid "\\f[B]PackageDirectories=\\fR"
16351 msgstr ""
16352
16353 #. type: Plain text
16354 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16355 msgid "\\f[B]RepartOffline=\\fR"
16356 msgstr ""
16357
16358 #. type: Plain text
16359 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16360 msgid "\\f[B]SandboxTrees=\\fR"
16361 msgstr ""
16362
16363 #. type: Plain text
16364 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16365 msgid "\\f[B]ToolsTree=\\fR"
16366 msgstr ""
16367
16368 #. type: Plain text
16369 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16370 msgid "\\f[B]ToolsTreeCertificates=\\fR"
16371 msgstr ""
16372
16373 #. type: Plain text
16374 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16375 msgid "\\f[B]UseSubvolumes=\\fR"
16376 msgstr ""
16377
16378 #. type: Plain text
16379 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16380 msgid "\\f[B]SecureBootCertificate=\\fR"
16381 msgstr ""
16382
16383 #. type: Plain text
16384 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16385 msgid "\\f[B]SecureBootCertificateSource=\\fR"
16386 msgstr ""
16387
16388 #. type: Plain text
16389 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16390 msgid "\\f[B]SecureBootKey=\\fR"
16391 msgstr ""
16392
16393 #. type: Plain text
16394 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16395 msgid "\\f[B]SecureBootKeySource=\\fR"
16396 msgstr ""
16397
16398 #. type: Plain text
16399 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16400 msgid "\\f[B]VerityCertificate=\\fR"
16401 msgstr ""
16402
16403 #. type: Plain text
16404 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16405 msgid "\\f[B]VerityCertificateSource=\\fR"
16406 msgstr ""
16407
16408 #. type: Plain text
16409 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16410 msgid "\\f[B]VerityKey=\\fR"
16411 msgstr ""
16412
16413 #. type: Plain text
16414 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16415 msgid "\\f[B]VerityKeySource=\\fR"
16416 msgstr ""
16417
16418 #. type: Plain text
16419 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16420 msgid "\\f[B]VolatilePackageDirectories=\\fR"
16421 msgstr ""
16422
16423 #. type: Plain text
16424 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16425 msgid "\\f[B]WithNetwork=\\fR"
16426 msgstr ""
16427
16428 #. type: Plain text
16429 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16430 msgid "\\f[B]WithTests\\fR"
16431 msgstr ""
16432
16433 #. type: Plain text
16434 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16435 msgid "\\f[B]SectorSize=\\fR"
16436 msgstr ""
16437
16438 #. type: Plain text
16439 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16440 msgid "\\f[B]CacheKey=\\fR"
16441 msgstr ""
16442
16443 #. type: Plain text
16444 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16445 msgid "\\f[B]BuildKey=\\fR"
16446 msgstr ""
16447
16448 #. type: Plain text
16449 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16450 msgid "\\f[B]CompressLevel=\\fR"
16451 msgstr ""
16452
16453 #. type: Plain text
16454 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16455 msgid "\\f[B]SignExpectedPcrKey=\\fR"
16456 msgstr ""
16457
16458 #. type: Plain text
16459 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16460 msgid "\\f[B]SignExpectedPcrKeySource=\\fR"
16461 msgstr ""
16462
16463 #. type: Plain text
16464 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16465 msgid "\\f[B]SignExpectedPcrCertificate=\\fR"
16466 msgstr ""
16467
16468 #. type: Plain text
16469 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16470 msgid "\\f[B]SignExpectedPcrCertificateSource=\\fR"
16471 msgstr ""
16472
16473 #. type: Plain text
16474 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16475 msgid "\\f[B]MinimumVersion=\\fR"
16476 msgstr ""
16477
16478 #. type: Plain text
16479 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16480 msgid "\\f[B]PassEnvironment=\\fR"
16481 msgstr ""
16482
16483 #. type: Plain text
16484 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16485 msgid "\\f[B]ToolsTreeProfiles=\\fR"
16486 msgstr ""
16487
16488 #. type: Plain text
16489 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16490 msgid "\\f[B]ToolsTreeMirror=\\fR"
16491 msgstr ""
16492
16493 #. type: Plain text
16494 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16495 msgid "\\f[B]ToolsTreeRepositories=\\fR"
16496 msgstr ""
16497
16498 #. type: Plain text
16499 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16500 msgid "\\f[B]ToolsTreeSandboxTrees=\\fR"
16501 msgstr ""
16502
16503 #. type: Plain text
16504 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16505 msgid "\\f[B]ToolsTreePackages=\\fR"
16506 msgstr ""
16507
16508 #. type: Plain text
16509 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16510 msgid "\\f[B]ToolsTreePackageDirectories=\\fR"
16511 msgstr ""
16512
16513 #. type: Plain text
16514 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16515 msgid "\\f[B]History=\\fR"
16516 msgstr ""
16517
16518 #. type: Plain text
16519 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16520 msgid "Every setting in the \\f[B][Runtime]\\f[R] section\\fR"
16521 msgstr ""
16522
16523 #. type: Plain text
16524 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16525 msgid "\\f[B]BaseTrees=\\fR"
16526 msgstr ""
16527
16528 #. type: Plain text
16529 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16530 msgid "\\f[B]ExtraTrees=\\fR"
16531 msgstr ""
16532
16533 #. type: Plain text
16534 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16535 msgid "\\f[B]Initrds=\\fR"
16536 msgstr ""
16537
16538 #. type: Plain text
16539 #: debian-unstable opensuse-tumbleweed
16540 msgid ""
16541 "To refer to outputs of a image\\(cqs dependencies, simply configure any of "
16542 "these options with a relative path to the output to use in the output "
16543 "directory of the dependency. Or use the \\f[B]%O\\f[R] specifier to refer "
16544 "to the output directory.\\fR"
16545 msgstr ""
16546
16547 #. type: Plain text
16548 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16549 msgid ""
16550 "\\f[B]$MKOSI_LESS\\f[R] overrides options for \\f[B]less\\f[R] when it is "
16551 "invoked by \\f[B]mkosi\\f[R] to page output.\\fR"
16552 msgstr ""
16553
16554 #. type: Plain text
16555 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16556 msgid ""
16557 "\\f[B]$MKOSI_DNF\\f[R] can be used to override the executable used as "
16558 "\\f[B]dnf\\f[R]. This is particularly useful to select between "
16559 "\\f[B]dnf\\f[R] and \\f[B]dnf5\\f[R].\\fR"
16560 msgstr ""
16561
16562 #. type: Plain text
16563 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16564 msgid ""
16565 "\\f[B]$EPEL_MIRROR\\f[R] can be used to override the default mirror location "
16566 "used for the epel repositories when \\f[B]Mirror=\\f[R] is used. By default "
16567 "\\f[B]mkosi\\f[R] looks for the epel repositories in the \\f[B]fedora\\f[R] "
16568 "subdirectory of the parent directory of the mirror specified in "
16569 "\\f[B]Mirror=\\f[R]. For example if the mirror is set to \\f[B]https://"
16570 "mirror.net/centos-stream\\f[R] \\f[B]mkosi\\f[R] will look for the epel "
16571 "repositories in \\f[B]https://mirror.net/fedora/epel\\f[R].\\fR"
16572 msgstr ""
16573
16574 #. type: Plain text
16575 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16576 msgid ""
16577 "\\f[B]SYSEXT_SCOPE\\f[R] and \\f[B]CONFEXT_SCOPE\\f[R] can be used to "
16578 "override the default value of the respective \\f[B]extension-release\\f[R] "
16579 "file when building a sysext or confext. By default the value is set to "
16580 "\\f[B]initrd system portable\\f[R].\\fR"
16581 msgstr ""
16582
16583 #. type: Plain text
16584 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16585 msgid ""
16586 "Create and run a raw \\f[I]GPT\\f[R] image with \\f[I]ext4\\f[R], as "
16587 "\\f[B]image.raw\\f[R]:\\fR"
16588 msgstr ""
16589
16590 #. type: Plain text
16591 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16592 msgid ""
16593 "Create and run a bootable \\f[I]GPT\\f[R] image, as \\f[B]foobar.raw\\f[R]:"
16594 "\\fR"
16595 msgstr ""
16596
16597 #. type: Plain text
16598 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16599 msgid ""
16600 "Create a compressed image \\f[B]image.raw.xz\\f[R] with SSH installed and "
16601 "add a checksum file:\\fR"
16602 msgstr ""
16603
16604 #. type: Plain text
16605 #: debian-unstable opensuse-tumbleweed
16606 #, no-wrap
16607 msgid ""
16608 "if [ \"$container\" != \"mkosi\" ]; then\n"
16609 " exec mkosi-chroot \"$CHROOT_SCRIPT\" \"$\\(at\"\n"
16610 "fi\n"
16611 msgstr ""
16612
16613 #. type: Plain text
16614 #: debian-unstable opensuse-tumbleweed
16615 #, no-wrap
16616 msgid ""
16617 "cd $SRCDIR\n"
16618 "\\&./autogen.sh\n"
16619 "\\&./configure --prefix=/usr\n"
16620 "make -j \\(ganproc\\(ga\n"
16621 "make install\n"
16622 "EOF\n"
16623 "$ chmod +x mkosi.build\n"
16624 "# mkosi -i boot\n"
16625 "# systemd-nspawn -bi image.raw\n"
16626 msgstr ""
16627
16628 #. type: SS
16629 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16630 #, no-wrap
16631 msgid "Different ways to boot with \\f[B]vm\\fB"
16632 msgstr ""
16633
16634 #. type: Plain text
16635 #: debian-unstable opensuse-tumbleweed
16636 #, no-wrap
16637 msgid ""
16638 "$ mkosi -d fedora -p systemd-udev,systemd-boot,kernel-core build\n"
16639 "$ mkosi -d fedora vm\n"
16640 "\\&...\n"
16641 "fedora login: root (automatic login)\n"
16642 "[root\\(atfedora \\(ti]#\n"
16643 msgstr ""
16644
16645 #. type: Plain text
16646 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16647 msgid ""
16648 "The default is to boot with a text console only. In this mode, messages "
16649 "from the boot loader, the kernel, and systemd, and later the "
16650 "\\f[B]getty\\f[R] login prompt and shell all use the same terminal. It is "
16651 "possible to switch between the \\f[B]qemu\\f[R] console and monitor by "
16652 "pressing \\f[B]Ctrl-a c\\f[R]. The \\f[B]qemu\\f[R] monitor may for example "
16653 "be used to inject special keys or shut down the machine quickly. "
16654 "Alternatively the machine can be shut down using \\f[B]Ctrl-a x\\f[R].\\fR"
16655 msgstr ""
16656
16657 #. type: Plain text
16658 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16659 msgid "To boot with a graphical window, add \\f[B]--console=gui\\f[R]:\\fR"
16660 msgstr ""
16661
16662 #. type: Plain text
16663 #: debian-unstable opensuse-tumbleweed
16664 msgid ""
16665 "A kernel may be booted directly with \\f[B]mkosi vm -kernel ... "
16666 "-initrd ... -append \\(aq...\\(aq\\f[R]. This is a bit faster because no "
16667 "boot loader is used, and it is also easier to experiment with different "
16668 "kernels and kernel command lines. Note that despite the name, "
16669 "\\f[B]qemu\\f[R]\\(cqs \\f[B]-append\\f[R] option replaces the default "
16670 "kernel command line embedded in the kernel and any previous \\f[B]-"
16671 "append\\f[R] specifications.\\fR"
16672 msgstr ""
16673
16674 #. type: Plain text
16675 #: debian-unstable opensuse-tumbleweed
16676 #, no-wrap
16677 msgid "$ mkosi vm -- -kernel mkosi.output/fedora\\(ti38/image.efi\n"
16678 msgstr ""
16679
16680 #. type: Plain text
16681 #: debian-unstable opensuse-tumbleweed
16682 msgid ""
16683 "When booting using an external kernel, we don\\(cqt need the kernel "
16684 "\\f[I]in\\f[R] the image, but we would still want the kernel modules to be "
16685 "installed.\\fR"
16686 msgstr ""
16687
16688 #. type: Plain text
16689 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16690 msgid ""
16691 "mkosi requires a Linux kernel that provides \\f[B]mount_setattr()\\f[R] "
16692 "which was introduces in 5.12.\\fR"
16693 msgstr ""
16694
16695 #. type: Plain text
16696 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16697 msgid ""
16698 "On Debian/Kali/Ubuntu it might be necessary to install the \\f[B]ubuntu-"
16699 "keyring\\f[R], \\f[B]ubuntu-archive-keyring\\f[R], \\f[B]kali-archive-"
16700 "keyring\\f[R] and/or \\f[B]debian-archive-keyring\\f[R] packages explicitly, "
16701 "in addition to \\f[B]apt\\f[R], depending on what kind of distribution "
16702 "images you want to build.\\fR"
16703 msgstr ""
16704
16705 #. type: Plain text
16706 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16707 msgid ""
16708 "For information about Ubuntu, that implements such restrictions using "
16709 "AppArmor, see https://ubuntu.com/blog/ubuntu-23-10-restricted-unprivileged-"
16710 "user-namespaces. For other systems, try researching the "
16711 "\\f[B]kernel.unprivileged_userns_clone\\f[R] or "
16712 "\\f[B]user.max.user_namespace\\f[R] sysctls.\\fR"
16713 msgstr ""
16714
16715 #. type: Plain text
16716 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16717 msgid ""
16718 "For Ubuntu systems, you can remove the restrictions for \\f[B]mkosi\\f[R] by "
16719 "adapting this snippet to point to your \\f[B]mkosi\\f[R] binary, copying it "
16720 "to \\f[B]/etc/apparmor.d/resolved.path.to.mkosi\\f[R], and then running "
16721 "\\f[B]systemctl reload apparmor\\f[R]:\\fR"
16722 msgstr ""
16723
16724 #. type: Plain text
16725 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16726 msgid ""
16727 "Why does \\f[B]mkosi vm\\f[R] with KVM not work on Debian/Kali/Ubuntu?\\fR"
16728 msgstr ""
16729
16730 #. type: Plain text
16731 #: debian-unstable opensuse-tumbleweed
16732 msgid ""
16733 "While other distributions are OK with allowing access to \\f[B]/dev/"
16734 "kvm\\f[R], on Debian/Kali/Ubuntu this is only allowed for users in the "
16735 "\\f[B]kvm\\f[R] group. Because \\f[B]mkosi\\f[R] unshares a user namespace "
16736 "when running unprivileged, even if the calling user was in the kvm group, "
16737 "when \\f[B]mkosi\\f[R] unshares the user namespace to run unprivileged, it "
16738 "loses access to the \\f[B]kvm\\f[R] group and by the time we start "
16739 "\\f[B]qemu\\f[R] we don\\(cqt have access to \\f[B]/dev/kvm\\f[R] anymore. "
16740 "As a workaround, you can change the permissions of the device nodes to "
16741 "\\f[B]0666\\f[R] which is sufficient to make KVM work unprivileged. To "
16742 "persist these settings across reboots, copy \\f[B]/usr/lib/tmpfiles.d/static-"
16743 "nodes-permissions.conf\\f[R] to \\f[B]/etc/tmpfiles.d/static-nodes-"
16744 "permissions.conf\\f[R] and change the mode of \\f[B]/dev/kvm\\f[R] from "
16745 "\\f[B]0660\\f[R] to \\f[B]0666\\f[R].\\fR"
16746 msgstr ""
16747
16748 #. type: Plain text
16749 #: debian-unstable opensuse-tumbleweed
16750 #, no-wrap
16751 msgid "useradd --create-home --user-group $USER --password \"$(openssl passwd -stdin -6 E<lt>$USER_PASSWORD_FILE)\"\n"
16752 msgstr ""
16753
16754 #. type: Plain text
16755 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16756 msgid ""
16757 "Note that chown calls are only suppressed when running package managers, but "
16758 "not when running scripts. If this is required, e.g.\\ for a build script, "
16759 "you can set the \\f[B]MKOSI_CHROOT_SUPPRESS_CHOWN\\f[R] variable to a true "
16760 "value (\\f[B]1\\f[R], \\f[B]yes\\f[R], \\f[B]true\\f[R]) to suppress chown "
16761 "calls in \\f[B]mkosi-chroot\\f[R] and \\f[B].chroot\\f[R] scripts.\\fR"
16762 msgstr ""
16763
16764 #. type: Plain text
16765 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16766 msgid ""
16767 "If this behavior causes applications running in your image to misbehave, you "
16768 "can consider running \\f[B]mkosi\\f[R] as root which avoids this problem. "
16769 "Alternatively, if running \\f[B]mkosi\\f[R] as root is not desired, you can "
16770 "use \\f[B]unshare --map-auto --map-current-user --setuid 0 --setgid 0\\f[R] "
16771 "to become root in a user namespace with more than one user assuming the UID/"
16772 "GID mappings in \\f[B]/etc/subuid\\f[R] and \\f[B]/etc/subgid\\f[R] are "
16773 "configured correctly. Note that running mkosi as root or with "
16774 "\\f[B]unshare\\f[R] means that all output files produced by "
16775 "\\f[B]mkosi\\f[R] will not be owned by your current user anymore.\\fR"
16776 msgstr ""
16777
16778 #. type: Plain text
16779 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16780 msgid ""
16781 "Note that for systemd services that need directories in \\f[B]/var\\f[R] "
16782 "owned by the service user and group, an alternative to shipping these "
16783 "directories in packages or creating them via systemd-tmpfiles is to use "
16784 "\\f[B]StateDirectory=\\f[R], \\f[B]CacheDirectory=\\f[R] or "
16785 "\\f[B]LogsDirectory=\\f[R] in the service file which instructs systemd to "
16786 "create the directory when it first starts the service.\\fR"
16787 msgstr ""
16788
16789 #. type: Plain text
16790 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16791 msgid ""
16792 "Alternatively, the \\f[B]z\\f[R] or \\f[B]Z\\f[R] directives for "
16793 "\\f[B]systemd-tmpfiles\\f[R] can be used to chown various directories and "
16794 "files to their owning user when the system first boots up.\\fR"
16795 msgstr ""
16796
16797 #. type: Plain text
16798 #: debian-unstable opensuse-tumbleweed
16799 msgid ""
16800 "Why does \\f[B]portablectl inspect E<lt>imageE<gt>\\f[R]/\\f[B]systemd-"
16801 "dissect E<lt>imageE<gt>\\f[R] say my portable service isn\\(cqt one?\\fR"
16802 msgstr ""
16803
16804 #. type: Plain text
16805 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16806 msgid ""
16807 "\\f[B]systemd-dissect\\f[R] and\\f[B]portablectl inspect\\f[R] check for "
16808 "\\f[B]PORTABLE_PREFIXES=\\f[R] in \\f[B]os-release\\f[R] and if the key is "
16809 "missing, will fail to recognise a portable service as one, showing ✗ under "
16810 "\\f[I]Use as\\f[R] for in the case of \\f[B]systemd-dissect\\f[R] or \\f[B]n/"
16811 "a\\f[R] under \\f[I]Portable Service\\f[R] for \\f[B]portablectl\\f[R].\\fR"
16812 msgstr ""
16813
16814 #. type: Plain text
16815 #: debian-unstable opensuse-tumbleweed
16816 msgid ""
16817 "Since there is no good default to set for this key and the generated "
16818 "portable service images will still attach properly, even when the key is not "
16819 "set, \\f[B]mkosi\\f[R] doesn\\(cqt set one.\\fR"
16820 msgstr ""
16821
16822 #. type: Plain text
16823 #: debian-unstable fedora-44 fedora-rawhide opensuse-tumbleweed
16824 msgid ""
16825 "You can set \\f[B]PORTABLE_PREFIXES=\\f[R] in the \\f[B]os-release\\f[R] "
16826 "file yourself in a postinst script.\\fR"
16827 msgstr ""
16828
16829 #. type: Plain text
16830 #: debian-unstable opensuse-tumbleweed
16831 msgid ""
16832 "E<.UR https://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html> "
16833 "mkosi \\(em A Tool for Generating OS Images E<.UE > \\ introductory blog "
16834 "post by Lennart Poettering"
16835 msgstr ""
16836
16837 #. type: Plain text
16838 #: fedora-44 fedora-rawhide
16839 msgid ""
16840 "This builds the image if it is not built yet, and then invokes \\f[B]systemd-"
16841 "nspawn\\f[R] to run an interactive shell in the image. This doesn\\[cq]t "
16842 "require booting the system, it\\[cq]s like a better chroot. An optional "
16843 "command line may be specified after the \\f[B]shell\\f[R] verb, to be "
16844 "invoked in place of the shell in the container. To pass extra options to "
16845 "nspawn, separate them from regular options with \\f[B]--\\f[R].\\fR"
16846 msgstr ""
16847
16848 #. type: Plain text
16849 #: fedora-44 fedora-rawhide
16850 msgid ""
16851 "When the image is built with the \\f[B]Ssh=always\\f[R] option or if "
16852 "systemd\\[cq]s \\f[B]sshd-vsock\\f[R] service is running in the VM (systemd "
16853 "v256+), this command connects to a booted virtual machine via SSH. Make "
16854 "sure to run \\f[B]mkosi ssh\\f[R] with the same config as \\f[B]mkosi "
16855 "build\\f[R] so that it has the necessary information available to connect to "
16856 "the running virtual machine via SSH. Specifically, the SSH private key from "
16857 "the \\f[B]SshKey=\\f[R] setting is used to connect to the virtual machine. "
16858 "Use \\f[B]mkosi genkey\\f[R] to automatically generate a key and certificate "
16859 "that will be picked up by \\f[B]mkosi\\f[R]. Any arguments passed after the "
16860 "\\f[B]ssh\\f[R] verb are passed as arguments to the \\f[B]ssh\\f[R] "
16861 "invocation. To pass extra options, separate them from regular options with "
16862 "\\f[B]--\\f[R].To connect to a container, use \\f[B]machinectl login\\f[R] "
16863 "or \\f[B]machinectl shell\\f[R].\\fR"
16864 msgstr ""
16865
16866 #. type: Plain text
16867 #: fedora-44 fedora-rawhide
16868 msgid ""
16869 "The \\f[B]Machine=\\f[R] option can be used to give the machine a custom "
16870 "hostname when booting it which can later be used to \\f[B]ssh\\f[R] into the "
16871 "image (e.g.\\ \\f[B]mkosi --machine=mymachine vm\\f[R] followed by "
16872 "\\f[B]mkosi --machine=mymachine ssh\\f[R]).\\fR"
16873 msgstr ""
16874
16875 #. type: Plain text
16876 #: fedora-44 fedora-rawhide
16877 msgid ""
16878 "If \\f[B]mkosi.bump\\f[R] exists, it is invoked to generate the new version "
16879 "to be used instead of using mkosi\\[cq]s own logic.\\fR"
16880 msgstr ""
16881
16882 #. type: Plain text
16883 #: fedora-44 fedora-rawhide
16884 msgid ""
16885 "Show \\f[B]mkosi\\f[R]\\[cq]s documentation. If no argument is given, the "
16886 "\\f[B]mkosi\\f[R] man page is shown, but the arguments \\f[B]mkosi\\f[R], "
16887 "\\f[B]mkosi-initrd\\f[R], \\f[B]initrd\\f[R], \\f[B]mkosi-sandbox\\f[R], "
16888 "\\f[B]sandbox\\f[R], \\f[B]mkosi.news\\f[R] and \\f[B]news\\f[R] are "
16889 "supported and respectively show the man pages for \\f[B]mkosi\\f[R], "
16890 "\\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-sandbox\\f[R] and \\f[B]mkosi\\f[R]\\"
16891 "[cq]s NEWS file.\\fR"
16892 msgstr ""
16893
16894 #. type: Plain text
16895 #: fedora-44 fedora-rawhide
16896 msgid ""
16897 "By default this verb will try several ways to output the documentation, but "
16898 "a specific option can be chosen with the \\f[B]--doc-format\\f[R] option. "
16899 "Distro packagers are encouraged to add a file \\f[B]mkosi.1\\f[R] into the "
16900 "\\f[B]mkosi/resources\\f[R] directory of the Python package, if it is "
16901 "missing, as well as to install it in the appropriate search path for man "
16902 "pages. The man page can be generated from the markdown file \\f[B]mkosi/"
16903 "resources/man/mkosi.1.md\\f[R] e.g via \\f[B]pandoc -t man -s -o mkosi.1 "
16904 "mkosi.1.md\\f[R].\\fR"
16905 msgstr ""
16906
16907 #. type: Plain text
16908 #: fedora-44 fedora-rawhide
16909 msgid ""
16910 "By default, only the dependencies required to build images with mkosi are "
16911 "shown. Extra tools tree profiles can be enabled to also output the packages "
16912 "belonging to those profiles. For example, running \\f[B]mkosi dependencies "
16913 "-- --profile runtime\\f[R] will also output the packages in the runtime "
16914 "profile on top of the regular packages. See the documentation for "
16915 "\\f[B]ToolsTreeProfiles=\\f[R] for a list of available profiles.\\fR"
16916 msgstr ""
16917
16918 #. type: Plain text
16919 #: fedora-44 fedora-rawhide
16920 msgid ""
16921 "Common name to be used when generating keys via \\f[B]mkosi\\f[R]\\[cq]s "
16922 "\\f[B]genkey\\f[R] command. Defaults to \\f[B]mkosi of %u\\f[R], where "
16923 "\\f[B]%u\\f[R] expands to the username of the user invoking "
16924 "\\f[B]mkosi\\f[R].\\fR"
16925 msgstr ""
16926
16927 #. type: Plain text
16928 #: fedora-44 fedora-rawhide
16929 msgid ""
16930 "Number of days that the keys should remain valid when generating keys via "
16931 "\\f[B]mkosi\\f[R]\\[cq]s \\f[B]genkey\\f[R] command. Defaults to two years "
16932 "(730 days).\\fR"
16933 msgstr ""
16934
16935 #. type: Plain text
16936 #: fedora-44 fedora-rawhide
16937 msgid ""
16938 "If this setting is configured and \\f[B]Mirror=\\f[R] is not explicitly "
16939 "configured, different default mirrors are used:\\fR"
16940 msgstr ""
16941
16942 #. type: Plain text
16943 #: fedora-44 fedora-rawhide
16944 msgid ""
16945 "This setting is only implemented for distributions using \\f[B]dnf\\f[R], "
16946 "\\f[B]pacman\\f[R] or \\f[B]zypper\\f[R] as their package manager. For "
16947 "other distributions the distribution GPG keys are always looked up locally "
16948 "regardless of the value of this setting. To make the distribution GPG keys "
16949 "for distributions available without enabling this setting, the corresponding "
16950 "package has to be installed on the host. This is usually one of "
16951 "\\f[B]archlinux-keyring\\f[R], \\f[B]debian-keyring\\f[R], \\f[B]kali-"
16952 "archive-keyring\\f[R], \\f[B]ubuntu-keyring\\f[R] or \\f[B]distribution-gpg-"
16953 "keys\\f[R] (for RPM-based distributions).\\fR"
16954 msgstr ""
16955
16956 #. type: Plain text
16957 #: fedora-44 fedora-rawhide
16958 msgid ""
16959 "If the \\f[B]disk\\f[R] output format is used, the disk image is generated "
16960 "using \\f[B]systemd-repart\\f[R]. The repart partition definition files to "
16961 "use can be configured using the \\f[B]RepartDirectories=\\f[R] setting or "
16962 "via \\f[B]mkosi.repart/\\f[R]. When verity partitions are configured using "
16963 "\\f[B]systemd-repart\\f[R]\\[cq]s \\f[B]Verity=\\f[R] setting, "
16964 "\\f[B]mkosi\\f[R] will automatically parse the verity hash partition\\[cq]s "
16965 "roothash from \\f[B]systemd-repart\\f[R]\\[cq]s JSON output and include it "
16966 "in the kernel command line of every unified kernel image built by "
16967 "\\f[B]mkosi\\f[R].\\fR"
16968 msgstr ""
16969
16970 #. type: Plain text
16971 #: fedora-44 fedora-rawhide
16972 msgid ""
16973 "If the \\f[B]none\\f[R] output format is used, the outputs from a previous "
16974 "build are not removed, but clean scripts (see \\f[B]CleanScripts=\\f[R]) "
16975 "are still executed. This allows rerunning a build script (see "
16976 "\\f[B]BuildScripts=\\f[R]) without removing the results of a previous build."
16977 "\\fR"
16978 msgstr ""
16979
16980 #. type: Plain text
16981 #: fedora-44 fedora-rawhide
16982 msgid ""
16983 "Note that this only specifies the output prefix, depending on the specific "
16984 "output format, compression and image version used, the full output name "
16985 "might be \\f[B]image_7.8.raw.xz\\f[R].\\fR"
16986 msgstr ""
16987
16988 #. type: Plain text
16989 #: fedora-44 fedora-rawhide
16990 msgid ""
16991 "When building a disk image and \\f[B]partitions\\f[R] is specified, pass "
16992 "\\f[B]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out "
16993 "split partition files for each configured partition. Read the E<.UR https://"
16994 "www.freedesktop.org/software/systemd/man/systemd-repart.html#--split=BOOL> "
16995 "man E<.UE > \\ page for more information. This is useful in A/B update "
16996 "scenarios where an existing disk image shall be augmented with a new version "
16997 "of a root or \\f[B]/usr\\f[R] partition along with its Verity partition and "
16998 "unified kernel.\\fR"
16999 msgstr ""
17000
17001 #. type: Plain text
17002 #: fedora-44 fedora-rawhide
17003 msgid ""
17004 "When \\f[B]tar\\f[R] is specified, the rootfs is additionally archived as a "
17005 "tar archive (compressed according to \\f[B]CompressOutput=\\f[R]).\\fR"
17006 msgstr ""
17007
17008 #. type: Plain text
17009 #: fedora-44 fedora-rawhide
17010 msgid ""
17011 "When \\f[B]roothash\\f[R] is specified and a dm-verity disk image is built, "
17012 "the dm-verity roothash is written out as a separate file, which is useful "
17013 "for offline signing.\\fR"
17014 msgstr ""
17015
17016 #. type: Plain text
17017 #: fedora-44 fedora-rawhide
17018 msgid ""
17019 "\\f[B]kernel-modules-initrd\\f[R] corresponds to the separate kernel modules "
17020 "initrd which mkosi appends to the main initrd. This is primarily intended "
17021 "for debugging as many initrd inspection tools don\\[cq]t properly handle "
17022 "multiple initrds appended to each other.\\fR"
17023 msgstr ""
17024
17025 #. type: Plain text
17026 #: fedora-44 fedora-rawhide
17027 msgid ""
17028 "When \\f[B]repart-definitions\\f[R] is specified, a directory containing the "
17029 "used repart definition files is written to the output directory. If "
17030 "multiple directories are configured via \\f[B]RepartDirectories=\\f[R], they "
17031 "are merged, with later directories taking priority over earlier ones when "
17032 "files with identical names exist.\\fR"
17033 msgstr ""
17034
17035 #. type: Plain text
17036 #: fedora-44 fedora-rawhide
17037 msgid ""
17038 "By default \\f[B]uki\\f[R], \\f[B]kernel\\f[R] and \\f[B]initrd\\f[R] are "
17039 "split out.\\fR"
17040 msgstr ""
17041
17042 #. type: Plain text
17043 #: fedora-44 fedora-rawhide
17044 msgid ""
17045 "See \\f[B]PackageDirectories=\\f[R] for information on how to make local "
17046 "packages available for installation with \\f[B]Packages=\\f[R].\\fR"
17047 msgstr ""
17048
17049 #. type: Plain text
17050 #: fedora-44 fedora-rawhide
17051 msgid ""
17052 "\\f[B]Example\\f[R]: when using a distro that uses \\f[B]dnf\\f[R], the "
17053 "following configuration would install the \\f[B]meson\\f[R] package (in the "
17054 "latest version), the 32-bit version of the \\f[B]libfdisk-devel\\f[R] "
17055 "package, all available packages that start with the \\f[B]git-\\f[R] prefix, "
17056 "a \\f[B]systemd\\f[R] RPM from the local file system, one of the packages "
17057 "that provides \\f[B]/usr/bin/ld\\f[R], the packages in the \\f[I]Development "
17058 "Tools\\f[R] group, and the package that contains the \\f[B]mypy\\f[R] python "
17059 "module.\\fR"
17060 msgstr ""
17061
17062 #. type: Plain text
17063 #: fedora-44 fedora-rawhide
17064 msgid ""
17065 "Additionally, build scripts can add more packages to the local repository by "
17066 "placing the built packages in \\f[B]$PACKAGEDIR\\f[R]. The packages placed "
17067 "in \\f[B]$PACKAGEDIR\\f[R] are shared between all image builds and thus "
17068 "available for installation in all images using \\f[B]VolatilePackages=\\f[R]."
17069 "\\fR"
17070 msgstr ""
17071
17072 #. type: Plain text
17073 #: fedora-44 fedora-rawhide
17074 msgid ""
17075 "Note that skeleton trees are cached and any changes to skeleton trees after "
17076 "a cached image has been built (when using \\f[B]Incremental=\\f[R]) are "
17077 "only applied when the cached image is rebuilt (by using \\f[B]-ff\\f[R] or "
17078 "running \\f[B]mkosi -f clean\\f[R]).\\fR"
17079 msgstr ""
17080
17081 #. type: Plain text
17082 #: fedora-44 fedora-rawhide
17083 msgid ""
17084 "As with the base tree logic above, instead of a directory, a tar file may be "
17085 "provided too. \\f[B]mkosi.skeleton.tar\\f[R] will be automatically used if "
17086 "found in the local directory.\\fR"
17087 msgstr ""
17088
17089 #. type: Plain text
17090 #: fedora-44 fedora-rawhide
17091 msgid ""
17092 "To add extra package manager configuration files such as extra repositories, "
17093 "use \\f[B]SandboxTrees=\\f[R] as \\f[B]mkosi\\f[R] invokes the package "
17094 "managers from outside the image and not inside so any package manager "
17095 "configuration files provided via \\f[B]SkeletonTrees=\\f[R] won\\[cq]t take "
17096 "effect when \\f[B]mkosi\\f[R] invokes a package manager to install packages."
17097 "\\fR"
17098 msgstr ""
17099
17100 #. type: Plain text
17101 #: fedora-44 fedora-rawhide
17102 msgid ""
17103 "As with the base tree logic above, instead of a directory, a tar file may be "
17104 "provided too. \\f[B]mkosi.extra.tar\\f[R] will be automatically used if "
17105 "found in the local directory.\\fR"
17106 msgstr ""
17107
17108 #. type: Plain text
17109 #: fedora-44 fedora-rawhide
17110 msgid ""
17111 "Takes a boolean or \\f[B]auto\\f[R]. Enables or disables generation of a "
17112 "bootable image. If enabled, \\f[B]mkosi\\f[R] will install an EFI "
17113 "bootloader, and add an ESP partition when the disk image output is used. If "
17114 "the selected EFI bootloader (see \\f[B]Bootloader=\\f[R]) is not installed "
17115 "or no kernel images can be found, the build will fail. \\f[B]auto\\f[R] "
17116 "behaves as if the option was enabled, but the build won\\[cq]t fail if "
17117 "either no kernel images or the selected EFI bootloader can\\[cq]t be found. "
17118 "If disabled, no bootloader will be installed even if found inside the image, "
17119 "no unified kernel images will be generated and no ESP partition will be "
17120 "added to the image if the disk output format is used.\\fR"
17121 msgstr ""
17122
17123 #. type: Plain text
17124 #: fedora-44 fedora-rawhide
17125 msgid ""
17126 "If the \\f[B]esp\\f[R] output format is used, an ESP partition and "
17127 "bootloader are always added, and the \\f[B]Bootable=\\f[R] option only "
17128 "controls whether a UKI is added to the ESP partition or not.\\fR"
17129 msgstr ""
17130
17131 #. type: Plain text
17132 #: fedora-44 fedora-rawhide
17133 msgid ""
17134 "The \\f[B]signed\\f[R] variants will only install pre-signed EFI binaries "
17135 "shipped by the distribution.\\fR"
17136 msgstr ""
17137
17138 #. type: Plain text
17139 #: fedora-44 fedora-rawhide
17140 msgid ""
17141 "Kernels need to be placed into the root filesystem (for example using "
17142 "\\f[B]ExtraTrees=\\f[R]) under \\f[B]/usr/lib/modules/$version\\f[R], named "
17143 "\\f[B]vmlinux\\f[R] or \\f[B]vmlinuz\\f[R]. The \\f[B]$version\\f[R] is as "
17144 "produced by Kbuild\\[cq]s \\f[B]kernelversion\\f[R] make target.\\fR"
17145 msgstr ""
17146
17147 #. type: Plain text
17148 #: fedora-44 fedora-rawhide
17149 msgid ""
17150 "Note: When using \\f[B]systemd-boot\\f[R] or \\f[B]systemd-boot-"
17151 "signed\\f[R], \\f[B]mkosi\\f[R] expects the \\f[B]systemd-boot\\f[R] EFI "
17152 "binaries to be present in the image. Depending on your distribution, these "
17153 "may be packaged separately. For example, Debian- based images will need "
17154 "\\f[B]systemd-boot-efi\\f[R].\\fR"
17155 msgstr ""
17156
17157 #. type: Plain text
17158 #: fedora-44 fedora-rawhide
17159 msgid ""
17160 "Note that this option is not mutually exclusive with "
17161 "\\f[B]Bootloader=\\f[R]. It is possible to have an image that is both "
17162 "bootable on UEFI and BIOS by configuring both \\f[B]Bootloader=\\f[R] and "
17163 "\\f[B]BiosBootloader=\\f[R].\\fR"
17164 msgstr ""
17165
17166 #. type: Plain text
17167 #: fedora-44 fedora-rawhide
17168 msgid ""
17169 "The grub BIOS boot partition should have UUID "
17170 "\\f[B]21686148-6449-6e6f-744e-656564454649\\f[R] and should be at least 1MB."
17171 "\\fR"
17172 msgstr ""
17173
17174 #. type: Plain text
17175 #: fedora-44 fedora-rawhide
17176 msgid ""
17177 "Takes one of \\f[B]none\\f[R], \\f[B]unsigned\\f[R], or \\f[B]signed\\f[R]. "
17178 "Defaults to \\f[B]none\\f[R]. If set to \\f[B]none\\f[R], shim and "
17179 "MokManager will not be installed to the ESP. If set to "
17180 "\\f[B]unsigned\\f[R], \\f[B]mkosi\\f[R] will search for unsigned shim and "
17181 "MokManager EFI binaries and install them. If \\f[B]SecureBoot=\\f[R] is "
17182 "enabled, \\f[B]mkosi\\f[R] will sign the unsigned EFI binaries before "
17183 "installing them. If set to \\f[B]signed\\f[R], \\f[B]mkosi\\f[R] will "
17184 "search for signed EFI binaries and install those. Even if "
17185 "\\f[B]SecureBoot=\\f[R] is enabled, \\f[B]mkosi\\f[R] won\\[cq]t sign these "
17186 "binaries again.\\fR"
17187 msgstr ""
17188
17189 #. type: Plain text
17190 #: fedora-44 fedora-rawhide
17191 msgid ""
17192 "Note that this option only takes effect when an image that is bootable on "
17193 "UEFI firmware is requested using other options (\\f[B]Bootable=\\f[R], "
17194 "\\f[B]Bootloader=\\f[R]).\\fR"
17195 msgstr ""
17196
17197 #. type: Plain text
17198 #: fedora-44 fedora-rawhide
17199 msgid ""
17200 "See the documentation for the \\f[B]UKIProfile\\f[R] section for information "
17201 "on which settings can be configured in UKI profile config files.\\fR"
17202 msgstr ""
17203
17204 #. type: Plain text
17205 #: fedora-44 fedora-rawhide
17206 msgid ""
17207 "For UKI builds, multiple matches enable automatic hardware-based selection "
17208 "using the \\f[B].dtbauto\\f[R] sections. Type 1 boot entries require "
17209 "exactly one match.\\fR"
17210 msgstr ""
17211
17212 #. type: Plain text
17213 #: fedora-44 fedora-rawhide
17214 msgid ""
17215 "Example: \\f[B]Devicetrees=rockchip/*,imx.*\\f[R] would include all Rockchip "
17216 "devicetrees and any IMX devicetrees.\\fR"
17217 msgstr ""
17218
17219 #. type: Plain text
17220 #: fedora-44 fedora-rawhide
17221 msgid ""
17222 "The \\f[B].ko\\f[R] suffix and compression suffix are ignored during "
17223 "matching.\\fR"
17224 msgstr ""
17225
17226 #. type: Plain text
17227 #: fedora-44 fedora-rawhide
17228 msgid ""
17229 "Globs are matched against module paths relative to \\f[B]/usr/lib/module/"
17230 "E<lt>kverE<gt>\\f[R], e.g.\\ the module at \\f[B]/usr/lib/module/"
17231 "E<lt>kverE<gt>/kernel/foo/bar.ko.xz\\f[R] becomes \\f[B]kernel/foo/bar\\f[R] "
17232 "for matching purposes.\\fR"
17233 msgstr ""
17234
17235 #. type: Plain text
17236 #: fedora-44 fedora-rawhide
17237 msgid ""
17238 "Globs beginning with \\[lq]/\\[rq] are treated specially. The glob is "
17239 "\\f[I]first\\f[R] matched against a path relative to \\f[B]/usr/lib/module/"
17240 "E<lt>kverE<gt>/kernel\\f[R], and only then against \\f[B]/usr/lib/module/"
17241 "E<lt>kverE<gt>/\\f[R]. This is a convenience, since usually only the in-"
17242 "tree modules under \\f[B]kernel/\\f[R] are of interest.\\fR"
17243 msgstr ""
17244
17245 #. type: Plain text
17246 #: fedora-44 fedora-rawhide
17247 msgid ""
17248 "For example, the module at\\f[B]/usr/lib/module/E<lt>kverE<gt>/kernel/foo/"
17249 "bar.ko.xz\\f[R] can be matched by either \\f[B]/foo/bar\\f[R] or \\f[B]/"
17250 "kernel/foo/bar\\f[R].\\fR"
17251 msgstr ""
17252
17253 #. type: Plain text
17254 #: fedora-44 fedora-rawhide
17255 msgid ""
17256 "The glob patterns may include just the basename (e.g.\\ \\f[B]loop\\f[R]), "
17257 "which must match the basename of the module, the relative path (e.g.\\ "
17258 "\\f[B]block/loop\\f[R]), which must match the final components of the module "
17259 "path up to the basename, or an absolute path (e.g.\\ \\f[B]/drivers/block/"
17260 "loop\\f[R]), which must match the full path to the module.\\fR"
17261 msgstr ""
17262
17263 #. type: Plain text
17264 #: fedora-44 fedora-rawhide
17265 msgid ""
17266 "When suffixed with \\f[B]/\\f[R], the pattern will match all modules "
17267 "underneath that directory.\\fR"
17268 msgstr ""
17269
17270 #. type: Plain text
17271 #: fedora-44 fedora-rawhide
17272 msgid ""
17273 "The patterns may include shell-style globs (\\f[B]*\\f[R], \\f[B]?\\f[R], "
17274 "\\f[B][\\&...-\\&...]\\f[R]).\\fR"
17275 msgstr ""
17276
17277 #. type: Plain text
17278 #: fedora-44 fedora-rawhide
17279 msgid ""
17280 "If the special value \\f[B]default\\f[R] is used, the default kernel modules "
17281 "defined in the \\f[B]mkosi-initrd\\f[R] configuration are included as well."
17282 "\\fR"
17283 msgstr ""
17284
17285 #. type: Plain text
17286 #: fedora-44 fedora-rawhide
17287 msgid ""
17288 "If the special value \\f[B]host\\f[R] is used, the currently loaded modules "
17289 "on the host system are included as well.\\fR"
17290 msgstr ""
17291
17292 #. type: Plain text
17293 #: fedora-44 fedora-rawhide
17294 msgid ""
17295 "Example: \\f[B]FirmwareFiles=cxgb4/bcm8483.bin\\f[R] or "
17296 "\\f[B]FirmwareFiles=bcm8483.*\\f[R] would both cause \\f[B]/usr/lib/firmware/"
17297 "cxgb4/bcm8483.bin.xz\\f[R] to be included, even if not listed by a module."
17298 "\\fR"
17299 msgstr ""
17300
17301 #. type: Plain text
17302 #: fedora-44 fedora-rawhide
17303 msgid ""
17304 "If set to \\f[B]auto\\f[R] and \\f[B]sshd\\f[R] is present in the image and "
17305 "the generator binary \\f[B]systemd-ssh-generator\\f[R] is not present, or if "
17306 "set to \\f[B]always\\f[R], mkosi will install \\f[B]sshd\\f[R] units in the "
17307 "final image that expose SSH over VSock. If set to \\f[B]never\\f[R], mkosi "
17308 "will not install these units. If the \\f[B]runtime\\f[R] value is used, "
17309 "mkosi will also not install any units but abort starting \\f[B]mkosi "
17310 "vm\\f[R] if no SSH credentials are configured. When building with this "
17311 "option and running the image using \\f[B]mkosi vm\\f[R], the \\f[B]mkosi "
17312 "ssh\\f[R] command can be used to connect to the container/VM via SSH. Note "
17313 "that you still have to make sure openssh is installed in the image to make "
17314 "\\f[B]mkosi ssh\\f[R] behave correctly. Run \\f[B]mkosi genkey\\f[R] to "
17315 "automatically generate an X.509 certificate and private key to be used by "
17316 "\\f[B]mkosi\\f[R] to enable SSH access to any virtual machines via "
17317 "\\f[B]mkosi ssh\\f[R]. To access images booted using \\f[B]mkosi "
17318 "boot\\f[R], use \\f[B]machinectl\\f[R].\\fR"
17319 msgstr ""
17320
17321 #. type: Plain text
17322 #: fedora-44 fedora-rawhide
17323 msgid ""
17324 "Starting with systemd v256, systemd-ssh-generator(8) will automatically "
17325 "provide \\f[B]sshd\\f[R] over VSock when running inside a VM. So if you\\"
17326 "[cq]re using a recent version of systemd inside a VM, this option is "
17327 "generally not used. You still need openssh installed in the image, and the "
17328 "default setting of \\f[B]--vsock=auto\\f[R] is enough to ensure a VSock is "
17329 "available inside the VM.\\fR"
17330 msgstr ""
17331
17332 #. type: Plain text
17333 #: fedora-44 fedora-rawhide
17334 msgid ""
17335 "Note: if the image distro uses SELinux, mkosi\\[cq]s sshd service will be "
17336 "denied access to the VSock, resulting in failure to connect to it from the "
17337 "host. You will need to either disable SELinux enforcement, or create a "
17338 "custom policy module (e.g.\\ with \\f[B]audit2allow\\f[R]).\\fR"
17339 msgstr ""
17340
17341 #. type: Plain text
17342 #: fedora-44 fedora-rawhide
17343 msgid ""
17344 "Specifies whether to relabel files to match the image\\[cq]s SELinux "
17345 "policy. Takes a boolean value or \\f[B]auto\\f[R]. Defaults to "
17346 "\\f[B]auto\\f[R]. If disabled, files will not relabeled. If enabled, an "
17347 "SELinux policy has to be installed in the image and \\f[B]setfiles\\f[R] has "
17348 "to be available to relabel files. If any errors occur during "
17349 "\\f[B]setfiles\\f[R], the build will fail. If set to \\f[B]auto\\f[R], "
17350 "files will be relabeled if mkosi is not building a directory image, an "
17351 "SELinux policy is installed in the image and if \\f[B]setfiles\\f[R] is "
17352 "available. Any errors occurred during \\f[B]setfiles\\f[R] will be ignored."
17353 "\\fR"
17354 msgstr ""
17355
17356 #. type: Plain text
17357 #: fedora-44 fedora-rawhide
17358 msgid ""
17359 "Whether to enforce or disable verity for extension images. Takes one of "
17360 "\\f[B]signed\\f[R], \\f[B]hash\\f[R], \\f[B]defer\\f[R], \\f[B]auto\\f[R] or "
17361 "a boolean value. If set to \\f[B]signed\\f[R], a verity key and certificate "
17362 "must be present and the build will fail if we don\\[cq]t detect any verity "
17363 "partitions in the disk image produced by \\f[B]systemd-repart\\f[R]. If "
17364 "disabled, verity partitions will be excluded from the extension images "
17365 "produced by \\f[B]systemd-repart\\f[R]. If set to \\f[B]hash\\f[R], "
17366 "\\f[B]mkosi\\f[R] configures \\f[B]systemd-repart\\f[R] to create a verity "
17367 "hash partition, but no signature partition. If set to \\f[B]defer\\f[R], "
17368 "space for the verity sig partition will be allocated but it will not be "
17369 "populated yet. If set to \\f[B]auto\\f[R] and a verity key and certificate "
17370 "are present, \\f[B]mkosi\\f[R] will pass them to \\f[B]systemd-repart\\f[R] "
17371 "and expects the generated disk image to contain verity partitions, but the "
17372 "build won\\[cq]t fail if no verity partitions are found in the disk image "
17373 "produced by \\f[B]systemd-repart\\f[R].\\fR"
17374 msgstr ""
17375
17376 #. type: Plain text
17377 #: fedora-44 fedora-rawhide
17378 msgid ""
17379 "Note that explicitly disabling verity signature and/or hash is not yet "
17380 "implemented for the \\f[B]disk\\f[R] output and only works for extension "
17381 "images at the moment.\\fR"
17382 msgstr ""
17383
17384 #. type: Plain text
17385 #: fedora-44 fedora-rawhide
17386 msgid ""
17387 "Note that this setting on its own does not enable any encryption. You also "
17388 "have to add one or more partition definition files to \\f[B]mkosi.repart/"
17389 "\\f[R] with \\f[B]Encrypt=key-file\\f[R] to add encrypted partitions to the "
17390 "image.\\fR"
17391 msgstr ""
17392
17393 #. type: Plain text
17394 #: fedora-44 fedora-rawhide
17395 msgid ""
17396 "Exemplary choices are \\f[B]sqop\\f[R] and \\f[B]rsop\\f[R], but any "
17397 "implementation from https://www.openpgp.org/about/sop/ that can be installed "
17398 "locally will work.\\fR"
17399 msgstr ""
17400
17401 #. type: Plain text
17402 #: fedora-44 fedora-rawhide
17403 msgid ""
17404 "The tools tree directory is kept between repeated image builds unless "
17405 "cleaned by calling \\f[B]mkosi clean -f\\f[R].\\fR"
17406 msgstr ""
17407
17408 #. type: Plain text
17409 #: fedora-44 fedora-rawhide
17410 msgid ""
17411 "Note that binaries found in any of the paths configured with "
17412 "\\f[B]ExtraSearchPaths=\\f[R] will be executed with \\f[B]/usr/\\f[R] from "
17413 "the tools tree instead of from the host. If the host distribution or "
17414 "release does not match the tools tree distribution or release respectively, "
17415 "this might result in failures when trying to execute binaries from any of "
17416 "the extra search paths.\\fR"
17417 msgstr ""
17418
17419 #. type: Plain text
17420 #: fedora-44 fedora-rawhide
17421 msgid ""
17422 "If set to \\f[B]yes\\f[R], \\f[B]mkosi\\f[R] will automatically add an extra "
17423 "tools tree image and use it as the tools tree. This image can be further "
17424 "configured using the settings below or with \\f[B]mkosi.tools.conf\\f[R] "
17425 "which can either be a file or directory containing extra configuration for "
17426 "the default tools tree.\\fR"
17427 msgstr ""
17428
17429 #. type: Plain text
17430 #: fedora-44 fedora-rawhide
17431 msgid ""
17432 "The \\f[B]devel\\f[R] profile contains tools required to build (C/C++) "
17433 "projects. The \\f[B]misc\\f[R] profile contains various useful tools that "
17434 "are handy to have available in scripts. The package manager profile "
17435 "contains package managers and related tools other than those native to the "
17436 "tools tree distribution. The \\f[B]runtime\\f[R] profile contains the tools "
17437 "required to boot images in a systemd-nspawn container or in a virtual "
17438 "machine.\\fR"
17439 msgstr ""
17440
17441 #. type: Plain text
17442 #: fedora-44 fedora-rawhide
17443 msgid ""
17444 "If set to \\f[B]strict\\f[R], the build fails if previously built cached "
17445 "image does not exist.\\fR"
17446 msgstr ""
17447
17448 #. type: Plain text
17449 #: fedora-44 fedora-rawhide
17450 msgid ""
17451 "Takes one of \\f[B]auto\\f[R], \\f[B]metadata\\f[R], \\f[B]always\\f[R] or "
17452 "\\f[B]never\\f[R]. Defaults to \\f[B]auto\\f[R]. If \\f[B]always\\f[R], "
17453 "the package manager is instructed not to contact the network. This provides "
17454 "a minimal level of reproducibility, as long as the package cache is already "
17455 "fully populated. If set to \\f[B]metadata\\f[R], the package manager can "
17456 "still download packages, but we won\\[cq]t sync the repository metadata. If "
17457 "set to \\f[B]auto\\f[R], the repository metadata is synced unless we have a "
17458 "cached image (see \\f[B]Incremental=\\f[R]) and packages can be downloaded "
17459 "during the build. If set to \\f[B]never\\f[R], repository metadata is "
17460 "always synced and packages can be downloaded during the build.\\fR"
17461 msgstr ""
17462
17463 #. type: Plain text
17464 #: fedora-44 fedora-rawhide
17465 msgid ""
17466 "Specifies the subdirectory within the cache directory where to store the "
17467 "cached image. This may include both the regular specifiers (see "
17468 "\\f[B]Specifiers\\f[R]) and special delayed specifiers, that are expanded "
17469 "after config parsing has finished, instead of during config parsing, which "
17470 "are described below. The default format for this parameter is \\f[B]&d\\"
17471 "[ti]&r\\[ti]&a\\[ti]&I\\f[R].\\fR"
17472 msgstr ""
17473
17474 #. type: Plain text
17475 #: fedora-44 fedora-rawhide
17476 msgid ""
17477 "Takes a path to a directory to use as the package cache directory for the "
17478 "distribution package manager used. If unset, but a \\f[B]mkosi.pkgcache/"
17479 "\\f[R] directory is found in the local directory it is automatically used "
17480 "for this purpose, otherwise a suitable directory in the user\\[cq]s home "
17481 "directory or system is used.\\fR"
17482 msgstr ""
17483
17484 #. type: Plain text
17485 #: fedora-44 fedora-rawhide
17486 msgid ""
17487 "Takes a path to a directory to use as the build directory for build systems "
17488 "that support out-of-tree builds (such as Meson). The directory used this "
17489 "way is shared between repeated builds, and allows the build system to reuse "
17490 "artifacts (such as object files, executable, \\&...) generated on previous "
17491 "invocations. The build scripts can find the path to this directory in the "
17492 "\\f[B]$BUILDDIR\\f[R] environment variable. This directory is mounted into "
17493 "the image\\[cq]s root directory when \\f[B]mkosi-chroot\\f[R] is invoked "
17494 "during execution of the build scripts. If this option is not specified, but "
17495 "a directory \\f[B]mkosi.builddir/\\f[R] exists in the local directory it is "
17496 "automatically used for this purpose (also see the \\f[B]FILES\\f[R] section "
17497 "below).\\fR"
17498 msgstr ""
17499
17500 #. type: Plain text
17501 #: fedora-44 fedora-rawhide
17502 msgid ""
17503 "Specifies the subdirectory within the build directory where to store "
17504 "incremental build artifacts. This may include both the regular specifiers "
17505 "(see \\f[B]Specifiers\\f[R]) and special delayed specifiers, that are "
17506 "expanded after config parsing has finished, instead of during config "
17507 "parsing, which are the same delayed specifiers that are supported by "
17508 "\\f[B]CacheKey=\\f[R]. The default format for this parameter is \\f[B]&d\\"
17509 "[ti]&r\\[ti]&a\\f[R].\\fR"
17510 msgstr ""
17511
17512 #. type: Plain text
17513 #: fedora-44 fedora-rawhide
17514 msgid ""
17515 "To disable usage of a build subdirectory completely, assign a literal \\f[B]-"
17516 "\\f[R] to this setting.\\fR"
17517 msgstr ""
17518
17519 #. type: Plain text
17520 #: fedora-44 fedora-rawhide
17521 msgid ""
17522 "Note that when using \\f[B]RepartOffline=no\\f[R], \\f[B]mkosi\\f[R] cannot "
17523 "run unprivileged and the image build has to be done as the root user outside "
17524 "of any containers and with loopback devices available on the host system.\\fR"
17525 msgstr ""
17526
17527 #. type: Plain text
17528 #: fedora-44 fedora-rawhide
17529 msgid ""
17530 "There are currently two known scenarios where \\f[B]RepartOffline=no\\f[R] "
17531 "has to be used. The first is when using \\f[B]Subvolumes=\\f[R] in a repart "
17532 "partition definition file, as subvolumes cannot be created without using "
17533 "loopback devices. The second is when creating a system with SELinux and an "
17534 "XFS root partition. Because \\f[B]mkfs.xfs\\f[R] does not support "
17535 "populating an XFS filesystem with extended attributes, loopback devices have "
17536 "to be used to ensure the SELinux extended attributes end up in the generated "
17537 "XFS filesystem.\\fR"
17538 msgstr ""
17539
17540 #. type: Plain text
17541 #: fedora-44 fedora-rawhide
17542 msgid ""
17543 "To give an example of why this is useful, if you run \\f[B]mkosi -O my-"
17544 "custom-output-dir -f\\f[R] followed by \\f[B]mkosi vm\\f[R], "
17545 "\\f[B]mkosi\\f[R] will fail saying the image hasn\\[cq]t been built yet. If "
17546 "you run \\f[B]mkosi -O my-custom-output-dir --history=yes -f\\f[R] followed "
17547 "by \\f[B]mkosi vm\\f[R], it will boot the image built in the previous step "
17548 "as expected.\\fR"
17549 msgstr ""
17550
17551 #. type: Plain text
17552 #: fedora-44 fedora-rawhide
17553 msgid ""
17554 "💥💣💥 If set to \\f[B]buildcache\\f[R] the overlay is not discarded when "
17555 "running build scripts, but saved to the build directory, configured via "
17556 "\\f[B]BuildDirectory=\\f[R], and will be reused on subsequent runs. The "
17557 "overlay is still discarded for all other scripts. This option can be used "
17558 "to implement more advanced caching of builds, but can lead to unexpected "
17559 "states of the source directory. When using this option, a build directory "
17560 "must be configured. 💥💣💥\\fR"
17561 msgstr ""
17562
17563 #. type: Plain text
17564 #: fedora-44 fedora-rawhide
17565 msgid ""
17566 "When set to \\f[B]qemu\\f[R], the image is booted with \\f[B]qemu\\f[R]. "
17567 "Most output formats can be booted in \\f[B]qemu\\f[R]. Any arguments "
17568 "specified after the verb are appended to the \\f[B]qemu\\f[R] invocation and "
17569 "are interpreted as extra \\f[B]qemu\\f[R] command line arguments.\\fR"
17570 msgstr ""
17571
17572 #. type: Plain text
17573 #: fedora-44 fedora-rawhide
17574 msgid ""
17575 "When set to \\f[B]vmspawn\\f[R], \\f[B]systemd-vmspawn\\f[R] is used to boot "
17576 "up the image, \\f[B]vmspawn\\f[R] only supports disk and directory type "
17577 "images. Any arguments specified after the verb are appended to the "
17578 "\\f[B]systemd-vmspawn\\f[R] invocation and are interpreted as extra vmspawn "
17579 "options and extra kernel command line arguments.\\fR"
17580 msgstr ""
17581
17582 #. type: Plain text
17583 #: fedora-44 fedora-rawhide
17584 msgid ""
17585 "Configures how to set up the console of the VM. Takes one of "
17586 "\\f[B]interactive\\f[R], \\f[B]read-only\\f[R], \\f[B]native\\f[R], or "
17587 "\\f[B]gui\\f[R]. Defaults to \\f[B]interactive\\f[R]. "
17588 "\\f[B]interactive\\f[R] provides an interactive terminal interface to the "
17589 "VM. \\f[B]read-only\\f[R] is similar, but is strictly read-only, i.e.\\ "
17590 "does not accept any input from the user. \\f[B]native\\f[R] also provides a "
17591 "TTY-based interface, but uses \\f[B]qemu\\f[R]\\[cq]s native implementation "
17592 "(which means the \\f[B]qemu\\f[R] monitor is available). \\f[B]gui\\f[R] "
17593 "shows the \\f[B]qemu\\f[R] graphical UI.\\fR"
17594 msgstr ""
17595
17596 #. type: Plain text
17597 #: fedora-44 fedora-rawhide
17598 msgid ""
17599 "When set to \\f[B]0\\f[R], the number of CPUs available to the "
17600 "\\f[B]mkosi\\f[R] process will be used.\\fR"
17601 msgstr ""
17602
17603 #. type: Plain text
17604 #: fedora-44 fedora-rawhide
17605 msgid ""
17606 "When set to \\f[B]microsoft\\f[R], a firmware variables file with the "
17607 "Microsoft secure boot certificates already enrolled will be used.\\fR"
17608 msgstr ""
17609
17610 #. type: Plain text
17611 #: fedora-44 fedora-rawhide
17612 msgid ""
17613 "When set to \\f[B]microsoft-mok\\f[R], a firmware variables file with the "
17614 "Microsoft secure boot certificates already enrolled will be extended with a "
17615 "\\f[B]MokList\\f[R] variable containing the secure boot certificate from "
17616 "\\f[B]SecureBootCertificate=\\f[R]. This is intended to be used together "
17617 "with shim binaries signed by the distribution and locally signed EFI "
17618 "binaries.\\fR"
17619 msgstr ""
17620
17621 #. type: Plain text
17622 #: fedora-44 fedora-rawhide
17623 msgid ""
17624 "When set to \\f[B]custom\\f[R], the secure boot certificate from "
17625 "\\f[B]SecureBootCertificate=\\f[R] will be enrolled into the default "
17626 "firmware variables file.\\fR"
17627 msgstr ""
17628
17629 #. type: Plain text
17630 #: fedora-44 fedora-rawhide
17631 msgid ""
17632 "\\f[B]virt-fw-vars\\f[R] from the E<.UR https://gitlab.com/kraxel/virt-"
17633 "firmware> virt-firmware E<.UE > \\ project can be used to customize OVMF "
17634 "variable files.\\fR"
17635 msgstr ""
17636
17637 #. type: Plain text
17638 #: fedora-44 fedora-rawhide
17639 msgid ""
17640 "Note that when the \\f[B]cpio\\f[R] output format is used, direct kernel "
17641 "boot is used regardless of the configured firmware. Depending on the "
17642 "configured firmware, \\f[B]qemu\\f[R] might boot the kernel itself or using "
17643 "the configured firmware.\\fR"
17644 msgstr ""
17645
17646 #. type: Plain text
17647 #: fedora-44 fedora-rawhide
17648 msgid ""
17649 "Add a drive. Takes a colon-delimited string of format "
17650 "\\f[B]E<lt>idE<gt>:E<lt>sizeE<gt>[:E<lt>directoryE<gt>[:E<lt>optionsE<gt>[:E<lt>file-"
17651 "idE<gt>[:E<lt>flagsE<gt>]]]]\\f[R]. \\f[B]id\\f[R] specifies the ID "
17652 "assigned to the drive. This can be used as the \\f[B]drive=\\f[R] property "
17653 "in various \\f[B]qemu\\f[R] devices. \\f[B]size\\f[R] specifies the size of "
17654 "the drive. This takes a size in bytes. Additionally, the suffixes "
17655 "\\f[B]K\\f[R], \\f[B]M\\f[R] and \\f[B]G\\f[R] can be used to specify a size "
17656 "in kilobytes, megabytes and gigabytes respectively. \\f[B]directory\\f[R] "
17657 "optionally specifies the directory in which to create the file backing the "
17658 "drive. If unset, the file will be created under \\f[B]/var/tmp\\f[R]. "
17659 "\\f[B]options\\f[R] optionally specifies extra comma-delimited properties "
17660 "which are passed verbatim to \\f[B]qemu\\f[R]\\[cq]s \\f[B]-blockdev\\f[R] "
17661 "option. \\f[B]file-id\\f[R] specifies the ID of the file backing the "
17662 "drive. If unset, this defaults to the drive ID. Drives with the same file "
17663 "ID will share the backing file. The directory and size of the file will be "
17664 "determined from the first drive with a given file ID. \\f[B]flags\\f[R] "
17665 "takes a comma-separated list of drive flags which currently only supports "
17666 "\\f[B]persist\\f[R]. \\f[B]persist\\f[R] determines whether the drive will "
17667 "be persisted across \\f[B]qemu\\f[R] invocations. The files backing the "
17668 "drives will be created with the schema \\f[B]/E<lt>directoryE<gt>/mkosi-"
17669 "drive-E<lt>machine-or-image-nameE<gt>-E<lt>file-idE<gt>\\f[R]. You can skip "
17670 "values by setting them to the empty string, specifying e.g.\\ "
17671 "\\f[B]myfs:1G::::persist\\f[R] will create a persistent drive under \\f[B]/"
17672 "var/tmp/mkosi-drive-main-myfs\\f[R].\\fR"
17673 msgstr ""
17674
17675 #. type: Plain text
17676 #: fedora-44 fedora-rawhide
17677 msgid ""
17678 "Note that values will only be treated as paths if they do not contain the "
17679 "delimiter (\\f[B]=\\f[R]).\\fR"
17680 msgstr ""
17681
17682 #. type: Plain text
17683 #: fedora-44 fedora-rawhide
17684 msgid ""
17685 "Note that when using \\f[B]mkosi vm\\f[R] with this feature systemd v254 or "
17686 "newer has to be installed in the image.\\fR"
17687 msgstr ""
17688
17689 #. type: Plain text
17690 #: fedora-44 fedora-rawhide
17691 msgid ""
17692 "If specified, disk images are grown to the specified size when they\\[cq]re "
17693 "booted with \\f[B]mkosi boot\\f[R] or \\f[B]mkosi vm\\f[R]. Takes a size in "
17694 "bytes. Additionally, the suffixes \\f[B]K\\f[R], \\f[B]M\\f[R] and "
17695 "\\f[B]G\\f[R] can be used to specify a size in kilobytes, megabytes and "
17696 "gigabytes respectively.\\fR"
17697 msgstr ""
17698
17699 #. type: Plain text
17700 #: fedora-44 fedora-rawhide
17701 msgid ""
17702 "Note that when using \\f[B]interface\\f[R], \\f[B]mkosi\\f[R] does not "
17703 "automatically configure the host interface. It is expected that a recent "
17704 "version of \\f[B]systemd-networkd\\f[R] is running on the host which will "
17705 "automatically configure the host interface of the link.\\fR"
17706 msgstr ""
17707
17708 #. type: Plain text
17709 #: fedora-44 fedora-rawhide
17710 msgid ""
17711 "Note that \\f[B]Ephemeral=\\f[R] has to be enabled to start multiple "
17712 "instances of the same image.\\fR"
17713 msgstr ""
17714
17715 #. type: Plain text
17716 #: fedora-44 fedora-rawhide
17717 msgid ""
17718 "Takes a boolean value or \\f[B]auto\\f[R]. Specifies whether to register "
17719 "the vm/container with systemd-machined. If enabled, mkosi will fail if it "
17720 "can\\[cq]t register the vm/container with systemd-machined. If disabled, "
17721 "mkosi will not register the vm/container with systemd-machined. If "
17722 "\\f[B]auto\\f[R], mkosi will register the vm/container with systemd-machined "
17723 "if it is available. Defaults to \\f[B]auto\\f[R].\\fR"
17724 msgstr ""
17725
17726 #. type: Plain text
17727 #: fedora-44 fedora-rawhide
17728 msgid ""
17729 "Note that if a path with the \\f[B].journal\\f[R] extension is given, the "
17730 "journal size is limited to \\f[B]4G\\f[R]. Configure an output directory "
17731 "instead of file if your workload produces more than \\f[B]4G\\f[R] worth of "
17732 "journal data.\\fR"
17733 msgstr ""
17734
17735 #. type: Plain text
17736 #: fedora-44 fedora-rawhide
17737 msgid ""
17738 "Note that \\f[B]mkosi sysupdate\\f[R] invokes \\f[B]systemd-sysupdate\\f[R] "
17739 "with \\f[B]--transfer-source=\\f[R] set to the \\f[B]mkosi\\f[R] output "
17740 "directory. To make use of this in a transfer definition file, set "
17741 "\\f[B]PathRelativeTo=explicit\\f[R] to have the \\f[B]Path=\\f[R] setting "
17742 "for the transfer source be interpreted relative to the \\f[B]mkosi\\f[R] "
17743 "output directory. Generally, configuring "
17744 "\\f[B]PathRelativeTo=explicit\\f[R] and \\f[B]Path=/\\f[R] for the transfer "
17745 "source is sufficient for the match pattern to be interpreted relative to the "
17746 "\\f[B]mkosi\\f[R] output directory.\\fR"
17747 msgstr ""
17748
17749 #. type: Plain text
17750 #: fedora-44 fedora-rawhide
17751 msgid ""
17752 "Matches against the host\\[cq]s native architecture. See the "
17753 "\\f[B]Architecture=\\f[R] setting for a list of possible values.\\fR"
17754 msgstr ""
17755
17756 #. type: Plain text
17757 #: fedora-44 fedora-rawhide
17758 msgid ""
17759 "Note that each path containing extra configuration is only parsed once, even "
17760 "if included more than once with \\f[B]Include=\\f[R].\\fR"
17761 msgstr ""
17762
17763 #. type: Plain text
17764 #: fedora-44 fedora-rawhide
17765 msgid ""
17766 "The builtin configs for the \\f[B]mkosi\\f[R] default initrd, default tools "
17767 "tree, default virtual machine image and default UKI addon can be included by "
17768 "including the literal value \\f[B]mkosi-initrd\\f[R], \\f[B]mkosi-"
17769 "tools\\f[R], \\f[B]mkosi-vm\\f[R] or \\f[B]mkosi-addon\\f[R] respectively."
17770 "\\fR"
17771 msgstr ""
17772
17773 #. type: Plain text
17774 #: fedora-44 fedora-rawhide
17775 msgid ""
17776 "Note: Include names starting with either of the literals \\f[B]mkosi-\\f[R] "
17777 "or \\f[B]contrib-\\f[R] are reserved for use by \\f[B]mkosi\\f[R] itself.\\fR"
17778 msgstr ""
17779
17780 #. type: Plain text
17781 #: fedora-44 fedora-rawhide
17782 msgid ""
17783 "The minimum version can also be specified as a git commit hash when prefixed "
17784 "with \\f[B]commit:\\f[R], in which case mkosi must be executed from a git "
17785 "checkout and the specified git commit hash must be an ancestor of the "
17786 "currently checked out git commit in the repository that mkosi is being "
17787 "executed from.\\fR"
17788 msgstr ""
17789
17790 #. type: Plain text
17791 #: fedora-44 fedora-rawhide
17792 msgid ""
17793 "If we\\[cq]re not running as root, unshare the user namespace and map the "
17794 "subuid range configured in \\f[B]/etc/subuid\\f[R] and \\f[B]/etc/"
17795 "subgid\\f[R] into it.\\fR"
17796 msgstr ""
17797
17798 #. type: Plain text
17799 #: fedora-44 fedora-rawhide
17800 msgid ""
17801 "To allow for image customization that cannot be implemented using "
17802 "\\f[B]mkosi\\f[R]\\[cq]s builtin features, \\f[B]mkosi\\f[R] supports "
17803 "running scripts at various points during the image build process that can "
17804 "customize the image as needed. Scripts are executed on the host system as "
17805 "root (either real root or root within the user namespace that "
17806 "\\f[B]mkosi\\f[R] created when running unprivileged) with a customized "
17807 "environment to simplify modifying the image. For each script, the "
17808 "configured build sources (\\f[B]BuildSources=\\f[R]) are mounted into the "
17809 "current working directory before running the script in the current working "
17810 "directory. \\f[B]$SRCDIR\\f[R] is set to point to the current working "
17811 "directory. The following scripts are supported:\\fR"
17812 msgstr ""
17813
17814 #. type: Plain text
17815 #: fedora-44 fedora-rawhide
17816 msgid ""
17817 "If \\f[R]mkosi.prepare\\f[R] (\\f[B]PrepareScripts=\\f[R]) exists, it is "
17818 "first called with the \\f[B]final\\f[R] argument, right after the software "
17819 "packages are installed. It is called a second time with the "
17820 "\\f[B]build\\f[R] command line parameter, right after the build packages are "
17821 "installed and the build overlay mounted on top of the image\\[cq]s root "
17822 "directory . This script has network access and may be used to install "
17823 "packages from other sources than the distro\\[cq]s package manager (e.g.\\ "
17824 "\\f[B]pip\\f[R], \\f[B]npm\\f[R], \\&...), after all software packages are "
17825 "installed but before the image is cached (if incremental mode is enabled). "
17826 "In contrast to a general purpose installation, it is safe to install "
17827 "packages to the system (\\f[B]pip install\\f[R], \\f[B]npm install -g\\f[R]) "
17828 "instead of in \\f[B]$SRCDIR\\f[R] itself because the build image is only "
17829 "used for a single project and can easily be thrown away and rebuilt so "
17830 "there\\[cq]s no risk of conflicting dependencies and no risk of polluting "
17831 "the host system.\\fR"
17832 msgstr ""
17833
17834 #. type: Plain text
17835 #: fedora-44 fedora-rawhide
17836 msgid ""
17837 "If \\f[R]mkosi.build\\f[R] (\\f[B]BuildScripts=\\f[R]) exists, it is "
17838 "executed with the build overlay mounted on top of the image\\[cq]s root "
17839 "directory. When running the build script, \\f[B]$DESTDIR\\f[R] points to a "
17840 "directory where the script should place any files generated it would like to "
17841 "end up in the image. Note that \\f[B]make\\f[R]-, \\f[B]automake\\f[R]-, "
17842 "and \\f[B]meson\\f[R]-based build systems generally honor \\f[B]"
17843 "$DESTDIR\\f[R], thus making it very natural to build \\f[I]source\\f[R] "
17844 "trees from the build script. After running the build script, the contents "
17845 "of \\f[B]$DESTDIR\\f[R] are copied into the image.\\fR"
17846 msgstr ""
17847
17848 #. type: Plain text
17849 #: fedora-44 fedora-rawhide
17850 msgid ""
17851 "If \\f[R]mkosi.version\\f[R] exists and is executable, it is run during "
17852 "configuration parsing and populates \\f[B]ImageVersion=\\f[R] with the "
17853 "output on stdout. This can be used for external version tracking, e.g.\\ "
17854 "with \\f[B]git describe\\f[R] or \\f[B]date \\[aq]+%Y-%m-%d\\[aq]\\f[R]. "
17855 "Note that this script is executed on the host system without any sandboxing."
17856 "\\fR"
17857 msgstr ""
17858
17859 #. type: Plain text
17860 #: fedora-44 fedora-rawhide
17861 msgid ""
17862 "\\f[B]$BUILDROOT\\f[R] is the root directory of the image being built, "
17863 "optionally with the build overlay mounted on top depending on the script "
17864 "that\\[cq]s being executed.\\fR"
17865 msgstr ""
17866
17867 #. type: Plain text
17868 #: fedora-44 fedora-rawhide
17869 msgid ""
17870 "For all of the supported package managers (\\f[B]dnf\\f[R], \\f[B]rpm\\f[R], "
17871 "\\f[B]apt\\f[R], \\f[B]dpkg\\f[R], \\f[B]pacman\\f[R], \\f[B]zypper\\f[R]), "
17872 "scripts of the same name are put into \\f[B]$PATH\\f[R] that make sure these "
17873 "commands operate on the image\\[cq]s root directory with the configuration "
17874 "supplied by the user instead of on the host system. This means that from a "
17875 "script, you can do e.g. \\f[B]dnf install vim\\f[R] to install vim into the "
17876 "image.\\fR"
17877 msgstr ""
17878
17879 #. type: Plain text
17880 #: fedora-44 fedora-rawhide
17881 msgid ""
17882 "When scripts are executed, any directories that are still writable are also "
17883 "made read-only (\\f[B]/home\\f[R], \\f[B]/var\\f[R], \\f[B]/root\\f[R], "
17884 "\\&...) and only the minimal set of directories that need to be writable "
17885 "remain writable. This is to ensure that scripts can\\[cq]t mess with the "
17886 "host system when \\f[B]mkosi\\f[R] is running as root.\\fR"
17887 msgstr ""
17888
17889 #. type: Plain text
17890 #: fedora-44 fedora-rawhide
17891 msgid ""
17892 "The \\f[R]mkosi.rootpw\\f[R] file can be used to provide the password for "
17893 "the root user of the image. If the password is prefixed with \\f[B]hashed:"
17894 "\\f[R] it is treated as an already hashed root password. The password may "
17895 "optionally be followed by a newline character which is implicitly removed. "
17896 "The file must have an access mode of 0600 or less. If this file does not "
17897 "exist, the distribution\\[cq]s default root password is set (which usually "
17898 "means access to the root user is blocked).\\fR"
17899 msgstr ""
17900
17901 #. type: Plain text
17902 #: fedora-44 fedora-rawhide
17903 msgid ""
17904 "The \\f[R]mkosi.credentials/\\f[R] directory is used as a source of extra "
17905 "credentials similar to the \\f[B]Credentials=\\f[R] option. For each file "
17906 "in the directory, the filename will be used as the credential name and the "
17907 "file contents become the credential value, or, if the file is executable, "
17908 "\\f[B]mkosi\\f[R] will execute the file and the command\\[cq]s output to "
17909 "stdout will be used as the credential value. Output to stderr will be "
17910 "ignored. Credentials configured with \\f[B]Credentials=\\f[R] take "
17911 "precedence over files in \\f[B]mkosi.credentials\\f[R].\\fR"
17912 msgstr ""
17913
17914 #. type: Plain text
17915 #: fedora-44 fedora-rawhide
17916 msgid "\\f[B]00-esp.conf\\f[R] (if we\\[cq]re building a bootable image):\\fR"
17917 msgstr ""
17918
17919 #. type: Plain text
17920 #: fedora-44 fedora-rawhide
17921 msgid ""
17922 "\\f[B]05-bios.conf\\f[R] (if we\\[cq]re building a BIOS bootable image):\\fR"
17923 msgstr ""
17924
17925 #. type: Plain text
17926 #: fedora-44 fedora-rawhide
17927 msgid ""
17928 "The package cache of the distribution package manager may be cached between "
17929 "builds. This is configured with the \\f[B]--cache-directory=\\f[R] option "
17930 "or the \\f[B]mkosi.cache/\\f[R] directory. This form of caching relies on "
17931 "the distribution\\[cq]s package manager, and caches distribution packages "
17932 "(RPM, deb, \\&...) after they are downloaded, but before they are unpacked."
17933 "\\fR"
17934 msgstr ""
17935
17936 #. type: Plain text
17937 #: fedora-44 fedora-rawhide
17938 msgid ""
17939 "To refer to outputs of a image\\[cq]s dependencies, simply configure any of "
17940 "these options with a relative path to the output to use in the output "
17941 "directory of the dependency. Or use the \\f[B]%O\\f[R] specifier to refer "
17942 "to the output directory.\\fR"
17943 msgstr ""
17944
17945 #. type: Plain text
17946 #: fedora-44 fedora-rawhide
17947 msgid ""
17948 "A kernel may be booted directly with \\f[B]mkosi vm -kernel ... "
17949 "-initrd ... -append \\[aq]...\\[aq]\\f[R]. This is a bit faster because no "
17950 "boot loader is used, and it is also easier to experiment with different "
17951 "kernels and kernel command lines. Note that despite the name, "
17952 "\\f[B]qemu\\f[R]\\[cq]s \\f[B]-append\\f[R] option replaces the default "
17953 "kernel command line embedded in the kernel and any previous \\f[B]-"
17954 "append\\f[R] specifications.\\fR"
17955 msgstr ""
17956
17957 #. type: Plain text
17958 #: fedora-44 fedora-rawhide
17959 msgid ""
17960 "While other distributions are OK with allowing access to \\f[B]/dev/"
17961 "kvm\\f[R], on Debian/Kali/Ubuntu this is only allowed for users in the "
17962 "\\f[B]kvm\\f[R] group. Because \\f[B]mkosi\\f[R] unshares a user namespace "
17963 "when running unprivileged, even if the calling user was in the kvm group, "
17964 "when \\f[B]mkosi\\f[R] unshares the user namespace to run unprivileged, it "
17965 "loses access to the \\f[B]kvm\\f[R] group and by the time we start "
17966 "\\f[B]qemu\\f[R] we don\\[cq]t have access to \\f[B]/dev/kvm\\f[R] anymore. "
17967 "As a workaround, you can change the permissions of the device nodes to "
17968 "\\f[B]0666\\f[R] which is sufficient to make KVM work unprivileged. To "
17969 "persist these settings across reboots, copy \\f[B]/usr/lib/tmpfiles.d/static-"
17970 "nodes-permissions.conf\\f[R] to \\f[B]/etc/tmpfiles.d/static-nodes-"
17971 "permissions.conf\\f[R] and change the mode of \\f[B]/dev/kvm\\f[R] from "
17972 "\\f[B]0660\\f[R] to \\f[B]0666\\f[R].\\fR"
17973 msgstr ""
17974
17975 #. type: Plain text
17976 #: fedora-44 fedora-rawhide
17977 msgid ""
17978 "Why does \\f[B]portablectl inspect E<lt>imageE<gt>\\f[R]/\\f[B]systemd-"
17979 "dissect E<lt>imageE<gt>\\f[R] say my portable service isn\\[cq]t one?\\fR"
17980 msgstr ""
17981
17982 #. type: Plain text
17983 #: opensuse-leap-16-1
17984 msgid ""
17985 "When building a disk image and \\f[CR]partitions\\f[R] is specified, pass "
17986 "\\f[CR]--split=yes\\f[R] to \\f[B]systemd-repart\\f[R] to have it write out "
17987 "split partition files for each configured partition. Read the E<.UR https://"
17988 "www.freedesktop.org/software/systemd/man/systemd-repart.html#--split=BOOL> "
17989 "man E<.UE > \\ page for more information. This is useful in A/B update "
17990 "scenarios where an existing disk image shall be augmented with a new version "
17991 "of a root or \\f[CR]/usr\\f[R] partition along with its Verity partition and "
17992 "unified kernel. By default \\f[CR]uki\\f[R], \\f[CR]kernel\\f[R] and "
17993 "\\f[CR]initrd\\f[R] are split out.\\fR"
17994 msgstr ""