kiwi-ng image info

Shows information about an image description without building it. The output always contains the image name, the options add further information and can be combined. At least one repository is required, from the image description or from --add-repo.

Usage

kiwi-ng [global options] image info --description <directory> [options]

Options

Options marked with ... can be given multiple times.

Option

Description

--description <directory>

Required. The image description directory.

--list-profiles

List the profiles. If the default image type belongs to a profile, or there is no default type, also select that profile with the global option --profile.

--print-kiwi-env

List the environment variables of the image description scripts, see Functions and Variables Provided by KIWI NG. Some only get a value during a build.

--resolve-package-list

Resolve the dependencies and list all packages with source, install size, architecture, version, and whether they are listed in the image description or added as dependency.

--print-xml

Print the image description in XML, converted to the latest schema and validated. Use this to update an older image description.

--print-yaml, --print-toml

Like --print-xml, in YAML or TOML. Requires the Python module anymarkup. Only one --print-* option is applied, XML over YAML over TOML.

--add-repo <repo>...

Add a repository, see Repository Format.

--add-repo-credentials <credentials>...

The credentials of --add-repo, matched by order.

--ignore-repos

Ignore all repositories of the image description.

Example

$ kiwi-ng image info --resolve-package-list \
    --description kiwi/build-tests/x86/leap/test-image-disk