Debian Codegraph @

kiwi.yml

raw
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 Open BuildService API credentials, one mapping per user
26 # - user:
27 # - user_name: user_credentials
28 # # Specify if the BuildService download server is public or private.
29 # # This information is used to verify if the request to populate
30 # # the repositories via the imageinclude attribute is possible
31 # - public: true
32
33
34 # Setup behaviour of the kiwi result bundle command
35 #bundle:
36 # # Specify if the bundle tarball should contain compressed results.
37 # # Note: Already compressed result information will not be touched.
38 # # There is no single default for this setting. The effective default
39 # # depends on the image and its subformat: raw disk, filesystem images,
40 # # vhdfixed and any disk subformat that does not override the generic
41 # # base default to compressed, while vmdk, qcow2, ova, kis and enclave
42 # # default to uncompressed. Setting this key overrides the default only for
43 # # result formats whose bundle compression is configurable.
44 # # The intention for result compression is to produce a smaller
45 # # image than the original. Encrypted data generally grows when an
46 # # attempt is made to compress it. Therefore this setting is ignored for
47 # # filesystem images and for disk subformats derived from the generic base,
48 # # including vhdfixed and vmdk, when a luks setup is present. For raw disks
49 # # the override additionally requires luks_randomize.
50 # - compress: true
51 # # Specify if the image build result and bundle should contain
52 # # a .changes file. The .changes file contains the package changelog
53 # # information from all packages installed into the image.
54 # # Default: true. Automatically false when building inside the Open
55 # # Build Service, which provides an equivalent .report file itself.
56 # - has_package_changes: true
57 # # Specify shasum size for the bundle creation. Supported values
58 # # are "256" (default) and "512". This value takes precedence
59 # # over the global shasum size specified in the shasum section.
60 # # If not specified, the global shasum size or the default is used.
61 # - shasum_size: "256"
62
63
64 # Setup behaviour of XZ compressor
65 #xz:
66 # # Specify options used in any xz compression call
67 # - options: '--threads=0'
68
69
70 # Setup process parameters for container image creation
71 #container:
72 # # Specify compression for container images
73 # # Possible values are true, false, xz or none.
74 # - compress: true
75
76
77 # Setup process parameters for ISO image creation
78 #iso:
79 # # Specify tool category which should be used to build iso images
80 # # Possible values are: xorriso
81 # - tool_category: xorriso
82 # # Specify media tag tool used to implant iso checksums
83 # # Possible values are checkmedia and isomd5sum
84 # - media_tag_tool: checkmedia
85
86
87 # Setup process parameters for OCI toolchain
88 #oci:
89 # # Specify OCI archive tool which should be used on creation of
90 # # container archives for OCI compliant images, e.g docker
91 # # Possible values are umoci and buildah
92 # - archive_tool: umoci
93
94 # Setup shasum size
95 # shasum:
96 # # Specify shasum size, supported are "256" (default) and "512"
97 # # Setting the size in this section globally applies to all
98 # # shasum operations performed by KIWI. Please also see the
99 # # bundle section for shasum size configuration specific to the
100 # # result bundle creation.
101 # - size: "256"
102
103 # Specify build constraints that applies during the image build
104 # process. If one or more constraints are violated the build exits
105 # with an appropriate error message.
106 #build_constraints:
107 # # Maximum result image size. The value can be specified in
108 # # bytes or it can be specified with m=MB or g=GB. The constraint
109 # # is checked prior to the result bundle creation
110 # - max_size: 700m
111
112 # Setup process parameters for partition mapping
113 #mapper:
114 # # Specify tool to use for creating partition maps
115 # # Possible values are: kpartx and partx
116 # # Default: partx, except on s390 where the default is kpartx
117 # - part_mapper: partx
118
119 # Setup process parameters to handle runtime checks
120 #runtime_checks:
121 # # Specify list of runtime checks to disable
122 # - disable:
123 # # verify that the host has the required container tools installed
124 # - check_container_tool_chain_installed
125
126 # # verify that there are repositories configured
127 # - check_repositories_configured
128
129 # # verify that the URL for imageinclude repos is accessable
130 # - check_image_include_repos_publicly_resolvable
131
132 # # verify for legacy kiwi boot images that they exist on the host
133 # - check_boot_description_exists
134
135 # # verify if kiwi initrd_system was set if a boot attribute exists
136 # - check_initrd_selection_required
137
138 # # verify for legacy kiwi boot images that the same kernel is used
139 # - check_consistent_kernel_in_boot_and_system_image
140
141 # # check for reserved label names used in LVM setup
142 # - check_volume_setup_defines_reserved_labels
143
144 # # verify only one full size volume is specified for LVM images
145 # - check_volume_setup_defines_multiple_fullsize_volumes
146
147 # # verify no / volume setup is setup but the @root volume is used
148 # - check_volume_setup_has_no_root_definition
149
150 # # verify if volume label is really used with a volume setup
151 # - check_volume_label_used_with_lvm
152
153 # # verify that there is a xen domain setup for xen images
154 # - check_xen_uniquely_setup_as_server_or_guest
155
156 # # verify mediacheck is installed for ISO images that requests it
157 # - check_mediacheck_installed
158
159 # # verify that checkmedia/tagmedia is used with an MBR(msdos) partition table
160 # - check_checkmedia_used_with_msdos_table
161
162 # # verify dracut-kiwi-live is installed for ISO images
163 # - check_dracut_module_for_live_iso_in_package_list
164
165 # # verify dracut-kiwi-overlay is installed for overlay disk images
166 # - check_dracut_module_for_disk_overlay_in_package_list
167
168 # # verify dracut-kiwi-repart is installed for OEM disk images
169 # - check_dracut_module_for_disk_oem_in_package_list
170
171 # # verify dracut-kiwi-oem-dump is installed for OEM install images
172 # - check_dracut_module_for_oem_install_in_package_list
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