1KIWI::IMAGE::INFO(8)                KIWI NG               KIWI::IMAGE::INFO(8)
2
3
4

NAME

6       kiwi::image::info   -  Provide  detailed  information  about  an  image
7       description
8

SYNOPSIS

10          kiwi-ng [global options] service <command> [<args>]
11
12          kiwi-ng image info -h | --help
13          kiwi-ng image info --description=<directory>
14              [--resolve-package-list]
15              [--ignore-repos]
16              [--add-repo=<source,type,alias,priority>...]
17              [--print-xml|--print-yaml]
18          kiwi-ng image info help
19

DESCRIPTION

21       Provides information about the specified image description.  If no spe‐
22       cific  info option is provided the command just lists basic information
23       about the image which could also be directly obtained  by  reading  the
24       image  XML  description  file.   Specifying  an  extension  option like
25       resolve-package-list will cause a dependency resolver to run  over  the
26       list  of packages and thus provides more detailed information about the
27       image description.
28

OPTIONS

30       --add-repo=<source,type,alias,priority>
31              Add repository with given source, type, alias and priority.
32
33       --description=<directory>
34              The description must  be  a  directory  containing  a  kiwi  XML
35              description and optional metadata files.
36
37       --ignore-repos
38              Ignore  all  repository configurations from the XML description.
39              Using that option is usally done with a sequence  of  --add-repo
40              options  otherwise  there  are no repositories available for the
41              processing the requested image information which could  lead  to
42              an error.
43
44       --resolve-package-list
45              Solve  package  dependencies  and  return a list of all packages
46              including their attributes e.g size, shasum, and more.
47
48       --print-xml
49              Print image description in XML format. The given image  descrip‐
50              tion  is  read in, transformed internally to XML and send to the
51              XSLT stylesheet processor. From there the result gets  validated
52              using  the  RelaxNG schema and the schematron rules. This result
53              data will then be displayed. The typical use case for this  com‐
54              mand is to turn an old image description to the latest schema.
55
56       --print-yaml
57              Behaves  the  same like --print-xml except that after validation
58              the result data will be transformed into  the  YAML  format  and
59              displayed.  Due  to  this processing the command can be used for
60              different operations:
61
62              · Conversion of a given image description from or into different
63                formats.  It's required to install the anymarkup python module
64                for this to work. The module is not  a  hard  requirement  and
65                loaded  on  demand.  If not available and a request to convert
66                into a format different from XML is made an exception will  be
67                thrown.
68
69              · Update of an old image description to the latest schema
70

AUTHOR

72       Marcus Schäfer
73
75       2020, Marcus Schäfer
76
77
78
79
809.23.22                          Mar 22, 2021             KIWI::IMAGE::INFO(8)
Impressum