kiwi system build¶
kiwi [global options] service <command> [<args>] kiwi system build -h | --help kiwi system build --description=<directory> --target-dir=<directory> [--allow-existing-root] [--clear-cache] [--ignore-repos] [--set-repo=<source,type,alias,priority>] [--add-repo=<source,type,alias,priority>...] [--obs-repo-internal] [--add-package=<name>...] [--delete-package=<name>...] kiwi system build help
build an image in one step. The build command combines kiwi’s prepare and
create steps in order to build an image with just one command call. The
build command creates the root directory of the image below
<target-dir>/build/image-root and if not specified differently writes
a log file
<target-dir>/build/image-root.log. The result image files
are created in the specified target-dir.
|specify package to add(install). The option can be specified multiple times|
|Add a new repository to the existing repository setup in the XML description. This option can be specified multiple times|
|Allow to use an existing root directory from an earlier build attempt. Use with caution this could cause an inconsistent root tree if the existing contents does not fit to the former image type setup|
|--clear-cache||delete repository cache for each of the used repositories before installing any package. This is useful if an image build should take and validate the signature of the package from the original repository source for any build. Some package managers unconditionally trust the contents of the cache, which is ok for cache data dedicated to one build but in case of kiwi the cache is shared between multiple image builds on that host for performance reasons.|
|specify package to delete. The option can be specified multiple times|
|Path to the XML description. This is a directory containing at least one _config.xml_ or _*.kiwi_ XML file.|
|The repository source type obs:// by default points to the Open Build Service. With the –obs-repo-internal option the source type is changed to the ibs:// type, pointing to the Internal Build Service. This allows to build images with repositories pointing to the SUSE internal build service. Please note this requires access permissions to the SUSE internal build service on the machine building the image.|
Overwrite the first repository entry in the XML description with the provided information:
|Path to store the build results.|
http:// | https:// | ftp://
remote repository delivered via http or ftp protocol.
Open Buildservice repository. The source data is translated into an http url pointing to http://download.opensuse.org.
Internal Open Buildservice repository. The source data is translated into an http url pointing to download.suse.de.
Local iso file. kiwi loop mounts the file and uses the mount point as temporary directory source type