kiwi-ng system stackbuild
Builds an image based on one or more stashes created by
kiwi-ng system stash. Without --description, it rebuilds the
image from the root tree and image description stored in the stash with
kiwi-ng system create. With --description, it builds the given
image description on top of the stash with kiwi-ng system build. The
arguments after the kiwi subcommand are passed to that command, --
is accepted instead of kiwi. For an introduction, see
Building based on Containers.
Note
KIWI NG does not check if a stash fits the image description, for example nothing prevents building a Fedora image on a Leap stash.
Usage
kiwi-ng [global options] system stackbuild \
--stash <name>... \
--target-dir <directory> \
[options] [kiwi <create options>]
kiwi-ng [global options] system stackbuild \
--stash <name>... \
--target-dir <directory> \
--description <directory> \
[options] [kiwi <build options>]
Options
Option |
Description |
|---|---|
|
Required. The stash, see |
|
Required. The directory for the build results. |
|
The image description to build on top of the stash. |
|
Pull the stash from this registry. |
Example
$ sudo kiwi-ng system stackbuild --stash NAME --target-dir /target/rebuild \
kiwi --signing-key /path/to/key