Scroll to navigation

KIWI::SYSTEM::PREPARE(8) KIWI NG KIWI::SYSTEM::PREPARE(8)

NAME

kiwi::system::prepare - Prepare image root system

DESCRIPTION

Runs the prepare step: creates the root tree of an image from the image description, see The Prepare Step <#prepare-step>. The image is then built from it with kiwi-ng system create. In between, the root tree can be inspected and changed, for example with chroot <directory> bash.

USAGE

kiwi-ng [global options] system prepare \

--description <directory> \
--root <directory> \
[options]


OPTIONS

Option Description
--description <directory> Required. The image description directory.
--root <directory> Required. The directory to create the root tree in.

All other options are the same as for kiwi-ng system build, see kiwi-ng system build <#kiwi-system-build>: --allow-existing-root, --clear-cache, the repository options, the package options, the image settings and the key and certificate options.

EXAMPLE

$ sudo kiwi-ng system prepare \

--description kiwi/build-tests/x86/leap/test-image-disk \
--set-repo https://download.opensuse.org/distribution/leap/16.0/repo/oss \
--root /tmp/myimage/root


Author

Marcus Schäfer

Copyright

2020-2026, Marcus Schäfer

November 13, 2026 11.1.14