From: Emanuele Giuseppe Esposito Date: Tue, 23 May 2023 09:29:00 +0000 (-0400) Subject: man/ukify: describe 'inspect' X-Git-Tag: v255-rc1~914^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d481546acc8dbd9be05fe7a901e5598487aec02;p=thirdparty%2Fsystemd.git man/ukify: describe 'inspect' Co-authored-by: Zbigniew Jędrzejewski-Szmek --- diff --git a/man/ukify.xml b/man/ukify.xml index 28103ea2d43..f2d11f7e2e2 100644 --- a/man/ukify.xml +++ b/man/ukify.xml @@ -118,6 +118,20 @@ The output files must not exist. + + + <command>inspect</command> + + Display information about the sections in a given binary or binaries. + If is given, all sections are shown. + Otherwise, if option is specified at least once, only those sections are shown. + Otherwise, well-known sections that are typically included in an UKI are shown. + For each section, its name, size, and sha256-digest is printed. + For text sections, the contents are printed. + + Also see the description of / and + . + @@ -163,13 +177,23 @@ - - Specify an arbitrary additional section - NAME. Note that the name is used as-is, and if the - section name should start with a dot, it must be included in NAME. The - argument may be a literal string, or @ followed by a path name. This option may be - specified more than once. Any sections specified in this fashion will be inserted (in order) before - the .linux section which is always last. + + + For all verbs except inspect, the first syntax is used. + Specify an arbitrary additional section NAME. + The argument may be a literal string, or @ followed by a path name. + This option may be specified more than once. Any sections specified in this fashion will be + inserted (in order) before the .linux section which is always last. + + For the inspect verb, the second syntax is used. + The section NAME will be inspected (if found). + If the second argument is text, the contents will be printed. + If the third argument is given, the contents will be saved to file PATH. + + + Note that the name is used as-is, and if the section name should start with a dot, it must be + included in NAME. + @@ -196,6 +220,18 @@ form the configuration file and the commandline are combined. + + + + Print all sections (with inspect verb). + + + + + + Generate JSON output (with inspect verb). + +