| 1 |
# KIWI - Build configuration file |
| 2 |
# |
| 3 |
# Below all configuration parameters available to control |
| 4 |
# KIWI's build process are listed as comments. The values shown |
| 5 |
# are representative examples. For most settings the value shown |
| 6 |
# is also the default applied by KIWI when nothing is specified, |
| 7 |
# but a few settings are context dependent (noted explicitly) |
| 8 |
# |
| 9 |
# To make any of the below effective, please uncomment the |
| 10 |
# respective section(s) and adapt the parameters according |
| 11 |
# to your needs |
| 12 |
# |
| 13 |
|
| 14 |
# Setup access to security keys |
| 15 |
#credentials: |
| 16 |
# # Specify private key(s) used for signing operations |
| 17 |
# verification_metadata_signing_key_file: /path/to/private.pem |
| 18 |
|
| 19 |
# Setup access options for the Open BuildService |
| 20 |
#obs: |
| 21 |
# # Specify the URL of the Open BuildService download server |
| 22 |
# download_url: http://download.opensuse.org/repositories |
| 23 |
# # Specify the URL of the Open BuildService API server |
| 24 |
# api_url: https://api.opensuse.org |
| 25 |
# # Specify if the BuildService download server is public or private. |
| 26 |
# # This information is used to verify if the request to populate |
| 27 |
# # the repositories via the imageinclude attribute is possible |
| 28 |
# public: true |
| 29 |
|
| 30 |
|
| 31 |
# Setup behaviour of the kiwi result bundle command |
| 32 |
#bundle: |
| 33 |
# # Specify if the bundle tarball should contain compressed results. |
| 34 |
# # Note: Already compressed result information will not be touched. |
| 35 |
# # There is no single default for this setting. The effective default |
| 36 |
# # depends on the image and its subformat: raw disk, filesystem images, |
| 37 |
# # vhdfixed and any disk subformat that does not override the generic |
| 38 |
# # base default to compressed, while vmdk, qcow2, ova, kis and enclave |
| 39 |
# # default to uncompressed. Setting this key overrides the default only for |
| 40 |
# # result formats whose bundle compression is configurable. |
| 41 |
# # The intention for result compression is to produce a smaller |
| 42 |
# # image than the original. Encrypted data generally grows when an |
| 43 |
# # attempt is made to compress it. Therefore this setting is ignored for |
| 44 |
# # filesystem images and for disk subformats derived from the generic base, |
| 45 |
# # including vhdfixed and vmdk, when a luks setup is present. For raw disks |
| 46 |
# # the override additionally requires luks_randomize. |
| 47 |
# compress: true |
| 48 |
# # Specify if the image build result and bundle should contain |
| 49 |
# # a .changes file. The .changes file contains the package changelog |
| 50 |
# # information from all packages installed into the image. |
| 51 |
# # Default: true. Automatically false when building inside the Open |
| 52 |
# # Build Service, which provides an equivalent .report file itself. |
| 53 |
# has_package_changes: true |
| 54 |
# # Specify shasum size for the bundle creation. Supported values |
| 55 |
# # are "256" (default) and "512". This value takes precedence |
| 56 |
# # over the global shasum size specified in the shasum section. |
| 57 |
# # If not specified, the global shasum size or the default is used. |
| 58 |
# shasum_size: "256" |
| 59 |
|
| 60 |
|
| 61 |
# Setup behaviour of XZ compressor |
| 62 |
#xz: |
| 63 |
# # Specify options used in any xz compression call |
| 64 |
# options: '--threads=0' |
| 65 |
|
| 66 |
|
| 67 |
# Setup process parameters for container image creation |
| 68 |
#container: |
| 69 |
# # Specify compression for container images |
| 70 |
# # Possible values are true, false, xz or none. |
| 71 |
# compress: true |
| 72 |
|
| 73 |
|
| 74 |
# Setup process parameters for ISO image creation |
| 75 |
#iso: |
| 76 |
# # Specify tool category which should be used to build iso images |
| 77 |
# # Possible values are: xorriso |
| 78 |
# tool_category: xorriso |
| 79 |
# # Specify media tag tool used to implant iso checksums |
| 80 |
# # Possible values are checkmedia and isomd5sum |
| 81 |
# media_tag_tool: checkmedia |
| 82 |
|
| 83 |
|
| 84 |
# Setup process parameters for OCI toolchain |
| 85 |
#oci: |
| 86 |
# # Specify OCI archive tool which should be used on creation of |
| 87 |
# # container archives for OCI compliant images, e.g docker |
| 88 |
# # Possible values are umoci and buildah |
| 89 |
# archive_tool: umoci |
| 90 |
|
| 91 |
# Setup shasum size |
| 92 |
# shasum: |
| 93 |
# # Specify shasum size, supported are "256" (default) and "512" |
| 94 |
# # Setting the size in this section globally applies to all |
| 95 |
# # shasum operations performed by KIWI. Please also see the |
| 96 |
# # bundle section for shasum size configuration specific to the |
| 97 |
# # result bundle creation. |
| 98 |
# size: "256" |
| 99 |
|
| 100 |
# Specify build constraints that applies during the image build |
| 101 |
# process. If one or more constraints are violated the build exits |
| 102 |
# with an appropriate error message. |
| 103 |
#build_constraints: |
| 104 |
# # Maximum result image size. The value can be specified in |
| 105 |
# # bytes or it can be specified with m=MB or g=GB. The constraint |
| 106 |
# # is checked prior to the result bundle creation |
| 107 |
# max_size: 700m |
| 108 |
|
| 109 |
# Setup process parameters for partition mapping |
| 110 |
#mapper: |
| 111 |
# # Specify tool to use for creating partition maps |
| 112 |
# # Possible values are: kpartx and partx |
| 113 |
# # Default: partx, except on s390 where the default is kpartx |
| 114 |
# part_mapper: partx |
| 115 |
|
| 116 |
# Setup process parameters to handle runtime checks |
| 117 |
#runtime_checks: |
| 118 |
# # Specify list of runtime checks to disable |
| 119 |
# disable: |
| 120 |
# # verify that the host has the required container tools installed |
| 121 |
# - check_container_tool_chain_installed |
| 122 |
|
| 123 |
# # verify that there are repositories configured |
| 124 |
# - check_repositories_configured |
| 125 |
|
| 126 |
# # verify that the URL for imageinclude repos is accessable |
| 127 |
# - check_image_include_repos_publicly_resolvable |
| 128 |
|
| 129 |
# # verify for legacy kiwi boot images that they exist on the host |
| 130 |
# - check_boot_description_exists |
| 131 |
|
| 132 |
# # verify if kiwi initrd_system was set if a boot attribute exists |
| 133 |
# - check_initrd_selection_required |
| 134 |
|
| 135 |
# # verify for legacy kiwi boot images that the same kernel is used |
| 136 |
# - check_consistent_kernel_in_boot_and_system_image |
| 137 |
|
| 138 |
# # check for reserved label names used in LVM setup |
| 139 |
# - check_volume_setup_defines_reserved_labels |
| 140 |
|
| 141 |
# # verify only one full size volume is specified for LVM images |
| 142 |
# - check_volume_setup_defines_multiple_fullsize_volumes |
| 143 |
|
| 144 |
# # verify no / volume setup is setup but the @root volume is used |
| 145 |
# - check_volume_setup_has_no_root_definition |
| 146 |
|
| 147 |
# # verify if volume label is really used with a volume setup |
| 148 |
# - check_volume_label_used_with_lvm |
| 149 |
|
| 150 |
# # verify that there is a xen domain setup for xen images |
| 151 |
# - check_xen_uniquely_setup_as_server_or_guest |
| 152 |
|
| 153 |
# # verify mediacheck is installed for ISO images that requests it |
| 154 |
# - check_mediacheck_installed |
| 155 |
|
| 156 |
# # verify that checkmedia/tagmedia is used with an MBR(msdos) partition table |
| 157 |
# - check_checkmedia_used_with_msdos_table |
| 158 |
|
| 159 |
# # verify dracut-kiwi-live is installed for ISO images |
| 160 |
# - check_dracut_module_for_live_iso_in_package_list |
| 161 |
|
| 162 |
# # verify dracut-kiwi-overlay is installed for overlay disk images |
| 163 |
# - check_dracut_module_for_disk_overlay_in_package_list |
| 164 |
|
| 165 |
# # verify dracut-kiwi-repart is installed for OEM disk images |
| 166 |
# - check_dracut_module_for_disk_oem_in_package_list |
| 167 |
|
| 168 |
# # verify dracut-kiwi-oem-dump is installed for OEM install images |
| 169 |
# - check_dracut_module_for_oem_install_in_package_list |
| 170 |
|
| 171 |
# # verify configured firmware is compatible with host architecture |
| 172 |
# - check_architecture_supports_iso_firmware_setup |
| 173 |
|
| 174 |
# # verify WSL naming conventions |
| 175 |
# - check_appx_naming_conventions_valid |
| 176 |
|
| 177 |
# # check kiwi dracut modules compatible with kiwi builder |
| 178 |
# - check_dracut_module_versions_compatible_to_kiwi |
| 179 |
|
| 180 |
# # check target_dir and image root on a supported filesystem |
| 181 |
# - check_target_dir_on_unsupported_filesystem |
| 182 |
|
| 183 |
# # check for unresolved include statements in the XML description |
| 184 |
# - check_include_references_unresolvable |
| 185 |
|
| 186 |
# # validate options passed to cryptsetup via luksformat element |
| 187 |
# - check_luksformat_options_valid |
| 188 |
|
| 189 |
# # check devicepersistency compatible with partition table type |
| 190 |
# - check_partuuid_persistency_type_used_with_mbr |
| 191 |
|
| 192 |
# # check efifatimagesize does not exceed the max El Torito load size |
| 193 |
# - check_efi_fat_image_has_correct_size |
| 194 |
|
| 195 |
# # check the target directory is not inside the shared cache directory |
| 196 |
# - check_target_directory_not_in_shared_cache |
| 197 |
|
| 198 |
# # check the swap partition name is only used with an LVM setup |
| 199 |
# - check_swap_name_used_with_lvm |
| 200 |
|
| 201 |
# # check the image description provides a version |
| 202 |
# - check_image_version_provided |
| 203 |
|
| 204 |
# # check no two build types with the same image attribute are selected |
| 205 |
# - check_image_type_unique |
| 206 |
|
| 207 |
# # check the bootloader environment is compatible with the loader |
| 208 |
# - check_bootloader_env_compatible_with_loader |