|
Brian Stinson |
b8d9e7 |
from multilib import *
|
|
Brian Stinson |
2f13b1 |
from stream-include-excludes import *
|
|
Brian Stinson |
819d52 |
#from stream-images import *
|
|
Brian Stinson |
b8d9e7 |
|
|
|
a3aeec |
# PRODUCT INFO
|
|
Brian Stinson |
b8d9e7 |
release_name = "CentOS Stream"
|
|
Brian Stinson |
a39fdc |
release_short = "CentOS-Stream"
|
|
Brian Stinson |
a39fdc |
release_version = "8"
|
|
Brian Stinson |
a39fdc |
version = "8"
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# GENERAL SETTINGS
|
|
Brian Stinson |
b8d9e7 |
comps_file = {
|
|
Brian Stinson |
b8d9e7 |
'scm': 'git',
|
|
Brian Stinson |
b8d9e7 |
'repo': 'https://git.centos.org/centos/comps.git',
|
|
Brian Stinson |
b8d9e7 |
'branch': 'master',
|
|
Brian Stinson |
b8d9e7 |
'file': 'comps-centos-8-stream.xml',
|
|
Brian Stinson |
b8d9e7 |
}
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
link_type = 'hardlink-or-copy'
|
|
|
a3aeec |
variants_file = 'variants-stream.xml'
|
|
|
a3aeec |
sigkeys = ['8483C65D']
|
|
|
a3aeec |
tree_arches = ['aarch64', 'i386', 'ppc64le', 'x86_64']
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
module_defaults_dir = {
|
|
Brian Stinson |
b8d9e7 |
'scm': 'git',
|
|
Brian Stinson |
b8d9e7 |
'repo': 'https://git.centos.org/centos/centos-module-defaults.git',
|
|
|
06f73d |
'branch': 'c8s',
|
|
Brian Stinson |
b8d9e7 |
'dir': '.',
|
|
Brian Stinson |
b8d9e7 |
}
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
multilib = [
|
|
Brian Stinson |
b8d9e7 |
('^.*$', {
|
|
Brian Stinson |
b8d9e7 |
'x86_64': ['devel', 'runtime']
|
|
Brian Stinson |
b8d9e7 |
}),
|
|
Brian Stinson |
b8d9e7 |
]
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# RUNROOT SETTINGS
|
|
Brian Stinson |
b8d9e7 |
runroot_channel = 'image'
|
|
Brian Stinson |
b8d9e7 |
runroot_tag = 'dist-c8-build'
|
|
Brian Stinson |
b8d9e7 |
runroot_method = 'koji'
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# PKGSET
|
|
Brian Stinson |
b8d9e7 |
pkgset_source = "koji"
|
|
Brian Stinson |
b8d9e7 |
koji_profile = "mbox"
|
|
Brian Stinson |
397193 |
pkgset_allow_reuse = False
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# PKGSET - KOJI
|
|
Brian Stinson |
b8d9e7 |
pkgset_koji_tag = "dist-c8-stream-compose"
|
|
Brian Stinson |
b8d9e7 |
pkgset_koji_inherit = False
|
|
Brian Stinson |
e44849 |
pkgset_koji_module_tag = "dist-c8-stream-module-compose"
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
filter_system_release_packages = False
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# GATHER
|
|
|
a3aeec |
gather_backend = "dnf"
|
|
|
a3aeec |
check_deps = False
|
|
|
a3aeec |
greedy_method = "none"
|
|
|
a3aeec |
repoclosure_backend = "dnf"
|
|
Brian Stinson |
819d52 |
gather_prepopulate = "centos-stream-packages.json"
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
gather_method = {
|
|
Brian Stinson |
044556 |
"^(?!(AppStream|PowerTools|CR)).*$":{
|
|
Brian Stinson |
b8d9e7 |
"comps": "deps"
|
|
Brian Stinson |
b8d9e7 |
},
|
|
Brian Stinson |
044556 |
"^(AppStream|PowerTools|CR)$": "hybrid",
|
|
Brian Stinson |
b8d9e7 |
}
|
|
Brian Stinson |
b8d9e7 |
|
|
|
a3aeec |
hashed_directories = False
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# CREATEREPO
|
|
Brian Stinson |
b8d9e7 |
createrepo_deltas = False
|
|
Brian Stinson |
b8d9e7 |
createrepo_database = True
|
|
Brian Stinson |
b8d9e7 |
createrepo_c = True
|
|
Brian Stinson |
b8d9e7 |
createrepo_checksum = "sha256"
|
|
Brian Stinson |
b8d9e7 |
createrepo_use_xz = True
|
|
Brian Stinson |
b8d9e7 |
createrepo_num_threads = 8
|
|
Brian Stinson |
b8d9e7 |
createrepo_num_workers = 4
|
|
James Antill |
f81b25 |
createrepo_extra_args = ['--distro=cpe:/o:centos-stream:centos-stream:8,CentOS Stream 8', '--revision=8-stream']
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# CHECKSUMS
|
|
Brian Stinson |
b8d9e7 |
media_checksums = ['sha256']
|
|
Brian Stinson |
b8d9e7 |
media_checksum_one_file = True
|
|
Brian Stinson |
b8d9e7 |
create_jigdo = False
|
|
Brian Stinson |
b8d9e7 |
|
|
|
1d6938 |
# Pull in modulemd for older module versions to fill in gaps in contexts
|
|
|
1d6938 |
createrepo_extra_modulemd = {
|
|
|
1d6938 |
"AppStream": {
|
|
|
1d6938 |
"scm": "git",
|
|
|
011e4d |
"repo": "https://git.centos.org/centos/centos-metadata.git",
|
|
|
1d6938 |
"dir": "extra-modulemd",
|
|
|
1d6938 |
}
|
|
|
1d6938 |
}
|
|
|
1d6938 |
|
|
Brian Stinson |
b8d9e7 |
# BUILDINSTALL
|
|
Brian Stinson |
b8d9e7 |
bootable = True
|
|
Brian Stinson |
b8d9e7 |
buildinstall_method = "lorax"
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
lorax_options = [
|
|
Brian Stinson |
b8d9e7 |
("^.*$", {
|
|
Brian Stinson |
b8d9e7 |
"*": {
|
|
Brian Stinson |
b8d9e7 |
"noupgrade": False,
|
|
Brian Stinson |
b8d9e7 |
"rootfs_size": 3,
|
|
Brian Stinson |
29a7b7 |
"version": "8-stream"
|
|
Brian Stinson |
b8d9e7 |
}
|
|
Brian Stinson |
b8d9e7 |
})
|
|
Brian Stinson |
b8d9e7 |
]
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
buildinstall_skip = [
|
|
Brian Stinson |
0f011b |
("^(AppStream|PowerTools|CR|HighAvailability|RT|ResilientStorage|NFV)$", {
|
|
Brian Stinson |
b8d9e7 |
"*": True
|
|
|
a3aeec |
}),
|
|
Brian Stinson |
b8d9e7 |
]
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
image_name_format = {
|
|
Brian Stinson |
63904d |
"^BaseOS$": "{release_short}-{version}-{arch}-{date}-{disc_type}{disc_num}{suffix}",
|
|
Brian Stinson |
63904d |
".*": "{release_short}-{version}-{arch}-{date}-{disc_type}{disc_num}{suffix}",
|
|
Brian Stinson |
b8d9e7 |
}
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
29a7b7 |
image_volid_formats = [ '{release_short}-{version}-{arch}-{disc_type}', ]
|
|
Brian Stinson |
29a7b7 |
|
|
Brian Stinson |
b8d9e7 |
# CREATEISO
|
|
Brian Stinson |
b8d9e7 |
create_optional_isos = False
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
createiso_skip = [
|
|
Brian Stinson |
0f011b |
('^(BaseOS|AppStream|PowerTools|HighAvailability|CR|RT|ResilientStorage|NFV)$', {
|
|
Brian Stinson |
b8d9e7 |
'*': True,
|
|
Brian Stinson |
b8d9e7 |
'src':True
|
|
Brian Stinson |
b8d9e7 |
}),
|
|
Brian Stinson |
b8d9e7 |
]
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
extra_isos = {
|
|
Brian Stinson |
b8d9e7 |
"BaseOS": [{
|
|
Brian Stinson |
b8d9e7 |
"include_variants": ["AppStream"],
|
|
Brian Stinson |
63904d |
"filename": "{release_short}-{version}-{arch}-{date}-{disc_type}{disc_num}{suffix}",
|
|
Brian Stinson |
b8d9e7 |
"skip_src": True,
|
|
Brian Stinson |
43371a |
},
|
|
Brian Stinson |
43371a |
]
|
|
Brian Stinson |
b8d9e7 |
}
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
restricted_volid = True
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
# LOOKASIDE
|
|
Brian Stinson |
b8d9e7 |
variant_as_lookaside = [
|
|
Brian Stinson |
b8d9e7 |
('AppStream', 'BaseOS'),
|
|
Brian Stinson |
b8d9e7 |
('PowerTools', 'BaseOS'),
|
|
Brian Stinson |
b8d9e7 |
('PowerTools', 'AppStream'),
|
|
Brian Stinson |
18cfd9 |
('HighAvailability', 'BaseOS'),
|
|
Brian Stinson |
18cfd9 |
('HighAvailability', 'AppStream'),
|
|
|
92ed3a |
("ResilientStorage", "BaseOS"),
|
|
|
92ed3a |
("ResilientStorage", "AppStream"),
|
|
James Antill |
1de7be |
("RT", "BaseOS"),
|
|
James Antill |
1de7be |
("RT", "AppStream"),
|
|
|
3f4044 |
("NFV", "BaseOS"),
|
|
|
3f4044 |
("NFV", "AppStream"),
|
|
Brian Stinson |
b8d9e7 |
]
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
43c2ed |
extra_files = [
|
|
Brian Stinson |
4ba66b |
("^.*$", {
|
|
Brian Stinson |
43c2ed |
"*": [
|
|
Brian Stinson |
43c2ed |
{
|
|
Brian Stinson |
43c2ed |
"scm": "git",
|
|
Brian Stinson |
43c2ed |
"repo": "https://git.centos.org/rpms/centos-release.git",
|
|
Brian Stinson |
43c2ed |
"branch": "c8",
|
|
Brian Stinson |
43c2ed |
"file": [
|
|
Brian Stinson |
43c2ed |
'SOURCES/GPL',
|
|
Brian Stinson |
43c2ed |
'SOURCES/EULA',
|
|
Brian Stinson |
43c2ed |
],
|
|
Brian Stinson |
43c2ed |
"target": "",
|
|
Brian Stinson |
43c2ed |
},
|
|
Brian Stinson |
43c2ed |
]
|
|
Brian Stinson |
43c2ed |
}),
|
|
Brian Stinson |
43c2ed |
]
|
|
Brian Stinson |
43c2ed |
|
|
Brian Stinson |
b8d9e7 |
productimg = False
|
|
Brian Stinson |
b8d9e7 |
|
|
Brian Stinson |
b8d9e7 |
translate_paths = [
|
|
Brian Stinson |
b8d9e7 |
("/mnt/koji", "https://koji.mbox.centos.org/pkgs"),
|
|
Brian Stinson |
b8d9e7 |
("/compose", "http://172.22.0.123/compose"),
|
|
Brian Stinson |
b8d9e7 |
]
|