bstinson / centos / pungi-centos

Forked from centos/pungi-centos 5 years ago
Clone

Blame c8-stream.conf

Brian Stinson b8d9e7
from multilib import *
Brian Stinson b8d9e7
from include-excludes import *
Brian Stinson b8d9e7
#from images import *
Brian Stinson b8d9e7
from version import *
Brian Stinson b8d9e7
Brian Stinson b8d9e7
# PRODUCT INFO 
Brian Stinson b8d9e7
release_name = "CentOS Stream" 
Brian Stinson b8d9e7
release_short = "CentOS"
Brian Stinson b8d9e7
release_version = "Stream"
Brian Stinson b8d9e7
release_is_layered = False
Brian Stinson b8d9e7
version = "8"
Brian Stinson b8d9e7
Brian Stinson b8d9e7
# GENERAL SETTINGS
Brian Stinson b8d9e7
bootable = True
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'
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',
Brian Stinson b8d9e7
        'branch': 'c8.0',
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
variants_file = 'variants.xml'
Brian Stinson b8d9e7
sigkeys = ['8483C65D']
Brian Stinson b8d9e7
hashed_directories = False
Brian Stinson b8d9e7
Brian Stinson b8d9e7
tree_arches = ['aarch64', 'i386', 'ppc64le', 'x86_64']
Brian Stinson b8d9e7
Brian Stinson b8d9e7
# RUNROOT SETTINGS
Brian Stinson b8d9e7
runroot = True
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 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 b8d9e7
pkgset_koji_module_tag = "modular-updates-candidate"
Brian Stinson b8d9e7
Brian Stinson b8d9e7
filter_system_release_packages = False
Brian Stinson b8d9e7
Brian Stinson b8d9e7
# GATHER
Brian Stinson b8d9e7
gather_prepopulate = "centos-packages.json"
Brian Stinson b8d9e7
Brian Stinson b8d9e7
gather_method = {
Brian Stinson b8d9e7
        "^(?!(AppStream|PowerTools)).*$":{
Brian Stinson b8d9e7
                "comps": "deps"
Brian Stinson b8d9e7
        },
Brian Stinson b8d9e7
        "^(AppStream|PowerTools)$": "hybrid",
Brian Stinson b8d9e7
}
Brian Stinson b8d9e7
Brian Stinson b8d9e7
gather_backend = "dnf"
Brian Stinson b8d9e7
check_deps = False
Brian Stinson b8d9e7
greedy_method = "all"
Brian Stinson b8d9e7
repoclosure_backend = "dnf"
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
Brian Stinson b8d9e7
createrepo_extra_args = ['--distro=cpe:/o:centos:centos:8,CentOS 8', '--revision=8.0.1905']
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
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 b8d9e7
            "version": "8.0.1905"
Brian Stinson b8d9e7
        }
Brian Stinson b8d9e7
    })
Brian Stinson b8d9e7
]
Brian Stinson b8d9e7
Brian Stinson b8d9e7
buildinstall_skip = [
Brian Stinson b8d9e7
    ("^(AppStream|PowerTools)$", {
Brian Stinson b8d9e7
       "*": True
Brian Stinson b8d9e7
       }),
Brian Stinson b8d9e7
]
Brian Stinson b8d9e7
Brian Stinson b8d9e7
image_name_format = {
Brian Stinson b8d9e7
    "^BaseOS$": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
Brian Stinson b8d9e7
    ".*": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
Brian Stinson b8d9e7
}
Brian Stinson b8d9e7
Brian Stinson b8d9e7
# CREATEISO
Brian Stinson b8d9e7
create_optional_isos = False
Brian Stinson b8d9e7
Brian Stinson b8d9e7
createiso_skip = [
Brian Stinson b8d9e7
    ('^(BaseOS|AppStream|PowerTools|)$', {
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 b8d9e7
        "filename": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
Brian Stinson b8d9e7
        "skip_src": True,
Brian Stinson b8d9e7
    }]
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 b8d9e7
]
Brian Stinson b8d9e7
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
]
Brian Stinson b8d9e7