| 1 |
.. _db_overview: |
| 2 |
|
| 3 |
Overview |
| 4 |
======== |
| 5 |
|
| 6 |
.. note:: **Abstract** |
| 7 |
|
| 8 |
This document provides a conceptual overview of the steps |
| 9 |
of creating an image with {kiwi}. It also explains the terminology |
| 10 |
regarding the concept and process when building system images |
| 11 |
with {kiwi} |version|. |
| 12 |
|
| 13 |
.. toctree:: |
| 14 |
:maxdepth: 1 |
| 15 |
|
| 16 |
overview/workflow |
| 17 |
|
| 18 |
Conceptual Overview |
| 19 |
------------------- |
| 20 |
|
| 21 |
A system image (usually called an "image") is a *complete installation* of a Linux |
| 22 |
system within a file. The image represents an operating system and, |
| 23 |
optionally, contains the "final" configuration. |
| 24 |
|
| 25 |
{kiwi} creates images in a two-step process: |
| 26 |
|
| 27 |
1. The first step, the *prepare operation*, generates a so-called |
| 28 |
*unpacked image tree* (directory) using the information provided in |
| 29 |
the image description. |
| 30 |
|
| 31 |
2. The second step, the *create operation*, creates the *packed image* or |
| 32 |
*image* in the specified format based on the unpacked image and the |
| 33 |
information provided in the configuration file. |
| 34 |
|
| 35 |
The image creation process with {kiwi} is automated and does not require any |
| 36 |
user interaction. The information required for the image creation process is |
| 37 |
provided by the image description. |
| 38 |
|
| 39 |
|
| 40 |
Terminology |
| 41 |
----------- |
| 42 |
|
| 43 |
Appliance |
| 44 |
An appliance is a ready-to-use image of an operating system, |
| 45 |
including a pre-configured application for a specific use case. |
| 46 |
The appliance is provided as an image file and needs to be |
| 47 |
deployed to or activated in the target system or service. |
| 48 |
|
| 49 |
Image |
| 50 |
The result of a {kiwi} build process. |
| 51 |
|
| 52 |
Image Description |
| 53 |
A specification to define an appliance. The image description is a |
| 54 |
collection of human-readable files in a directory. At least one XML |
| 55 |
file, :file:`config.xml` or :file:`*.kiwi`, is required. In addition, |
| 56 |
there may be other files, like scripts or configuration data. |
| 57 |
These can be used to customize certain parts of either the {kiwi} |
| 58 |
build process or the initial startup behavior of the image. |
| 59 |
|
| 60 |
Overlay Files |
| 61 |
A directory structure with files and subdirectories stored as part |
| 62 |
of the Image Description. This directory structure is packaged as |
| 63 |
a file, :file:`root.tar.gz`, or stored inside a directory named |
| 64 |
:file:`root`. Additional overlay directories for selected profiles |
| 65 |
are also supported and are taken into account if the directory |
| 66 |
name matches the name of the profile. The content of each of the |
| 67 |
directory structures is copied on top of the existing filesystem |
| 68 |
(overlayed) of the appliance root. This also includes |
| 69 |
permissions and attributes as a supplement. |
| 70 |
|
| 71 |
{kiwi} |
| 72 |
An OS appliance builder. |
| 73 |
|
| 74 |
Virtualization Technology |
| 75 |
Software-simulated computer hardware. A virtual machine acts like |
| 76 |
a real computer but is separated from the physical hardware. |
| 77 |
Within this documentation, the QEMU virtualization system is |
| 78 |
used. Another popular alternative is VirtualBox. |