# Import general configuration from general.conf from general import * # Import multilib configuration from multilib.conf from multilib import * # PRODUCT INFO release_name = 'Fedora-Cloud' release_short = 'Fedora-Cloud' release_version = '40' skip_phases = ["buildinstall", "productimg", "pkgset", "gather", "extra_files", "createrepo"] # GENERAL SETTINGS comps_file = { 'scm': 'git', 'repo': 'https://pagure.io/fedora-comps.git', 'branch': 'main', 'file': 'comps-f40.xml', 'command': 'make comps-f40.xml' } variants_file='variants-fedora.xml' sigkeys = ['a15B79cc'] # None = unsigned # limit tree variants # if undefined, all variants from variants.xml will be included tree_variants = ['Cloud'] # PKGSET pkgset_koji_tag = 'f40-updates' pkgset_koji_inherit = True # GATHER gather_method = 'deps' gather_profiler = True # fomat: [(variant_uid_regex, {arch|*: [repos]})] # gather_lookaside_repos = [] # GATHER - JSON # format: {variant_uid: {arch: package: [arch1, arch2, None (for any arch)]}} #gather_source_mapping = '/path/to/mapping.json' # CREATEREPO createrepo_c = True createrepo_checksum = 'sha256' # CHECKSUMS media_checksum_base_filename = 'Fedora-%(variant)s-%(version)s-%(date)s.%(respin)s-%(arch)s' #extra_packages = [ # '/mnt/packages/foo*', #] # fomat: [(variant_uid_regex, {arch|*: [packages]})] additional_packages = [ ('.*', { '*': [ 'kernel.*', 'dracut.*', 'autocorr-.*', 'eclipse-nls-.*', 'hunspell-.*', 'hyphen-.*', 'calligra-l10n-.*', 'kde-l10n-.*', 'libreoffice-langpack-.*', 'man-pages-.*', 'mythes-.*', ], }), ('^Everything$', { '*': [ '*', ], }), ('^Server$', { '*': [ ], }), ('^Workstation$', { '*': [ ], }), ('^Cloud$', { '*': [ ], }), ] filter_packages = [ ('(Workstation|Server)$', { '*': [ 'kernel*debug*', 'kernel-kdump*', 'kernel-tools*', 'syslog-ng*', 'astronomy-bookmarks', 'generic*', 'GConf2-dbus*', 'bluez-gnome', 'java-1.8.0-openjdk', 'community-mysql*', 'jruby*', 'gimp-help-*', ] }), ] createiso_skip = [ ('^Workstation$', { '*': True, 'src': True }), ('^Server$', { 'src': True }), ('^Cloud$', { '*': True, 'src': True }), ('^Everything$', { '*': True, 'src': True }), ] # fomat: [(variant_uid_regex, {arch|*: [scm_dicts]})] #extra_files = [ # ('^(Server|Workstation|Cloud)$', { # '*': [ # { # 'scm': 'rpm', # 'repo': 'fedora-release-%(variant_id_lower)s', # 'branch': None, # 'file': [ # '/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-release', # ], # 'target': '', # }, # ], # }), #] # Image name respecting Fedora's image naming policy image_name_format = 'Fedora-%(variant)s-%(disc_type)s-%(arch)s-%(version)s-%(date)s.%(respin)s.iso' # # Use the same format for volume id image_volid_formats = [ 'Fedora-%(variant)s-%(disc_type)s-%(arch)s-%(version)s' ] image_build = { '^Cloud$': [ { 'image-build': { 'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')], 'name': 'Fedora-Cloud-Base', 'target': 'f40', 'version': '40', 'release': None, 'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f40', 'kickstart': 'fedora-cloud-base.ks', 'distro': 'Fedora-22', 'disk_size': 4, 'arches': ['aarch64', 'ppc64le', 's390x', 'x86_64'], 'repo': [ 'https://kojipkgs.fedoraproject.org/compose/updates/f40-updates/compose/Everything/$arch/os/' 'https://kojipkgs.fedoraproject.org/compose/40/latest-Fedora-40/compose/Everything/$arch/os/' ], 'install_tree_from': 'https://kojipkgs.fedoraproject.org/compose/40/latest-Fedora-40/compose/Everything/$arch/os/', 'subvariant': 'Cloud_Base' } }, { 'image-build': { 'format': [('vagrant-libvirt','vagrant-libvirt.box'), ('vagrant-virtualbox','vagrant-virtualbox.box')] 'name': 'Fedora-Cloud-Base-Vagrant', 'target': 'f40', 'version': '40', 'release': None, 'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f40', 'kickstart': 'fedora-cloud-base-vagrant.ks', 'distro': 'Fedora-22', 'disk_size': 40, 'arches': ['x86_64'], 'repo': [ 'https://kojipkgs.fedoraproject.org/compose/updates/f40-updates/compose/Everything/$arch/os/' 'https://kojipkgs.fedoraproject.org/compose/40/latest-Fedora-40/compose/Everything/$arch/os/' ], 'install_tree_from': 'https://kojipkgs.fedoraproject.org/compose/40/latest-Fedora-40/compose/Everything/$arch/os/', 'subvariant': 'Cloud_Base', } }, { 'image-build': { 'format': [('vpc','vpc')], 'name': 'Fedora-Cloud-Base-Azure', 'target': 'f40', 'version': '40', 'release': None, 'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f40', 'kickstart': 'fedora-cloud-base-azure.ks', 'distro': 'Fedora-30', 'disk_size': 10, 'arches': ['aarch64', 'x86_64'], 'repo': [ 'https://kojipkgs.fedoraproject.org/compose/updates/f40-updates/compose/Everything/$arch/os/' 'https://kojipkgs.fedoraproject.org/compose/40/latest-Fedora-40/compose/Everything/$arch/os/' ], 'install_tree_from': 'https://kojipkgs.fedoraproject.org/compose/40/latest-Fedora-40/compose/Everything/$arch/os/', 'subvariant': 'Cloud_Base' } }, ], } koji_profile = 'compose_koji'