kiwi.tasks package

Submodules

kiwi.tasks.base Module

class kiwi.tasks.base.CliTask(should_perform_task_setup=True)[source]

Bases: object

Base class for all task classes, loads the task and provides the interface to the command options and the XML description

Attributes

  • should_perform_task_setup
    Indicates if the task should perform the setup steps which covers the following task configurations: * setup debug level * setup logfile * setup color output
load_xml_description(description_directory)[source]

Load, upgrade, validate XML description

Attributes

  • xml_data
    instance of XML data toplevel domain (image), stateless data
  • config_file
    used config file path
  • xml_state
    Instance of XMLState, stateful data
quadruple_token(option)[source]

Helper method for commandline options of the form –option a,b,c,d

Make sure to provide a common result for option values which separates the information in a comma separated list of values

Returns:common option value representation
Return type:string
quintuple_token(option)[source]

Helper method for commandline options of the form –option a,b,c,d,e

Make sure to provide a common result for option values which separates the information in a comma separated list of values

Returns:common option value representation
Return type:string

kiwi.tasks.result_bundle Module

class kiwi.tasks.result_bundle.ResultBundleTask(should_perform_task_setup=True)[source]

Bases: kiwi.tasks.base.CliTask

Implements result bundler

Attributes

  • manual
    Instance of Help
process()[source]

Create result bundle from the image build results in the specified target directory. Each result image will contain the specified bundle identifier as part of its filename. Uncompressed image files will also become xz compressed and a sha sum will be created from every result image

kiwi.tasks.result_list Module

class kiwi.tasks.result_list.ResultListTask(should_perform_task_setup=True)[source]

Bases: kiwi.tasks.base.CliTask

Implements result listing

Attributes

  • manual
    Instance of Help
process()[source]

List result information from a previous system command

kiwi.tasks.system_build Module

class kiwi.tasks.system_build.SystemBuildTask(should_perform_task_setup=True)[source]

Bases: kiwi.tasks.base.CliTask

Implements building of system images

Attributes

  • manual
    Instance of Help
process()[source]

Build a system image from the specified description. The build command combines the prepare and create commands

kiwi.tasks.system_create Module

class kiwi.tasks.system_create.SystemCreateTask(should_perform_task_setup=True)[source]

Bases: kiwi.tasks.base.CliTask

Implements creation of system images

Attributes

  • manual
    Instance of Help
process()[source]

Create a system image from the specified root directory the root directory is the result of a system prepare command

kiwi.tasks.system_prepare Module

class kiwi.tasks.system_prepare.SystemPrepareTask(should_perform_task_setup=True)[source]

Bases: kiwi.tasks.base.CliTask

Implements preparation and installation of a new root system

Attributes

  • manual
    Instance of Help
process()[source]

Prepare and install a new system for chroot access

kiwi.tasks.system_update Module

class kiwi.tasks.system_update.SystemUpdateTask(should_perform_task_setup=True)[source]

Bases: kiwi.tasks.base.CliTask

Implements update and maintenance of root systems

Attributes

  • manual
    Instance of Help
process()[source]

Update root system with latest repository updates and optionally allow to add or delete packages. the options to add or delete packages can be used multiple times

Module Contents