Blob Blame History Raw
from multilib import *
from include-excludes import *
from stream-images import *

# PRODUCT INFO 
release_name = "CentOS Developmental" 
release_short = "CentOS-devel"
release_version = "8"
version = "8-devel"

skip_phases = ['buildinstall','productimg','createiso','extra_isos','extra_files']

# GENERAL SETTINGS
 comps_file = {
         'scm': 'git',
         'repo': 'https://git.centos.org/centos/comps.git',
         'branch': 'master',
         'file': 'comps-centos-8.2.0.2004.xml',
 }

link_type = 'hardlink-or-copy'

module_defaults_dir = {
        'scm': 'git',
        'repo': 'https://git.centos.org/centos/centos-module-defaults.git',
        'branch': 'c8.2',
        'dir': '.',
}

multilib = [
    ('^.*$', {
        'x86_64': ['devel', 'runtime']
    }),
]

variants_file = 'variants-devel.xml'
sigkeys = ['8483C65D']
hashed_directories = False

# tree_arches = ['aarch64', 'i386', 'ppc64le', 'x86_64']
tree_arches = ['aarch64', 'i386', 'ppc64le', 'x86_64']
# tree_arches = ['x86_64']

# PKGSET
pkgset_source = "koji"
koji_profile = "mbox"

# PKGSET - KOJI
pkgset_koji_tag = "dist-c8-compose"
pkgset_koji_inherit = False
pkgset_koji_module_tag = "modular-updates-candidate"

filter_system_release_packages = False

# GATHER
gather_prepopulate = "centos-packages.json"

gather_method = {
        "^(?!(AppStream|PowerTools|CR)).*$":{
                "comps": "deps"
        },
        "^(AppStream|PowerTools|CR)$": "hybrid",
}

gather_backend = "dnf"
check_deps = False
greedy_method = "none"
repoclosure_backend = "dnf"

# CREATEREPO
createrepo_deltas = False
createrepo_database = True
createrepo_c = True
createrepo_checksum = "sha256"
createrepo_use_xz = True
createrepo_num_threads = 8
createrepo_num_workers = 4

# CHECKSUMS
media_checksums = ['sha256']
media_checksum_one_file = True
create_jigdo = False


buildinstall_skip = [
    ("^(Devel|AppStream|PowerTools|CR|HighAvailability)$", {
       "*": True
       }),
]

# LOOKASIDE
variant_as_lookaside = [
]

gather_lookaside_repos = [
    ("^Devel$", {
        "x86_64": [
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/x86_64/os",
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/x86_64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/x86_64/os",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/x86_64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/x86_64/os",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/x86_64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/x86_64/os",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/x86_64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/source/tree",
        ],
        "ppc64": [
        ],
        "ppc64le": [
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/ppc64le/os",
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/ppc64le/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/ppc64le/os",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/ppc64le/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/ppc64le/os",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/ppc64le/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/ppc64le/os",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/ppc64le/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/source/tree",
        ],
        "s390x": [
        ],
        "aarch64": [
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/aarch64/os",
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/aarch64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/BaseOS/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/aarch64/os",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/aarch64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/AppStream/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/aarch64/os",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/aarch64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/PowerTools/source/tree",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/aarch64/os",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/aarch64/os/debug/tree",
            "file:///compose/trees/latest-CentOS-8/compose/HighAvailability/source/tree",
        ],
    }),
]

productimg = False

translate_paths = [
	("/mnt/koji", "https://koji.mbox.centos.org/pkgs"),
	# ("/compose", "http://172.22.0.123/compose"),
]