Add support for conditions on the machines firmware

This allows to limit units to machines that run on a certain firmware
type. For device tree defined machines checking against the machine's
compatible is also possible.
This commit is contained in:
Uwe Kleine-König
2021-04-28 10:55:55 +02:00
committed by Lennart Poettering
parent 192a9d95ea
commit cbcdcaaa0e
12 changed files with 120 additions and 0 deletions
+10
View File
@@ -1172,6 +1172,16 @@
</listitem>
</varlistentry>
<varlistentry>
<term><varname>ConditionFirmware=</varname></term>
<listitem><para>Check whether the system's firmware is of a certain type. Possible values are:
<literal>uefi</literal> (for systems with EFI),
<literal>device-tree</literal> (for systems with a device tree) and
<literal>device-tree-compatible(xyz)</literal> (for systems with a device tree that is compatible to <literal>xyz</literal>).</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>ConditionVirtualization=</varname></term>