Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
class KiwiSchemaImportError(KiwiError):
"""
Exception raised if the schema file could not be read
by lxml.RelaxNG.
"""
class KiwiScriptFailed(KiwiError):
"""
Exception raised if a user script returned with an exit code != 0.
"""
class KiwiSetupIntermediateConfigError(KiwiError):
"""
Exception raised if the setup of the temporary image system
configuration for the duration of the build process has
failed.
"""
class KiwiSolverRepositorySetupError(KiwiError):
"""
Exception raised if the repository type is not supported for
the creation of a SAT solvable
"""
class KiwiSystemDeletePackagesFailed(KiwiError):
"""
class KiwiFormatSetupError(KiwiError):
"""
Exception raised if the requested disk format could not be created.
"""
class KiwiHelpNoCommandGiven(KiwiError):
"""
Exception raised if the request for the help page is
executed without a command to show the help for.
"""
class KiwiImageResizeError(KiwiError):
"""
Exception raised if the request to resize a disk image failed.
Reasons could be a missing raw disk reference or a wrong size
specification.
"""
class KiwiImportDescriptionError(KiwiError):
"""
Exception raised if the XML description data and scripts could
not be imported into the root of the image.
"""
class KiwiInstallBootImageError(KiwiError):
"""
class KiwiBootLoaderGrubSecureBootError(KiwiError):
"""
Exception raised if the Microsoft signed shim loader or
grub2 loader could not be found in the image root system
"""
class KiwiBootLoaderInstallSetupError(KiwiError):
"""
Exception raised if an installation for an unsupported
bootloader is requested.
"""
class KiwiBootLoaderTargetError(KiwiError):
"""
Exception raised if the target to read the bootloader path
from is not a disk or an iso image.
"""
class KiwiBootLoaderZiplInstallError(KiwiError):
"""
Exception raised if the installation of zipl has failed.
"""
class KiwiBootLoaderZiplPlatformError(KiwiError):
"""
Exception raised if a configuration for an unsupported
zipl architecture is requested.
class KiwiKernelLookupError(KiwiError):
"""
Exception raised if the search for the kernel image file failed
"""
class KiwiLiveBootImageError(KiwiError):
"""
Exception raised if an attempt was made to use an
unsupported live iso type.
"""
class KiwiLuksSetupError(KiwiError):
"""
Exception raised if not enough user data is provided to
setup the luks encryption on the given device.
"""
class KiwiLoadCommandUndefined(KiwiError):
"""
Exception raised if no command is specified for a given
service on the commandline.
"""
class KiwiLogFileSetupFailed(KiwiError):
"""
Exception raised if the log file could not be created.
class KiwiLogFileSetupFailed(KiwiError):
"""
Exception raised if the log file could not be created.
"""
class KiwiLoopSetupError(KiwiError):
"""
Exception raised if not enough user data to create a
loop device is specified.
"""
class KiwiMappedDeviceError(KiwiError):
"""
Exception raised if the device to become mapped does not exist.
"""
class KiwiMountKernelFileSystemsError(KiwiError):
"""
Exception raised if a kernel filesystem such as proc or sys
could not be mounted.
"""
class KiwiMountSharedDirectoryError(KiwiError):
"""
Exception raised if the host <-> image shared directory
could not be mounted.
class KiwiVhdTagError(KiwiError):
"""
Exception raised if the GUID tag is not provided in the
expected format.
"""
class KiwiVolumeGroupConflict(KiwiError):
"""
Exception raised if the requested LVM volume group already is
in use on the build system.
"""
class KiwiVolumeManagerSetupError(KiwiError):
"""
Exception raised if the preconditions for volume mangement
support are not met or an attempt was made to create an
instance of a volume manager for an unsupported volume
management system.
"""
class KiwiVolumeRootIDError(KiwiError):
"""
Exception raised if the root volume can not be found. This
concept currently exists only for the btrfs subvolume system.
"""
class KiwiRootImportError(KiwiError):
class KiwiImportDescriptionError(KiwiError):
"""
Exception raised if the XML description data and scripts could
not be imported into the root of the image.
"""
class KiwiInstallBootImageError(KiwiError):
"""
Exception raised if the required files to boot an installation
image could not be found, e.g kernel or hypervisor.
"""
class KiwiInstallMediaError(KiwiError):
"""
Exception raised if a request for an installation media is made
but the system image type is not an oem type.
"""
class KiwiInstallPhaseFailed(KiwiError):
"""
Exception raised if the install phase of a system prepare command
has failed.
"""
class KiwiPackagesDeletePhaseFailed(KiwiError):
"""
Exception raised if the packages deletion phase in system prepare
class KiwiMarkupConversionError(KiwiError):
"""
Exception raised if the markup format conversion is not possible.
"""
class KiwiSchemaImportError(KiwiError):
"""
Exception raised if the schema file could not be read
by lxml.RelaxNG.
"""
class KiwiScriptFailed(KiwiError):
"""
Exception raised if a user script returned with an exit code != 0.
"""
class KiwiSetupIntermediateConfigError(KiwiError):
"""
Exception raised if the setup of the temporary image system
configuration for the duration of the build process has
failed.
"""
class KiwiSolverRepositorySetupError(KiwiError):
"""
Exception raised if the repository type is not supported for
class KiwiCommandError(KiwiError):
"""
Exception raised if an external command called via a Command
instance has returned with an exit code != 0 or could not
be called at all.
"""
class KiwiCommandNotFound(KiwiCommandError):
"""
Exception raised if any executable command cannot be found in
the evironment PATH variable.
"""
class KiwiCommandNotLoaded(KiwiError):
"""
Exception raised if a kiwi command task module could not be
loaded.
"""
class KiwiCompressionFormatUnknown(KiwiError):
"""
Exception raised if the compression format of the data could
not be detected.
"""
class KiwiCompatError(KiwiError):
"""
Exception raised if the given kiwi compatibility command line
class KiwiScriptFailed(KiwiError):
"""
Exception raised if a user script returned with an exit code != 0.
"""
class KiwiSetupIntermediateConfigError(KiwiError):
"""
Exception raised if the setup of the temporary image system
configuration for the duration of the build process has
failed.
"""
class KiwiSolverRepositorySetupError(KiwiError):
"""
Exception raised if the repository type is not supported for
the creation of a SAT solvable
"""
class KiwiSystemDeletePackagesFailed(KiwiError):
"""
Exception raised if the deletion of a package has failed in
the corresponding package manager instance.
"""
class KiwiSystemInstallPackagesFailed(KiwiError):
"""
Exception raised if the installation of a package has failed in