bootctl: add kernel-inspect command

Takes a kernel image as argument. Prints details about the kernel.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
Gerd Hoffmann
2023-01-18 14:32:14 +01:00
parent 53c368d71b
commit a05255981b
4 changed files with 87 additions and 0 deletions
+6
View File
@@ -227,6 +227,12 @@
<listitem><para>Takes a kernel image as argument. Checks what kind of kernel the image is. Returns
one of uki, pe or unknown.</para></listitem>
</varlistentry>
<varlistentry>
<term><option>kernel-inspect</option> <replaceable>kernel</replaceable></term>
<listitem><para>Takes a kernel image as argument. Prints details about the kernel.</para></listitem>
</varlistentry>
</variablelist>
</refsect1>