hughesjr / centos / pungi-centos

Forked from centos/pungi-centos 2 years ago
Clone
Blob Blame History Raw
# PRODUCT INFO 
release_name = "CentOS Linux" 
release_short = "CentOS"
release_version = "8"
release_is_layered = False

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

link_type = 'hardlink-or-copy'

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

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

variants_file = 'variants.xml'
sigkeys = [None]
hashed_directories = False

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

# RUNROOT SETTINGS
runroot = True
runroot_channel = 'compose'
runroot_tag = 'dist-c8'
runroot_method = 'local'

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

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

filter_system_release_packages = False

# GATHER
gather_prepopulate = "centos-packages.json"

gather_method = {
        "^(?!(AppStream|Devel)).*$":{
                "comps": "deps"
        },
        "^(AppStream|Devel)$": "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"

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

# BUILDINSTALL
bootable = True
buildinstall_method = "lorax"

lorax_options = [
    ("^.*$", {
        "*": {
            "noupgrade": False
        }
    })
]

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

image_name_format = {
    "^BaseOS$": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}",
    ".*": "{compose_id}-{variant}-{arch}-{disc_type}{disc_num}{suffix}",
}

# CREATEISO
create_optional_isos = False

createiso_skip = [
    ('^(BaseOS|AppStream|Devel|)$', {
        '*': True,
        'src':True
    }),
]

restricted_volid = True

# LOOKASIDE
variant_as_lookaside = [
    ('AppStream', 'BaseOS'),
    ('Devel', 'BaseOS'),
    ('Devel', 'AppStream'),
]

productimg = False

translate_paths = [
        ("/mnt/koji", "https://koji.mbox.centos.org/kojifiles/"),
]