2021-06-26 02:39:34 +00:00
|
|
|
from common/multilib import *
|
|
|
|
from common/include-excludes import *
|
2021-02-21 05:22:59 +00:00
|
|
|
#from images import *
|
|
|
|
|
|
|
|
# PRODUCT INFO
|
|
|
|
release_name = "Rocky Linux"
|
|
|
|
release_short = "Rocky"
|
|
|
|
release_version = "8"
|
2021-05-26 02:29:37 +00:00
|
|
|
version = "8.4"
|
2021-02-21 05:22:59 +00:00
|
|
|
|
|
|
|
# GENERAL SETTINGS
|
|
|
|
comps_file = {
|
|
|
|
'scm': 'git',
|
|
|
|
'repo': 'https://git.rockylinux.org/rocky/comps.git',
|
2021-04-30 18:09:20 +00:00
|
|
|
'branch': 'main',
|
2021-05-26 02:29:37 +00:00
|
|
|
'file': 'comps-rocky-8.4.xml',
|
2021-02-21 05:22:59 +00:00
|
|
|
}
|
|
|
|
|
2021-04-30 18:09:20 +00:00
|
|
|
#link_type = 'hardlink-or-copy'
|
|
|
|
link_type = 'copy'
|
2021-02-21 05:22:59 +00:00
|
|
|
|
|
|
|
module_defaults_dir = {
|
|
|
|
'scm': 'git',
|
|
|
|
'repo': 'https://git.rockylinux.org/rocky/rocky-module-defaults.git',
|
2021-05-26 02:29:37 +00:00
|
|
|
'branch': 'r8.4',
|
2021-02-21 05:22:59 +00:00
|
|
|
'dir': '.',
|
|
|
|
}
|
|
|
|
|
|
|
|
multilib = [
|
|
|
|
('^.*$', {
|
|
|
|
'x86_64': ['devel', 'runtime']
|
|
|
|
}),
|
|
|
|
]
|
|
|
|
|
|
|
|
variants_file = 'variants.xml'
|
|
|
|
sigkeys = ['6D745A60']
|
|
|
|
hashed_directories = False
|
|
|
|
|
2021-03-06 02:09:34 +00:00
|
|
|
tree_arches = ['aarch64', 'i386', 'x86_64']
|
2021-02-21 05:22:59 +00:00
|
|
|
|
|
|
|
# RUNROOT SETTINGS
|
|
|
|
runroot_channel = 'image'
|
2021-03-07 02:02:59 +00:00
|
|
|
runroot_tag = 'dist-rocky8-build'
|
2021-02-21 05:22:59 +00:00
|
|
|
runroot_method = 'koji'
|
|
|
|
|
|
|
|
# PKGSET
|
|
|
|
pkgset_source = "koji"
|
2021-04-30 07:38:39 +00:00
|
|
|
koji_profile = "koji"
|
2021-02-21 05:22:59 +00:00
|
|
|
|
|
|
|
# PKGSET - KOJI
|
2021-03-07 02:02:59 +00:00
|
|
|
pkgset_koji_tag = "dist-rocky8-compose"
|
2021-02-21 05:22:59 +00:00
|
|
|
pkgset_koji_inherit = False
|
2021-03-07 02:02:59 +00:00
|
|
|
pkgset_koji_module_tag = "dist-rocky8-module-compose"
|
2021-04-30 18:09:20 +00:00
|
|
|
#pkgset_allow_reuse = False
|
|
|
|
pkgset_allow_reuse = True
|
2021-02-21 05:22:59 +00:00
|
|
|
|
|
|
|
filter_system_release_packages = False
|
|
|
|
|
2021-04-30 18:09:20 +00:00
|
|
|
createiso_break_hardlinks = True
|
|
|
|
|
2021-02-21 05:22:59 +00:00
|
|
|
# GATHER
|
|
|
|
gather_prepopulate = "rocky-packages.json"
|
|
|
|
|
|
|
|
gather_method = {
|
2021-03-06 02:17:59 +00:00
|
|
|
"^(?!(AppStream|PowerTools)).*$":{
|
2021-02-21 05:22:59 +00:00
|
|
|
"comps": "deps"
|
|
|
|
},
|
2021-03-06 02:17:59 +00:00
|
|
|
"^(AppStream|PowerTools)$": "hybrid",
|
2021-02-21 05:22:59 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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
|
2021-06-04 18:12:30 +00:00
|
|
|
createrepo_num_workers = 8
|
2021-05-26 02:29:37 +00:00
|
|
|
createrepo_extra_args = ['--distro=cpe:/o:rocky:rocky:8,Rocky Linux 8', '--revision=8.4']
|
2021-02-21 05:22:59 +00:00
|
|
|
|
|
|
|
# CHECKSUMS
|
|
|
|
media_checksums = ['sha256']
|
|
|
|
media_checksum_one_file = True
|
|
|
|
create_jigdo = False
|
|
|
|
|
|
|
|
# BUILDINSTALL
|
|
|
|
bootable = True
|
|
|
|
buildinstall_method = "lorax"
|
|
|
|
|
|
|
|
lorax_options = [
|
|
|
|
("^.*$", {
|
|
|
|
"*": {
|
|
|
|
"noupgrade": False,
|
|
|
|
"rootfs_size": 3,
|
|
|
|
"version": "8"
|
|
|
|
}
|
|
|
|
})
|
|
|
|
]
|
|
|
|
|
|
|
|
buildinstall_skip = [
|
2021-05-01 16:33:32 +00:00
|
|
|
("^(AppStream|PowerTools|HighAvailability|ResilientStorage)$", {
|
2021-02-21 05:22:59 +00:00
|
|
|
"*": True
|
|
|
|
}),
|
|
|
|
]
|
|
|
|
|
|
|
|
image_name_format = {
|
2021-05-26 02:29:37 +00:00
|
|
|
"^BaseOS$": "{release_short}-8.4-{arch}-{disc_type}{disc_num}{suffix}",
|
|
|
|
"^Minimal$": "{release_short}-8.4-{arch}-minimal{suffix}",
|
|
|
|
".*": "{release_short}-8.4-{arch}-{disc_type}{disc_num}{suffix}",
|
2021-02-21 05:22:59 +00:00
|
|
|
}
|
|
|
|
|
2021-05-26 02:29:37 +00:00
|
|
|
image_volid_formats = [ '{release_short}-8.4-{arch}-{disc_type}', ]
|
2021-02-21 05:22:59 +00:00
|
|
|
|
|
|
|
# CREATEISO
|
|
|
|
create_optional_isos = False
|
|
|
|
|
|
|
|
createiso_skip = [
|
2021-05-01 16:33:32 +00:00
|
|
|
('^(BaseOS|AppStream|Minimal|PowerTools|HighAvailability|ResilientStorage)$', {
|
2021-02-21 05:22:59 +00:00
|
|
|
'*': True,
|
|
|
|
'src':True
|
|
|
|
}),
|
|
|
|
]
|
|
|
|
|
|
|
|
extra_isos = {
|
|
|
|
"BaseOS": [{
|
|
|
|
"include_variants": ["AppStream"],
|
2021-05-26 02:29:37 +00:00
|
|
|
"filename": "{release_short}-8.4-{arch}-{disc_type}{disc_num}{suffix}",
|
2021-02-21 05:22:59 +00:00
|
|
|
"skip_src": True,
|
|
|
|
}],
|
|
|
|
"Minimal": [{
|
|
|
|
"include_variants": ["BaseOS"],
|
2021-05-26 02:29:37 +00:00
|
|
|
"filename": "{release_short}-8.4-{arch}-minimal{suffix}",
|
2021-02-21 05:22:59 +00:00
|
|
|
"skip_src": True,
|
|
|
|
}]
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
restricted_volid = True
|
|
|
|
|
|
|
|
# LOOKASIDE
|
|
|
|
variant_as_lookaside = [
|
|
|
|
('AppStream', 'BaseOS'),
|
|
|
|
('PowerTools', 'BaseOS'),
|
|
|
|
('PowerTools', 'AppStream'),
|
|
|
|
('HighAvailability', 'BaseOS'),
|
|
|
|
('HighAvailability', 'AppStream'),
|
2021-05-01 16:33:32 +00:00
|
|
|
("ResilientStorage", "BaseOS"),
|
|
|
|
("ResilientStorage", "AppStream"),
|
2021-05-26 02:29:37 +00:00
|
|
|
# ("RT", "BaseOS"),
|
|
|
|
# ("RT", "AppStream"),
|
|
|
|
# ("NFV", "BaseOS"),
|
|
|
|
# ("NFV", "AppStream"),
|
2021-02-21 05:22:59 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
extra_files = [
|
|
|
|
("^.*$", {
|
|
|
|
"*": [
|
|
|
|
{
|
|
|
|
"scm": "git",
|
2021-03-06 23:57:34 +00:00
|
|
|
"repo": "https://git.rockylinux.org/original/rpms/rocky-release.git",
|
2021-02-21 05:22:59 +00:00
|
|
|
"branch": "r8",
|
|
|
|
"file": [
|
2021-04-29 16:14:48 +00:00
|
|
|
'SOURCES/LICENSE',
|
2021-02-21 05:22:59 +00:00
|
|
|
'SOURCES/EULA',
|
2021-04-29 16:14:48 +00:00
|
|
|
'SOURCES/COMMUNITY-CHARTER',
|
2021-05-26 02:29:37 +00:00
|
|
|
'SOURCES/RPM-GPG-KEY-rockyofficial',
|
2021-02-21 05:22:59 +00:00
|
|
|
],
|
|
|
|
"target": "",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}),
|
|
|
|
]
|
|
|
|
|
|
|
|
productimg = False
|
|
|
|
|
|
|
|
translate_paths = [
|
2021-03-06 02:09:34 +00:00
|
|
|
("/mnt/koji", "https://koji.rockylinux.org/kojifiles")
|
|
|
|
#("/compose", "http://172.22.0.123/compose"),
|
2021-02-21 05:22:59 +00:00
|
|
|
]
|
|
|
|
|