KIWIRuntimeChecker Info


Public methods

Private methods


createChecks

Runtime checks specific to the create step

Defined on line: 105

Called in

new

Create the RuntimChecker object

Defined on line: 60

Called in

prepareChecks

Runtime checks specific to the prepare step

Defined on line: 170

Called in

__checkContainerHasLXC

A container build must include the lxc package

Defined on line: 412

Called in

__checkCorrectRootFSPermissons

Missing

Defined on line: 1494

Called in

__checkFilesystemTool

Check that the build system has the necessary file system tools installed for the requested build.

Defined on line: 540

Called in

__checkHaveTypeToBuild

Missing

Defined on line: 631

Called in

__checkLVMoemSizeSettings

Verify that the specified LVM size requirements do not exceed the specified OEM system size if specified

Defined on line: 445

Called in

__checkOEMsizeSettingSufficient

Verify that the image fits within the specified size

Defined on line: 646

Called in

__checkPackageManagerExists

Check that the specified package manager exists

Defined on line: 694

Called in

__checkPatternTypeAttrValueConsistent

Check that the use of the patternType attribute for the element is consistent. The static component of this is checked during XML validation. If no profiles are specified on the command line or if the configuration contains a element without a profile attribute there is nothing to do.

Defined on line: 737

Called in

__checkProfileConsistent

Check if the selected profiles exists

Defined on line: 718

Called in

__checkRepoAliasUnique

Verify that the repo alias is unique across the currently active repos

Defined on line: 790

Called in

__checkRootRecycleCapability

Check the root tree if --recycle-root is set. In that case it's not allowed to use a root tree which is based on an image cache

Defined on line: 819

Called in

__checkSelectedBootLoaderIncluded

check if the selected bootloader will also be installed into the image. This is required for the oem, vmx and pxe image types. In case of a pxe type the deploy configuration might not require a bootloader e.g for remote root systems. As we don't know the deploy configuration at build time the check might complain unnecessarily. In such a case add the package in question and remove it in config.sh again.

Defined on line: 356

Called in

__checkSwapRecommended

Missing

Defined on line: 281

__checkSystemDiskData

Missing

Defined on line: 845

Called in

__checkUsersConsistent

User definitions may conflict in different profiles in the static definition. However, at build time only profiles with non conflicting user definitions may be selected.

Defined on line: 954

Called in

__checkVMControllerCapable

If a VM image is being built and the specified vmdisk controller, then the qemu-img command on the system must support this option.

Defined on line: 1011

Called in

__checkVMConverterExist

Check that the preferred converter exists

Defined on line: 972

Called in

__checkVMdiskmodeCapable

qemu-img command must support specified diskmode

Defined on line: 1079

Called in

__checkYaSTenvironment

Missing

Defined on line: 232

Called in

__hasBootDescription

Check if the boot description exists according to the selected image type

Defined on line: 1336

Called in

__hasBootLoaderTools

Check if the selected bootloader can be installed

Defined on line: 1368

Called in

__hasValidArchives

check if the optional given archives doesn't include bogus files

Defined on line: 1182

Called in

__hasValidLVMName

check if the optional LVM group name doesn't exist on the build host

Defined on line: 1136

Called in

__haveValidTypeString

if the commandline data set contains buildtype information, check if it contains a valid string This check must be done for prepare and create in order to early detect a broken commandline when using prepare + create in one call by the --build option

Defined on line: 1233

Called in

__isFsToolAvailable

Find the tool for a given filesystem name

Defined on line: 1291

Called in

__isoHybridCapable

If an ISO image is being built check that if an iso hybrid is requested, the platform is capable. Check if the uefi capability exists if isohybrid is allowed on given platform.

Defined on line: 1423

Called in