pungi-rocky/legacy/r8.conf

187 lines
4.1 KiB
Plaintext
Raw Normal View History

2021-06-26 02:39:34 +00:00
from common/multilib import *
from common/include-excludes import *
2022-11-10 20:01:36 +00:00
#from images import *
2021-02-21 05:22:59 +00:00
# PRODUCT INFO
release_name = "Rocky Linux"
release_short = "Rocky"
2023-03-20 18:05:01 +00:00
release_version = "8.9"
version = "8.9"
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',
2023-03-20 18:05:01 +00:00
'file': 'comps-rocky-8.9.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',
2023-03-20 18:05:01 +00:00
'branch': 'r8.9',
2021-02-21 05:22:59 +00:00
'dir': '.',
}
multilib = [
('^.*$', {
'x86_64': ['devel', 'runtime']
}),
]
variants_file = 'variants.xml'
sigkeys = ['6D745A60']
2023-03-20 18:05:01 +00:00
# Change to true for 8.9
2021-10-14 00:45:44 +00:00
hashed_directories = True
2021-02-21 05:22:59 +00:00
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
2022-11-09 03:47:33 +00:00
gather_prepopulate = "prepopulate.json"
2021-02-21 05:22:59 +00:00
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
2023-03-20 18:05:01 +00:00
createrepo_extra_args = ['--distro=cpe:/o:rocky:rocky:8,Rocky Linux 8', '--revision=8.9']
2021-02-21 05:22:59 +00:00
# CHECKSUMS
media_checksums = ['sha256']
media_checksum_one_file = True
# BUILDINSTALL
bootable = True
buildinstall_method = "lorax"
lorax_options = [
("^.*$", {
"*": {
"noupgrade": False,
2022-12-14 22:58:09 +00:00
"bugurl": "https://bugs.rockylinux.org"
2021-02-21 05:22:59 +00:00
}
})
]
buildinstall_skip = [
2022-11-10 18:36:48 +00:00
("^(AppStream|PowerTools|HighAvailability|ResilientStorage|RT|NFV)$", {
2021-02-21 05:22:59 +00:00
"*": True
}),
]
image_name_format = {
2023-03-20 18:05:01 +00:00
"^BaseOS$": "{release_short}-8.9-{arch}-{disc_type}{disc_num}{suffix}",
"^Minimal$": "{release_short}-8.9-{arch}-minimal{suffix}",
".*": "{release_short}-8.9-{arch}-{disc_type}{disc_num}{suffix}",
2021-02-21 05:22:59 +00:00
}
2023-03-20 18:05:01 +00:00
image_volid_formats = [ '{release_short}-8.9-{arch}-{disc_type}', ]
2021-02-21 05:22:59 +00:00
# CREATEISO
create_optional_isos = False
createiso_skip = [
2022-11-10 18:36:48 +00:00
('^(BaseOS|AppStream|Minimal|PowerTools|HighAvailability|ResilientStorage|RT|NFV)$', {
2021-02-21 05:22:59 +00:00
'*': True,
'src':True
}),
]
extra_isos = {
"BaseOS": [{
"include_variants": ["AppStream"],
2023-03-20 18:05:01 +00:00
"filename": "{release_short}-8.9-{arch}-{disc_type}{disc_num}{suffix}",
2021-02-21 05:22:59 +00:00
"skip_src": True,
}],
"Minimal": [{
"include_variants": ["BaseOS"],
2023-03-20 18:05:01 +00:00
"filename": "{release_short}-8.9-{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-08-23 22:29:09 +00:00
("RT", "BaseOS"),
("RT", "AppStream"),
("NFV", "BaseOS"),
("NFV", "AppStream"),
2022-11-10 10:16:59 +00:00
("Minimal", "BaseOS"),
("Minimal", "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
]