|
Brian Stinson |
06ce12 |
from multilib import *
|
|
|
d7ff4f |
from include-excludes import *
|
|
Brian Stinson |
990002 |
from images import *
|
|
Brian Stinson |
06ce12 |
|
|
|
99baff |
# PRODUCT INFO
|
|
|
99baff |
release_name = "CentOS Linux"
|
|
|
99baff |
release_short = "CentOS"
|
|
|
99baff |
release_version = "8"
|
|
|
99baff |
release_is_layered = False
|
|
|
99baff |
|
|
|
99baff |
# GENERAL SETTINGS
|
|
|
99baff |
bootable = True
|
|
|
99baff |
comps_file = {
|
|
|
99baff |
'scm': 'git',
|
|
|
99baff |
'repo': 'https://git.centos.org/centos/comps.git',
|
|
|
99baff |
'branch': 'master',
|
|
Brian Stinson |
271f65 |
'file': 'comps-centos-8.0.0.1905.xml',
|
|
|
99baff |
}
|
|
|
99baff |
|
|
Brian Stinson |
271f65 |
link_type = 'hardlink-or-copy'
|
|
Brian Stinson |
271f65 |
|
|
|
99baff |
module_defaults_dir = {
|
|
|
99baff |
'scm': 'git',
|
|
|
99baff |
'repo': 'https://git.centos.org/centos/centos-module-defaults.git',
|
|
Brian Stinson |
271f65 |
'branch': 'c8.0',
|
|
|
99baff |
'dir': '.',
|
|
|
99baff |
}
|
|
|
99baff |
|
|
|
99baff |
multilib = [
|
|
|
99baff |
('^.*$', {
|
|
|
99baff |
'x86_64': ['devel', 'runtime']
|
|
|
99baff |
}),
|
|
|
99baff |
]
|
|
|
99baff |
|
|
|
99baff |
variants_file = 'variants.xml'
|
|
Brian Stinson |
580b8a |
sigkeys = ['8483C65D']
|
|
|
99baff |
hashed_directories = False
|
|
|
99baff |
|
|
Brian Stinson |
f9c1a4 |
tree_arches = ['aarch64', 'i386', 'ppc64le', 'x86_64']
|
|
|
99baff |
|
|
|
99baff |
# RUNROOT SETTINGS
|
|
|
99baff |
runroot = True
|
|
|
99baff |
runroot_channel = 'compose'
|
|
|
99baff |
runroot_tag = 'dist-c8'
|
|
|
99baff |
runroot_method = 'local'
|
|
|
99baff |
|
|
|
99baff |
# PKGSET
|
|
|
99baff |
pkgset_source = "koji"
|
|
|
99baff |
koji_profile = "mbox"
|
|
|
99baff |
|
|
|
99baff |
# PKGSET - KOJI
|
|
|
99baff |
pkgset_koji_tag = "dist-c8"
|
|
|
99baff |
pkgset_koji_module_tag = "modular-updates-candidate"
|
|
|
99baff |
|
|
|
99baff |
filter_system_release_packages = False
|
|
|
99baff |
|
|
|
99baff |
# GATHER
|
|
|
99baff |
gather_prepopulate = "centos-packages.json"
|
|
|
99baff |
|
|
|
99baff |
gather_method = {
|
|
|
99baff |
"^(?!(AppStream|Devel)).*$":{
|
|
|
99baff |
"comps": "deps"
|
|
|
99baff |
},
|
|
|
99baff |
"^(AppStream|Devel)$": "hybrid",
|
|
|
99baff |
}
|
|
|
99baff |
|
|
|
99baff |
gather_backend = "dnf"
|
|
|
99baff |
check_deps = False
|
|
|
99baff |
greedy_method = "none"
|
|
|
99baff |
repoclosure_backend = "dnf"
|
|
|
99baff |
|
|
|
99baff |
# CREATEREPO
|
|
|
99baff |
createrepo_deltas = False
|
|
|
99baff |
createrepo_database = True
|
|
|
99baff |
createrepo_c = True
|
|
|
99baff |
createrepo_checksum = "sha256"
|
|
|
99baff |
|
|
|
99baff |
# CHECKSUMS
|
|
|
99baff |
media_checksums = ['sha256']
|
|
|
99baff |
media_checksum_one_file = True
|
|
|
99baff |
create_jigdo = False
|
|
|
99baff |
|
|
|
99baff |
# BUILDINSTALL
|
|
|
99baff |
bootable = True
|
|
|
99baff |
buildinstall_method = "lorax"
|
|
|
99baff |
|
|
|
99baff |
lorax_options = [
|
|
|
99baff |
("^.*$", {
|
|
|
99baff |
"*": {
|
|
Brian Stinson |
990002 |
"noupgrade": False,
|
|
Brian Stinson |
990002 |
"rootfs_size": 3
|
|
|
99baff |
}
|
|
|
99baff |
})
|
|
|
99baff |
]
|
|
|
99baff |
|
|
|
99baff |
buildinstall_skip = [
|
|
|
99baff |
("^(AppStream|Devel)$", {
|
|
|
99baff |
"*": True
|
|
|
99baff |
}),
|
|
|
99baff |
]
|
|
|
99baff |
|
|
|
99baff |
image_name_format = {
|
|
|
99baff |
"^BaseOS$": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}",
|
|
|
99baff |
".*": "{compose_id}-{variant}-{arch}-{disc_type}{disc_num}{suffix}",
|
|
|
99baff |
}
|
|
|
99baff |
|
|
|
99baff |
# CREATEISO
|
|
|
99baff |
create_optional_isos = False
|
|
|
99baff |
|
|
|
99baff |
createiso_skip = [
|
|
|
99baff |
('^(BaseOS|AppStream|Devel|)$', {
|
|
|
99baff |
'*': True,
|
|
|
99baff |
'src':True
|
|
|
99baff |
}),
|
|
|
99baff |
]
|
|
|
99baff |
|
|
Brian Stinson |
990002 |
extra_isos = {
|
|
Brian Stinson |
990002 |
"BaseOS": [{
|
|
Brian Stinson |
990002 |
"include_variants": ["AppStream"],
|
|
Brian Stinson |
990002 |
"filename": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}",
|
|
Brian Stinson |
990002 |
"skip_src": False,
|
|
Brian Stinson |
990002 |
}]
|
|
Brian Stinson |
990002 |
}
|
|
Brian Stinson |
990002 |
|
|
|
99baff |
restricted_volid = True
|
|
|
99baff |
|
|
|
99baff |
# LOOKASIDE
|
|
|
99baff |
variant_as_lookaside = [
|
|
|
99baff |
('AppStream', 'BaseOS'),
|
|
|
99baff |
('Devel', 'BaseOS'),
|
|
|
99baff |
('Devel', 'AppStream'),
|
|
|
99baff |
]
|
|
|
99baff |
|
|
|
99baff |
productimg = False
|
|
|
99baff |
|
|
|
99baff |
translate_paths = [
|
|
|
99baff |
("/mnt/koji", "https://koji.mbox.centos.org/kojifiles/"),
|
|
|
99baff |
]
|
|
|
99baff |
|