kiwi-ng system prepare
Runs the prepare step: creates the root tree of an image from the image
description, see The 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 |
|---|---|
|
Required. The image description 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: --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