carlwgeorge / centos / pungi-centos

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