pungi-fedora/fedora/override.conf
Jan Kaluza d5d93c858e ELN: cherry-pick cdparanoia from fc32 until we build it in ELN.
Signed-off-by: Jan Kaluza <jkaluza@redhat.com>
2020-10-03 07:24:01 +02:00

170 lines
4.7 KiB
Plaintext

# This files overrides default variables defined in the configs in
# the ../shared directory.
# In Fedora, we do not build all variants, because they do not make sense
# in the Fedora world.
tree_variants = ["Everything", "BaseOS", "AppStream", "CRB"]
# Fedora signing keys.
sigkeys = ['9570FF31', 'D300E724']
# Architectures supported by Fedora.
tree_arches = ['aarch64', 'ppc64le', 's390x', 'x86_64', 'i386']
# For Fedora-ELN, we do not inherit builds from parent tags.
pkgset_koji_inherit = False
# Cherry-pick packages which fail to build in ELN from Fedora 33 for now.
pkgset_koji_builds = [
"shim-15-8",
"metacity-3.36.1-2.fc33",
"rng-tools-6.10-5.fc33",
"strace-5.7.0.6.7ab6-1.fc33",
"cdparanoia-10.2-31.fc32",
]
# No jigdo needed in Fedora.
create_jigdo = False
# We only build repositories and installer in Fedora so far.
skip_phases = [
"createiso",
"live_media",
"live_images",
"ostree",
"osbs",
"extra_isos",
#"image_build"
]
# Build installer only from BaseOS x86_64.
buildinstall_skip = [
('^BaseOS$', {
'i386': True,
'aarch64': True,
'ppc64le': True,
's390x': True
}),
('^Everything$', {
'i386': True,
'aarch64': True,
'ppc64le': True,
's390x': True
}),
("^(Modular|AppStream|CRB|ResilientStorage|HighAvailability|SAP|SAPHANA|RT|NFV)$", {
'*': True
}),
]
# Everything contains everything.
additional_packages = [
('^Everything$', {
'*': [
'*',
],
}),
]
# Enables macboot on x86_64 for all variants and disables upgrade image building
# everywhere.
# Use 3GB image size for all arches.
lorax_options = [
('^.*$', {
'x86_64': {
'nomacboot': True
},
'*': {
'noupgrade': True,
'rootfs_size': 3,
# This is used to use ELN lorax templates instead of Fedora ones.
'configuration_file': 'lorax.conf'
}
})
]
# Drop the variants we do not care about from the variant_as_lookaside.
variant_as_lookaside = [
("AppStream", "BaseOS"),
("CRB", "BaseOS"),
("CRB", "AppStream"),
]
# TODO: There is no "fus" in Fedora and no comps yet. For now use "json"
# source and "deps" method.
# Generate gather_source.json on-the-fly using the prepopulate scm dict,
# store it into /srv/odcs and use it from there.
gather_prepopulate = {
'scm': 'git',
'repo': "https://pagure.io/pungi-fedora.git",
'branch': "eln",
'file': "prepopulate.json",
'command': "echo {} > prepopulate.json; ./content-resolver-to-gather-source-json; cp gather_source.json /srv/odcs"
}
gather_source_mapping = "/srv/odcs/gather_source.json"
gather_method = "deps"
# No product_id for Fedora.
product_id_allow_missing = False
variants_file = "variants.xml"
# These will be inherited by live_media, live_images and image_build
global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD'
global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN'
global_version = 'ELN'
# live_images ignores this in favor of live_target
global_target = 'eln'
translate_paths = [ # required by image-build
("/srv/odcs", "https://odcs.fedoraproject.org/composes"),
]
image_build = {
'^Everything$': [
{
'image-build': {
'format': [('docker', 'tar.xz')],
'name': 'Fedora-Container-Base',
'kickstart': 'fedora-eln-container-base.ks',
'distro': 'Fedora-22',
'disk_size': 10,
'arches': ['x86_64'],
'repo': 'Everything',
'install_tree_from': 'Everything',
'subvariant': 'Container_Base',
'failable': ['*'],
},
'factory-parameters': {
'dockerversion': "1.10.1",
'docker_cmd': '[ "/bin/bash" ]',
'docker_env': '[ "DISTTAG=elncontainer", "FGC=eln", "container=oci" ]',
'docker_label': '{ "name": "fedora-eln", "license": "MIT", "vendor": "Fedora Project", "version": "9"}',
},
},
],
"^BaseOS$": [
{
"image-build": {
"format": [("qcow2", "qcow2")],
"name": "Fedora-ELN-Guest",
"version": "9.0",
"kickstart": "fedora-eln-guest.ks",
"ksversion": "F26",
"distro": "Fedora-20",
"disk-size": "10",
"arches": ["x86_64"],
'install_tree_from': 'BaseOS',
"repo": ["BaseOS","AppStream","Everything"]
"failable": ["*"],
},
"factory-parameters": {
"generate_icicle": False,
}
}
]
}