summaryrefslogtreecommitdiffstats
path: root/man/kernel-install.xml
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2020-08-06 22:56:36 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2020-08-10 20:56:32 +0200
commit6f77906ad3ce460a095e7586c71a1a3424237961 (patch)
tree27faf67e0eadf4fcabfba8c00977d8e6d6ebbc54 /man/kernel-install.xml
parentbootctl: Remove dependency on machine-id. (diff)
downloadsystemd-6f77906ad3ce460a095e7586c71a1a3424237961.tar.xz
systemd-6f77906ad3ce460a095e7586c71a1a3424237961.zip
kernel-install: Add fallback to "Linux" if no machine-id is found
This allows kernel-install to be used by image builders such as mkosi which don't have a machine-id available when they call kernel-install.
Diffstat (limited to 'man/kernel-install.xml')
-rw-r--r--man/kernel-install.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/man/kernel-install.xml b/man/kernel-install.xml
index 273270f550..3de95f7088 100644
--- a/man/kernel-install.xml
+++ b/man/kernel-install.xml
@@ -211,7 +211,9 @@
<filename>/etc/machine-id</filename>
</term>
<listitem>
- <para>The content of the file specifies the machine identification <replaceable>MACHINE-ID</replaceable>.</para>
+ <para>The content of this file specifies the machine identification
+ <replaceable>MACHINE-ID</replaceable>. If it cannot read <filename>/etc/machine-id</filename>,
+ kernel-install will use "Linux" as the machine ID instead.</para>
</listitem>
</varlistentry>
<varlistentry>