|
Brian Stinson |
485a47 |
from multilib import *
|
|
Brian Stinson |
485a47 |
from include-excludes import *
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
release_name = 'CentOS-Cloud'
|
|
Brian Stinson |
485a47 |
release_short = 'CentOS-Cloud'
|
|
Brian Stinson |
485a47 |
release_version = '8'
|
|
Brian Stinson |
485a47 |
release_is_layered = False
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
skip_phases = ['buildinstall','productimg','pkgset','gather','extra_files','createrepo']
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
variants_file = 'variants.xml'
|
|
Brian Stinson |
485a47 |
sigkeys = ['8483C65D']
|
|
Brian Stinson |
485a47 |
hashed_directories = False
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
tree_arches = ['i386', 'x86_64']
|
|
Brian Stinson |
3231f8 |
tree_variants = ['Cloud']
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
# PKGSET
|
|
Brian Stinson |
485a47 |
pkgset_source = "koji"
|
|
Brian Stinson |
485a47 |
koji_profile = "mbox"
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
# PKGSET - KOJI
|
|
Brian Stinson |
485a47 |
pkgset_koji_tag = "dist-c8-compose"
|
|
Brian Stinson |
485a47 |
pkgset_koji_inherit = False
|
|
Brian Stinson |
485a47 |
pkgset_koji_module_tag = "modular-updates-candidate"
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
# GATHER
|
|
Brian Stinson |
485a47 |
gather_prepopulate = "centos-packages.json"
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
gather_method = {
|
|
Brian Stinson |
485a47 |
"^(?!(AppStream|PowerTools)).*$":{
|
|
Brian Stinson |
485a47 |
"comps": "deps"
|
|
Brian Stinson |
485a47 |
},
|
|
Brian Stinson |
485a47 |
"^(AppStream|PowerTools)$": "hybrid",
|
|
Brian Stinson |
485a47 |
}
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
# CREATEREPO
|
|
Brian Stinson |
485a47 |
createrepo_deltas = False
|
|
Brian Stinson |
485a47 |
createrepo_database = True
|
|
Brian Stinson |
485a47 |
createrepo_c = True
|
|
Brian Stinson |
485a47 |
createrepo_checksum = "sha256"
|
|
Brian Stinson |
485a47 |
createrepo_use_xz = True
|
|
Brian Stinson |
485a47 |
createrepo_num_threads = 8
|
|
Brian Stinson |
485a47 |
createrepo_num_workers = 4
|
|
Brian Stinson |
485a47 |
createrepo_extra_args = ['--distro=cpe:/o:centos:centos:8,CentOS 8', '--revision=8.0.1905']
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
# CHECKSUMS
|
|
Brian Stinson |
485a47 |
media_checksums = ['sha256']
|
|
Brian Stinson |
485a47 |
media_checksum_one_file = True
|
|
Brian Stinson |
485a47 |
create_jigdo = False
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
485a47 |
createiso_skip = [
|
|
Brian Stinson |
485a47 |
('^BaseOS$', {
|
|
Brian Stinson |
485a47 |
'*': True,
|
|
Brian Stinson |
485a47 |
'src': True
|
|
Brian Stinson |
485a47 |
}),
|
|
Brian Stinson |
485a47 |
('^AppStream$', {
|
|
Brian Stinson |
485a47 |
'*': True,
|
|
Brian Stinson |
485a47 |
'src': True
|
|
Brian Stinson |
485a47 |
}),
|
|
Brian Stinson |
485a47 |
('^PowerTools$', {
|
|
Brian Stinson |
485a47 |
'*': True,
|
|
Brian Stinson |
485a47 |
'src': True
|
|
Brian Stinson |
485a47 |
}),
|
|
Brian Stinson |
485a47 |
]
|
|
Brian Stinson |
485a47 |
|
|
Brian Stinson |
990002 |
image_build = {
|
|
Brian Stinson |
3231f8 |
"^Cloud$": [
|
|
Brian Stinson |
990002 |
{
|
|
Brian Stinson |
990002 |
"image-build": {
|
|
Brian Stinson |
990002 |
"format": [("qcow2", "qcow2")],
|
|
Brian Stinson |
0dd19d |
"name": "CentOS-8-GenericCloud",
|
|
Brian Stinson |
0dd19d |
"target": "image-centos-8",
|
|
Brian Stinson |
0dd19d |
"version": "8.0.1905",
|
|
Brian Stinson |
990002 |
"ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD",
|
|
Brian Stinson |
990002 |
"kickstart": "CentOS-8-GenericCloud.ks",
|
|
Brian Stinson |
0dd19d |
"ksversion": "F26",
|
|
Brian Stinson |
990002 |
"distro": "Fedora-20",
|
|
Brian Stinson |
990002 |
"disk-size": "10",
|
|
Brian Stinson |
0dd19d |
"arches": ["x86_64","ppc64le","aarch64"],
|
|
Brian Stinson |
485a47 |
"repo": [
|
|
Brian Stinson |
485a47 |
'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
|
|
Brian Stinson |
485a47 |
'http://mirror.centos.org/centos/8.0.1905/AppStream/$arch/kickstart'],
|
|
Brian Stinson |
3231f8 |
"install_tree_from": 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
|
|
Brian Stinson |
0dd19d |
"failable": ["ppc64le","aarch64"],
|
|
Brian Stinson |
990002 |
},
|
|
Brian Stinson |
990002 |
"factory-parameters": {
|
|
Brian Stinson |
990002 |
"generate_icicle": False,
|
|
Brian Stinson |
990002 |
}
|
|
Brian Stinson |
990002 |
},
|
|
Brian Stinson |
990002 |
{
|
|
Brian Stinson |
990002 |
"image-build": {
|
|
Brian Stinson |
990002 |
"format": [("docker", "tar.gz")],
|
|
|
40967d |
"name": "CentOS-8-Container",
|
|
Brian Stinson |
0dd19d |
"target": "image-centos-8",
|
|
Brian Stinson |
0dd19d |
"version": "8.0.1905",
|
|
Brian Stinson |
990002 |
"ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD",
|
|
|
1f93b6 |
"kickstart": "CentOS-8-Container.ks",
|
|
Brian Stinson |
0dd19d |
"ksversion": "F26",
|
|
Brian Stinson |
990002 |
"distro": "Fedora-20",
|
|
Brian Stinson |
990002 |
"disk-size": "10",
|
|
Brian Stinson |
0dd19d |
"arches": ["x86_64","ppc64le","aarch64"],
|
|
Brian Stinson |
485a47 |
"repo": [
|
|
Brian Stinson |
485a47 |
'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
|
|
Brian Stinson |
485a47 |
'http://mirror.centos.org/centos/8.0.1905/AppStream/$arch/kickstart'],
|
|
Brian Stinson |
3231f8 |
"install_tree_from": 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart',
|
|
Brian Stinson |
0dd19d |
"failable": ["ppc64le","aarch64"],
|
|
Brian Stinson |
990002 |
},
|
|
Brian Stinson |
990002 |
"factory-parameters": {
|
|
Brian Stinson |
990002 |
"generate_icicle": False,
|
|
Brian Stinson |
0c4b7f |
"docker_cmd": '[ "/bin/bash" ]',
|
|
Brian Stinson |
0c4b7f |
"docker_label": '{ "name": "centos", "license": "GPLv2", "vendor": "The CentOS Project", "version": "8.0.1905"}',
|
|
Brian Stinson |
990002 |
}
|
|
Brian Stinson |
990002 |
}
|
|
Brian Stinson |
990002 |
]
|
|
Brian Stinson |
990002 |
}
|
|
Brian Stinson |
3231f8 |
|
|
Brian Stinson |
3231f8 |
translate_paths = [
|
|
Brian Stinson |
3231f8 |
("/mnt/koji", "https://koji.mbox.centos.org/pkgs"),
|
|
Brian Stinson |
3231f8 |
("/compose", "http://172.22.0.123/compose"),
|
|
Brian Stinson |
3231f8 |
]
|