diff --git a/msvsphere-9.conf b/msvsphere-9.conf new file mode 100644 index 0000000..469a355 --- /dev/null +++ b/msvsphere-9.conf @@ -0,0 +1,217 @@ +# +# MSVSphere 9 Pungi configuration file +# +# Notes: +# - there is a problem with accessing git.inferitos.ru repositories via +# HTTPs from our internal network, so we have to use HTTP for now. + +# product information +release_name = 'MSVSphere' +release_short = 'MSVSphere' +release_version = '9.2' +treeinfo_version = '9' + + +# use a remote comps.xml file from a git repository +comps_file = { + 'scm': 'git', + 'repo': 'http://git.inferitos.ru/msvsphere/pungi-msvsphere.git', + 'branch': 'i9.2', + 'file': 'comps.xml', + 'command': '' +} + +# alternatively, it's possible to use a local groups file +#comps_file = 'comps.xml' + + +# use a remote variants.xml file from a git repository +variants_file = { + 'scm': 'git', + 'repo': 'http://git.inferitos.ru/msvsphere/pungi-msvsphere.git', + 'branch': 'i9.2', + 'file': 'variants.xml', + 'command': '' +} + +# alternatively, it's possible to use a local variants file +#variants_file = 'variants.xml' + +gather_backend = 'dnf' + +# if set to True, abort the compose if some package has broken dependencies +check_deps = False + +gather_method = { + # Anything that is not AppStream, CRB or Buildroot should use the old depsolver + "^(?!(AppStream|CRB|Buildroot)).*$": { + "comps": "deps", + "json": "deps", + }, + "^(AppStream|CRB|Minimal|Extras)$": "hybrid", +} + +hashed_directories = False +gather_allow_reuse = True +repoclosure_backend = 'dnf' + +# extra packages to be added +gather_prepopulate = { + 'scm': 'git', + 'repo': 'http://git.inferitos.ru/msvsphere/pungi-msvsphere', + 'branch': 'i9.2', + 'file': 'prepopulate.json', + 'command': '' +} + +multilib = [ + ("^.*$", { + "x86_64": ["devel", "runtime"] + }), +] + +# format: {arch|*: [packages]} +multilib_blacklist = { + "*": [ + "libvirt*", # RhBug 1571159 + "java-*", # RCM-28652 + "totem", #RCM-43729 + "ocaml*", # RCM-53665 + "fwupd*", # ENGCMP-488 + "freeradius*", #RhBug 1923990 + "httpd-*", #ENGCMP-716 + "nginx-*", + "php-*", + "subversion-*", + "mariadb-common", #ENGCMP-1061 + "mariadb-devel", + "mariadb-embedded*", + "mariadb-errmsg", + "mysql-common", + "mysql-devel", + "mysql-libs", + "mecab", + "postgresql-private*", #ENGCMP-1179 + "postgresql-server*", + "bash*", #RhBug 2006138 + "xapian-core*", #RhBug 2031780 + "tk*", #RhBug 2053406 + "tcl*", + "ldns-devel*", #RhBug 2058694 + "postgresql*", #ENGCMP-2185 + ], +} + +# format: {arch|*: [packages]} +multilib_whitelist = {} + +greedy_method = "build" + +sigkeys = ['2655AD82', '2655ad82'] + +pkgset_source = 'koji' +pkgset_koji_tag = ['inferit-9_2-init', 'inferit-9-extras'] +pkgset_allow_reuse = True +koji_profile = 'koji' +runroot_method = "local" +global_runroot_method = "local" +createiso_break_hardlinks = True +iso_hfs_ppc64le_compatible = False + +extra_isos = { + "BaseOS": [{ + "include_variants": ["AppStream"], + #"filename": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}", + "filename": "{release_short}-9.2-alpha-{arch}-{disc_type}{suffix}", + "skip_src": True, + "arches": ['x86_64'], + "failable_arches": ['i386'], + "extra_files": [ + { + 'scm': 'git', + 'repo': 'http://git.inferitos.ru/rpms/sphere-release.git', + 'branch': 'i9', + 'file': 'SOURCES/EULA' + } + ] + }], + "Minimal": [{ + "include_variants": [], + "filename": "{release_short}-9.2-alpha-{arch}-minimal{suffix}", + "skip_src": True, + "arches": ['x86_64'], + "failable_arches": ['i386'] + }] +} + + +create_optional_isos = False +createiso_use_xorrisofs = True + +createiso_skip = [ + ("^(BaseOS|AppStream|CRB|Minimal|Extras)$", { + # No binary ISOs for BaseOS (but still generate src ISOs) - RCM-41330 + # No binary ISOs for AppStream (but still generate src ISOs) - RCM-40356 + # No binary or src ISOs for CRB + # No binary or src ISOs for NFV + # Note: "*" matches only binary architectures. + "*": True, + "src":True #RCM-41427 -Disable source iso generation during createiso phase + }), +] + +restricted_volid = True + +# CREATEREPO +createrepo_deltas = False +createrepo_database = True +createrepo_c = True +createrepo_checksum = 'sha256' +createrepo_use_xz = True +createrepo_enable_cache = False +createrepo_num_threads = 8 +createrepo_num_workers = 4 +createrepo_extra_args = [ + '--distro=cpe:/o:ncsd:msvsphere:9,MSVSphere 9', + '--revision=9.2' +] + +# CHECKSUMS +media_checksums = ['sha256'] +media_checksum_one_file = True +create_jigdo = False + +# BUILDINSTALL +# deprecated! +# bootable = True + +buildinstall_method = "lorax" + +lorax_options = [ + ("^.*$", { + "*": { + "noupgrade": False, + "rootfs_size": 3, + "version": "9.1" + } + }) +] + +# LOOKASIDE +variant_as_lookaside = [ + ('AppStream', 'BaseOS'), + ('CRB', 'BaseOS'), + ('CRB', 'AppStream'), +# ('HighAvailability', 'BaseOS'), +# ('HighAvailability', 'AppStream'), +# ("ResilientStorage", "BaseOS"), +# ("ResilientStorage", "AppStream"), +# ("RT", "BaseOS"), +# ("RT", "AppStream"), +# ("NFV", "BaseOS"), +# ("NFV", "AppStream"), + ("Minimal", "BaseOS"), + ("Minimal", "AppStream"), + ("Extras", "BaseOS"), + ("Extras", "AppStream") +]