jamesantill / centos / pungi-centos

Forked from centos/pungi-centos 4 years ago
Clone
James Antill 9c70ca
from multilib import *
James Antill 9c70ca
from include-excludes import *
James Antill 9c70ca
from stream-images import *
James Antill 9c70ca
James Antill 9c70ca
# PRODUCT INFO 
James Antill 9c70ca
release_name = "CentOS Stream Developmental" 
James Antill 9c70ca
release_short = "CentOS-devel"
James Antill 9c70ca
release_version = "Stream"
James Antill 9c70ca
version = "8-devel"
James Antill 9c70ca
James Antill 9c70ca
# # GENERAL SETTINGS
James Antill 9c70ca
# comps_file = {
James Antill 9c70ca
#         'scm': 'git',
James Antill 9c70ca
#         'repo': 'https://git.centos.org/centos/comps.git',
James Antill 9c70ca
#         'branch': 'master',
James Antill 9c70ca
#         'file': 'comps-centos-8-stream.xml',
James Antill 9c70ca
# }
James Antill 9c70ca
comps_file = 'comps-centos-8-stream-devel.xml'
James Antill 9c70ca
James Antill 9c70ca
link_type = 'hardlink-or-copy'
James Antill 9c70ca
James Antill 9c70ca
module_defaults_dir = {
James Antill 9c70ca
        'scm': 'git',
James Antill 9c70ca
        'repo': 'https://git.centos.org/centos/centos-module-defaults.git',
James Antill 39e182
        'branch': 'c8.2',
James Antill 9c70ca
        'dir': '.',
James Antill 9c70ca
}
James Antill 9c70ca
James Antill 9c70ca
multilib = [
James Antill 9c70ca
    ('^.*$', {
James Antill 9c70ca
        'x86_64': ['devel', 'runtime']
James Antill 9c70ca
    }),
James Antill 9c70ca
]
James Antill 9c70ca
James Antill 9c70ca
variants_file = 'variants-devel.xml'
James Antill 9c70ca
sigkeys = ['8483C65D', None]
James Antill 9c70ca
hashed_directories = False
James Antill 9c70ca
James Antill 9c70ca
# tree_arches = ['aarch64', 'i386', 'ppc64le', 'x86_64']
James Antill 9c70ca
tree_arches = ['aarch64', 'i386', 'ppc64le', 'x86_64']
James Antill 9c70ca
# tree_arches = ['x86_64']
James Antill 9c70ca
James Antill 9c70ca
# RUNROOT SETTINGS
James Antill 9c70ca
runroot_channel = 'image'
James Antill 9c70ca
runroot_tag = 'dist-c8-build'
James Antill 9c70ca
runroot_method = 'koji'
James Antill 9c70ca
James Antill 9c70ca
# PKGSET
James Antill 9c70ca
pkgset_source = "koji"
James Antill 9c70ca
koji_profile = "mbox"
James Antill 9c70ca
James Antill 9c70ca
# PKGSET - KOJI
James Antill 9c70ca
pkgset_koji_tag = "dist-c8-stream-compose"
James Antill 9c70ca
pkgset_koji_inherit = False
James Antill 9c70ca
pkgset_koji_module_tag = "modular-updates-candidate"
James Antill 9c70ca
James Antill 9c70ca
filter_system_release_packages = False
James Antill 9c70ca
James Antill 9c70ca
# GATHER
James Antill 9c70ca
gather_prepopulate = "centos-packages.json"
James Antill 9c70ca
James Antill 9c70ca
gather_method = {
James Antill 9c70ca
        "^(?!(AppStream|PowerTools|CR)).*$":{
James Antill 9c70ca
                "comps": "deps"
James Antill 9c70ca
        },
James Antill 9c70ca
        "^(AppStream|PowerTools|CR)$": "hybrid",
James Antill 9c70ca
}
James Antill 9c70ca
James Antill 9c70ca
gather_backend = "dnf"
James Antill 9c70ca
check_deps = False
James Antill 9c70ca
greedy_method = "all"
James Antill 9c70ca
repoclosure_backend = "dnf"
James Antill 9c70ca
James Antill 9c70ca
# CREATEREPO
James Antill 9c70ca
createrepo_deltas = False
James Antill 9c70ca
createrepo_database = True
James Antill 9c70ca
createrepo_c = True
James Antill 9c70ca
createrepo_checksum = "sha256"
James Antill 9c70ca
createrepo_use_xz = True
James Antill 9c70ca
createrepo_num_threads = 8
James Antill 9c70ca
createrepo_num_workers = 4
James Antill 39e182
createrepo_extra_args = ['--distro=cpe:/o:centos-stream:centos-stream:8,CentOS Stream 8', '--revision=8.2.2004']
James Antill 9c70ca
James Antill 9c70ca
# CHECKSUMS
James Antill 9c70ca
media_checksums = ['sha256']
James Antill 9c70ca
media_checksum_one_file = True
James Antill 9c70ca
create_jigdo = False
James Antill 9c70ca
James Antill 9c70ca
# BUILDINSTALL
James Antill 9c70ca
bootable = True
James Antill 9c70ca
buildinstall_method = "lorax"
James Antill 9c70ca
James Antill 9c70ca
lorax_options = [
James Antill 9c70ca
    ("^.*$", {
James Antill 9c70ca
        "*": {
James Antill 9c70ca
            "noupgrade": False,
James Antill 9c70ca
            "rootfs_size": 3,
James Antill 9c70ca
            "version": "8-stream"
James Antill 9c70ca
        }
James Antill 9c70ca
    })
James Antill 9c70ca
]
James Antill 9c70ca
James Antill 9c70ca
buildinstall_skip = [
James Antill 9c70ca
    ("^(Devel|AppStream|PowerTools|CR|HighAvailability)$", {
James Antill 9c70ca
       "*": True
James Antill 9c70ca
       }),
James Antill 9c70ca
]
James Antill 9c70ca
James Antill 9c70ca
image_name_format = {
James Antill 9c70ca
    "^BaseOS$": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
James Antill 9c70ca
    ".*": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
James Antill 9c70ca
}
James Antill 9c70ca
James Antill 9c70ca
image_volid_formats = [ '{release_short}-{version}-{arch}-{disc_type}', ]
James Antill 9c70ca
James Antill 9c70ca
# CREATEISO
James Antill 9c70ca
create_optional_isos = False
James Antill 9c70ca
James Antill 9c70ca
createiso_skip = [
James Antill 9c70ca
    ('^(Devel|AppStream|PowerTools|HighAvailability|CR)$', {
James Antill 9c70ca
        '*': True,
James Antill 9c70ca
        'src':True
James Antill 9c70ca
    }),
James Antill 9c70ca
]
James Antill 9c70ca
James Antill 9c70ca
extra_isos = {
James Antill 9c70ca
    "BaseOS": [{
James Antill 9c70ca
        "include_variants": ["AppStream"],
James Antill 9c70ca
        "filename": "{release_short}-{version}-{arch}-{disc_type}{disc_num}{suffix}",
James Antill 9c70ca
        "skip_src": True,
James Antill 9c70ca
    },
James Antill 9c70ca
    ]
James Antill 9c70ca
}
James Antill 9c70ca
James Antill 9c70ca
restricted_volid = True
James Antill 9c70ca
James Antill 9c70ca
# LOOKASIDE
James Antill 9c70ca
variant_as_lookaside = [
James Antill 9c70ca
#    ('AppStream', 'BaseOS'),
James Antill 9c70ca
#    ('PowerTools', 'BaseOS'),
James Antill 9c70ca
#    ('PowerTools', 'AppStream'),
James Antill 9c70ca
]
James Antill 9c70ca
James Antill 9c70ca
gather_lookaside_repos = [
James Antill 9c70ca
    ("^Devel$", {
James Antill 9c70ca
        "x86_64": [
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/x86_64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/x86_64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/x86_64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/x86_64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/x86_64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/x86_64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/x86_64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/x86_64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/source/tree",
James Antill 9c70ca
        ],
James Antill 9c70ca
        "ppc64": [
James Antill 9c70ca
        ],
James Antill 9c70ca
        "ppc64le": [
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/ppc64le/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/ppc64le/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/ppc64le/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/ppc64le/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/ppc64le/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/ppc64le/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/ppc64le/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/ppc64le/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/source/tree",
James Antill 9c70ca
        ],
James Antill 9c70ca
        "s390x": [
James Antill 9c70ca
        ],
James Antill 9c70ca
        "aarch64": [
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/aarch64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/aarch64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/BaseOS/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/aarch64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/aarch64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/AppStream/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/aarch64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/aarch64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/PowerTools/source/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/aarch64/os",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/aarch64/os/debug/tree",
James Antill 9c70ca
            "file:///compose/trees/latest-CentOS-Stream/compose/HighAvailability/source/tree",
James Antill 9c70ca
        ],
James Antill 9c70ca
    }),
James Antill 9c70ca
]
James Antill 9c70ca
James Antill 9c70ca
productimg = False
James Antill 9c70ca
James Antill 9c70ca
translate_paths = [
James Antill 9c70ca
	("/mnt/koji", "https://koji.mbox.centos.org/pkgs"),
James Antill 9c70ca
	# ("/compose", "http://172.22.0.123/compose"),
James Antill 9c70ca
]
James Antill 9c70ca