This repository contains demonstration content for building images with the KIWI image builder associated with the talk on Datto's use of KIWI at the 2021 openSUSE Virtual Conference.
The KIWI descriptions are stored in the txz-build/
and iso-build/
subdirectories.
Refer to the KIWI documentation for more details.
The instructions below will use the podman
command, but you can easily substitute for docker
and it should easily just work the same.
First, pull down the container of the required environment (Fedora 28 or newer).
For the instructions below, we'll work with Fedora 34.
$ sudo podman pull registry.fedoraproject.org/fedora:34
Assuming you're in the root directory of the Git checkout, set up the container:
$ sudo podman run --privileged --rm -it -v $PWD:/code registry.fedoraproject.org/fedora:34 /bin/bash
Once in the container environment, set up your development environment and run the image build (we're using the txz-build
for this example):
# Change to the code location
[]$ cd /code
# Install kiwi
[]$ dnf --assumeyes install kiwi
# Run the image build
[]$ kiwi-ng system build --description ./txz-build --target-dir ./tmpoutput
These descriptions are licensed under the Apache Software License, version 2.0. See LICENSE
for details.