bkhomuts / centos / pungi-centos

Forked from centos/pungi-centos 4 years ago
Clone
Brian Stinson 06ce12
from multilib import *
d7ff4f
from include-excludes import *
Brian Stinson 819d52
#from images import *
Brian Stinson 06ce12
99baff
# PRODUCT INFO 
99baff
release_name = "CentOS Linux" 
99baff
release_short = "CentOS"
Brian Stinson 9c8094
release_version = "8"
Brian Stinson 9c8094
version = "8.1.1911"
99baff
99baff
# GENERAL SETTINGS
99baff
comps_file = {
99baff
        'scm': 'git',
99baff
        'repo': 'https://git.centos.org/centos/comps.git',
99baff
        'branch': 'master',
Brian Stinson 2c44a8
        'file': 'comps-centos-8.1.0.1911.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 2c44a8
        'branch': 'c8.1',
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
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"
Brian Stinson 2c44a8
pkgset_koji_inherit = False
Brian Stinson e44849
pkgset_koji_module_tag = "dist-c8-module-compose"
99baff
99baff
filter_system_release_packages = False
99baff
99baff
# GATHER
99baff
gather_prepopulate = "centos-packages.json"
99baff
99baff
gather_method = {
Brian Stinson 2c44a8
        "^(?!(AppStream|PowerTools|CR)).*$":{
99baff
                "comps": "deps"
99baff
        },
Brian Stinson 2c44a8
        "^(AppStream|PowerTools|CR)$": "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 2c44a8
createrepo_extra_args = ['--distro=cpe:/o:centos:centos:8,CentOS 8', '--revision=8.1.1911']
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 2c44a8
            "version": "8"
99baff
        }
99baff
    })
99baff
]
99baff
99baff
buildinstall_skip = [
Brian Stinson 2c44a8
    ("^(AppStream|PowerTools|CR|HighAvailability)$", {
99baff
       "*": True
99baff
       }),
99baff
]
99baff
99baff
image_name_format = {
Brian Stinson 819d52
    "^BaseOS$": "{release_short}-8.1.1911-{arch}-{disc_type}{disc_num}{suffix}",
Brian Stinson 819d52
    ".*": "{release_short}-8.1.1911-{arch}-{disc_type}{disc_num}{suffix}",
99baff
}
99baff
Brian Stinson 819d52
image_volid_formats = [ '{release_short}-8.1.1911-{arch}-{disc_type}', ]
Brian Stinson 2c44a8
99baff
# CREATEISO
99baff
create_optional_isos = False
99baff
99baff
createiso_skip = [
Brian Stinson 2c44a8
    ('^(BaseOS|AppStream|PowerTools|HighAvailability|CR)$', {
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 819d52
        "filename": "{release_short}-8.1.1911-{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'),
Brian Stinson 2c44a8
    ('HighAvailability', 'BaseOS'),
Brian Stinson 2c44a8
    ('HighAvailability', 'AppStream'),
99baff
]
99baff
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
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