2023-03-01 14:07:11 +00:00
|
|
|
# Import general configuration from general.conf
|
|
|
|
from general import *
|
2023-03-06 12:19:21 +00:00
|
|
|
# Import multilib configuration from multilib.conf
|
|
|
|
from multilib import *
|
2023-03-01 14:07:11 +00:00
|
|
|
|
2017-02-24 14:13:04 +00:00
|
|
|
# PRODUCT INFO
|
2018-02-20 17:04:37 +00:00
|
|
|
release_name = 'Fedora-Container'
|
|
|
|
release_short = 'Fedora-Container'
|
2021-05-02 17:39:50 +00:00
|
|
|
release_version = '35'
|
2018-05-25 13:40:32 +00:00
|
|
|
skip_phases = ["buildinstall", "productimg", "pkgset", "gather", "extra_files", "createrepo"]
|
2017-02-24 14:13:04 +00:00
|
|
|
# GENERAL SETTINGS
|
2018-05-25 13:40:32 +00:00
|
|
|
comps_file = {
|
|
|
|
'scm': 'git',
|
|
|
|
'repo': 'https://pagure.io/fedora-comps.git',
|
2021-05-04 15:44:55 +00:00
|
|
|
'branch': 'main',
|
2021-05-02 17:39:50 +00:00
|
|
|
'file': 'comps-f35.xml',
|
|
|
|
'command': 'make comps-f35.xml'
|
2018-05-25 13:40:32 +00:00
|
|
|
}
|
2022-02-08 23:24:48 +00:00
|
|
|
sigkeys = ['5323552A'] # None = unsigned
|
2017-02-24 14:13:04 +00:00
|
|
|
# limit tree variants
|
|
|
|
# if undefined, all variants from variants.xml will be included
|
2018-02-20 17:04:37 +00:00
|
|
|
tree_variants = ['Container']
|
2017-02-24 14:13:04 +00:00
|
|
|
# PKGSET
|
2021-05-02 17:39:50 +00:00
|
|
|
pkgset_koji_tag = 'f35-updates'
|
2017-02-24 14:13:04 +00:00
|
|
|
pkgset_koji_inherit = True
|
|
|
|
# GATHER
|
|
|
|
gather_method = 'deps'
|
2017-09-02 00:08:16 +00:00
|
|
|
gather_profiler = True
|
2017-02-24 14:13:04 +00:00
|
|
|
# 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$', {
|
|
|
|
'*': [
|
|
|
|
],
|
|
|
|
}),
|
|
|
|
]
|
2018-05-25 13:40:32 +00:00
|
|
|
|
2017-02-24 14:13:04 +00:00
|
|
|
filter_packages = [
|
2018-05-25 13:40:32 +00:00
|
|
|
('(Workstation|Server)$', {
|
2017-02-24 14:13:04 +00:00
|
|
|
'*': [
|
2018-05-25 13:40:32 +00:00
|
|
|
'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-*',
|
2017-02-24 14:13:04 +00:00
|
|
|
]
|
|
|
|
}),
|
|
|
|
]
|
2018-05-25 13:40:32 +00:00
|
|
|
|
2017-02-24 14:13:04 +00:00
|
|
|
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'
|
|
|
|
]
|
2017-08-15 15:55:33 +00:00
|
|
|
|
|
|
|
# These will be inherited by live_media, live_images and image_build
|
2021-05-02 17:39:50 +00:00
|
|
|
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#origin/f35'
|
2017-08-15 15:55:33 +00:00
|
|
|
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
|
2021-05-02 17:39:50 +00:00
|
|
|
global_version = '35'
|
|
|
|
global_target = 'f35'
|
2017-08-15 15:55:33 +00:00
|
|
|
|
2017-02-24 14:13:04 +00:00
|
|
|
image_build = {
|
2018-02-20 17:04:37 +00:00
|
|
|
'^Container$': [
|
2017-02-24 14:13:04 +00:00
|
|
|
{
|
|
|
|
'image-build': {
|
2017-03-28 22:11:19 +00:00
|
|
|
'format': [('docker', 'tar.xz')],
|
2018-02-20 17:04:37 +00:00
|
|
|
'name': 'Fedora-Container-Base',
|
2019-01-03 18:10:02 +00:00
|
|
|
'kickstart': 'fedora-container-base.ks',
|
2017-08-14 21:29:37 +00:00
|
|
|
'distro': 'Fedora-22',
|
|
|
|
'disk_size': 5,
|
2022-02-09 11:25:49 +00:00
|
|
|
'arches': ['aarch64', 'ppc64le', 's390x', 'x86_64'],
|
2021-05-02 17:39:50 +00:00
|
|
|
'install_tree_from': 'https://kojipkgs.fedoraproject.org/compose/35/latest-Fedora-35/compose/Everything/$arch/os/',
|
2017-02-24 14:13:04 +00:00
|
|
|
'repo': [
|
2021-05-02 17:39:50 +00:00
|
|
|
'https://kojipkgs.fedoraproject.org/compose/updates/f35-updates/compose/Everything/$arch/os/'
|
|
|
|
'https://kojipkgs.fedoraproject.org/compose/35/latest-Fedora-35/compose/Everything/$arch/os/'
|
2017-02-24 14:13:04 +00:00
|
|
|
],
|
2018-02-20 17:04:37 +00:00
|
|
|
'subvariant': 'Container_Base'
|
2017-03-28 22:11:19 +00:00
|
|
|
},
|
|
|
|
'factory-parameters': {
|
2017-03-30 17:11:07 +00:00
|
|
|
'dockerversion': "1.10.1",
|
2017-03-31 18:58:16 +00:00
|
|
|
'docker_cmd': '[ "/bin/bash" ]',
|
2021-05-02 17:39:50 +00:00
|
|
|
'docker_env': '[ "DISTTAG=f35container", "FGC=f35", "container=oci" ]',
|
|
|
|
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "35"}',
|
2017-08-14 21:29:37 +00:00
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'image-build': {
|
|
|
|
'format': [('docker', 'tar.xz')],
|
|
|
|
'name': 'Fedora-Container-Minimal-Base',
|
2019-01-03 18:10:02 +00:00
|
|
|
'kickstart': 'fedora-container-base-minimal.ks',
|
2017-08-14 21:29:37 +00:00
|
|
|
'distro': 'Fedora-22',
|
|
|
|
'disk_size': 5,
|
2022-02-09 11:25:49 +00:00
|
|
|
'arches': ['aarch64', 'ppc64le', 's390x', 'x86_64'],
|
2021-05-02 17:39:50 +00:00
|
|
|
'install_tree_from': 'https://kojipkgs.fedoraproject.org/compose/35/latest-Fedora-35/compose/Everything/$arch/os/',
|
2017-08-14 21:29:37 +00:00
|
|
|
'repo': [
|
2021-05-02 17:39:50 +00:00
|
|
|
'https://kojipkgs.fedoraproject.org/compose/updates/f35-updates/compose/Everything/$arch/os/'
|
|
|
|
'https://kojipkgs.fedoraproject.org/compose/35/latest-Fedora-35/compose/Everything/$arch/os/'
|
2017-08-14 21:29:37 +00:00
|
|
|
],
|
|
|
|
'subvariant': 'Container_Minimal_Base',
|
|
|
|
},
|
|
|
|
'factory-parameters': {
|
|
|
|
'dockerversion': "1.10.1",
|
|
|
|
'docker_cmd': '[ "/bin/bash" ]',
|
2021-05-02 17:39:50 +00:00
|
|
|
'docker_env': '[ "DISTTAG=f35container", "FGC=f35", "container=oci" ]',
|
|
|
|
'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "35"}',
|
2017-03-28 22:11:19 +00:00
|
|
|
},
|
2017-02-24 14:13:04 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
}
|
|
|
|
koji_profile = 'compose_koji'
|