summaryrefslogtreecommitdiffstats
path: root/man/ukify.xml
diff options
context:
space:
mode:
authorAlvin Alvarado <alvin@striczkof.io>2023-09-08 06:02:52 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2023-09-08 16:21:28 +0200
commita05fa30f88e522101c8412deecd7f598e2254b20 (patch)
treeff71df3a798a7992e392e03cffc9ede63629b8e0 /man/ukify.xml
parentMerge pull request #29123 from yuwata/conf-parser-cleanups-for-config-section (diff)
downloadsystemd-a05fa30f88e522101c8412deecd7f598e2254b20.tar.xz
systemd-a05fa30f88e522101c8412deecd7f598e2254b20.zip
ukify/man: Look for a config file in systemd folders if not specified
If the user does not specify a config file to use, ukify will try looking for one at {/run,/etc,/usr/local/lib,/usr/lib}/systemd/ukify.conf in order and then use the first one found. Also made sure the --config input is a pathlib.Path by specifying its type in its CONFIG_ITEMS entry. Big cheers to Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> for helping!
Diffstat (limited to 'man/ukify.xml')
-rw-r--r--man/ukify.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/man/ukify.xml b/man/ukify.xml
index 0a9cd5ee38..3ee1306c6c 100644
--- a/man/ukify.xml
+++ b/man/ukify.xml
@@ -155,6 +155,13 @@
priority and overwrites the config file setting completely. If some setting behaves differently, this is
described below.</para>
+ <para>If no config file is provided via the option <option>--config=<replaceable>PATH</replaceable></option>,
+ <command>ukify</command> will try to look for a default configuration file in the following paths in this
+ order: <filename>/run/systemd/ukify.conf</filename>, <filename>/etc/systemd/ukify.conf</filename>,
+ <filename>/usr/local/lib/systemd/ukify.conf</filename>, and <filename>/usr/lib/systemd/ukify.conf</filename>,
+ and then load the first one found. <command>ukify</command> will proceed normally if no configuration file
+ is specified and no default one is found.</para>
+
<para>The <replaceable>LINUX</replaceable> and <replaceable>INITRD</replaceable> positional arguments, or
the equivalent <varname>Linux=</varname> and <varname>Initrd=</varname> settings, are optional. If more
than one initrd is specified, they will all be combined into a single PE section. This is useful to, for