|
Brian Stinson |
06ce12 |
from multilib import *
|
|
|
d7ff4f |
from include-excludes import *
|
|
Brian Stinson |
b43481 |
from version import *
|
|
Brian Stinson |
06ce12 |
|
|
|
99baff |
# PRODUCT INFO
|
|
|
99baff |
release_name = "CentOS Linux"
|
|
|
99baff |
release_short = "CentOS"
|
|
Brian Stinson |
17e68e |
release_type = "updates"
|
|
|
99baff |
release_version = "8"
|
|
|
99baff |
release_is_layered = False
|
|
Brian Stinson |
b43481 |
version = "8"
|
|
|
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
|
|
Brian Stinson |
0dd19d |
runroot_channel = 'image'
|
|
Brian Stinson |
0dd19d |
runroot_tag = 'dist-c8-build'
|
|
Brian Stinson |
0dd19d |
runroot_method = 'koji'
|
|
|
99baff |
|
|
|
99baff |
# PKGSET
|
|
|
99baff |
pkgset_source = "koji"
|
|
|
99baff |
koji_profile = "mbox"
|
|
|
99baff |
|
|
|
99baff |
# PKGSET - KOJI
|
|
Brian Stinson |
17e68e |
pkgset_koji_tag = "dist-c8-compose"
|
|
|
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 = {
|
|
Brian Stinson |
f0d806 |
"^(?!(AppStream|PowerTools)).*$":{
|
|
|
99baff |
"comps": "deps"
|
|
|
99baff |
},
|
|
Brian Stinson |
f0d806 |
"^(AppStream|PowerTools)$": "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"
|
|
Brian Stinson |
d3a1bf |
createrepo_use_xz = True
|
|
Brian Stinson |
b43481 |
createrepo_num_threads = 8
|
|
Brian Stinson |
b43481 |
createrepo_num_workers = 4
|
|
Brian Stinson |
b43481 |
createrepo_extra_args = ['--distro=cpe:/o:centos:centos:8,CentOS 8', '--revision=8.0.1905']
|
|
|
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 |
b43481 |
"rootfs_size": 3,
|
|
Brian Stinson |
b43481 |
"version": "8.0.1905"
|
|
|
99baff |
}
|
|
|
99baff |
})
|
|
|
99baff |
]
|
|
|
99baff |
|
|
|
99baff |
buildinstall_skip = [
|
|
Brian Stinson |
f0d806 |
("^(AppStream|PowerTools)$", {
|
|
|
99baff |
"*": True
|
|
|
99baff |
}),
|
|
|
99baff |
]
|
|
|
99baff |
|
|
|
99baff |
image_name_format = {
|
|
Brian Stinson |
b43481 |
"^BaseOS$": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
|
|
Brian Stinson |
b43481 |
".*": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
|
|
|
99baff |
}
|
|
|
99baff |
|
|
|
99baff |
# CREATEISO
|
|
|
99baff |
create_optional_isos = False
|
|
|
99baff |
|
|
|
99baff |
createiso_skip = [
|
|
Brian Stinson |
f0d806 |
('^(BaseOS|AppStream|PowerTools|)$', {
|
|
|
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 |
b43481 |
"filename": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
|
|
Brian Stinson |
1b8ccf |
"skip_src": True,
|
|
Brian Stinson |
990002 |
}]
|
|
Brian Stinson |
990002 |
}
|
|
Brian Stinson |
990002 |
|
|
|
99baff |
restricted_volid = True
|
|
|
99baff |
|
|
|
99baff |
# LOOKASIDE
|
|
|
99baff |
variant_as_lookaside = [
|
|
|
99baff |
('AppStream', 'BaseOS'),
|
|
Brian Stinson |
f0d806 |
('PowerTools', 'BaseOS'),
|
|
Brian Stinson |
f0d806 |
('PowerTools', 'AppStream'),
|
|
|
99baff |
]
|
|
|
99baff |
|
|
|
99baff |
productimg = False
|
|
|
99baff |
|
|
|
99baff |
translate_paths = [
|
|
Brian Stinson |
0dd19d |
("/mnt/koji", "https://koji.mbox.centos.org/pkgs"),
|
|
Brian Stinson |
0dd19d |
("/compose", "http://172.22.0.123/compose"),
|
|
|
99baff |
]
|
|
|
99baff |
|