From 485a47fdf8a31c1aeca68e0d0f74a3832c51a8a7 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Sep 24 2019 14:40:18 +0000 Subject: make images.conf standalone --- diff --git a/images.conf b/images.conf index 87da638..e82b65e 100644 --- a/images.conf +++ b/images.conf @@ -1,3 +1,69 @@ +from multilib import * +from include-excludes import * + +release_name = 'CentOS-Cloud' +release_short = 'CentOS-Cloud' +release_version = '8' +release_is_layered = False + +skip_phases = ['buildinstall','productimg','pkgset','gather','extra_files','createrepo'] + + +variants_file = 'variants.xml' +sigkeys = ['8483C65D'] +hashed_directories = False + +tree_arches = ['i386', 'x86_64'] + +# PKGSET +pkgset_source = "koji" +koji_profile = "mbox" + +# PKGSET - KOJI +pkgset_koji_tag = "dist-c8-compose" +pkgset_koji_inherit = False +pkgset_koji_module_tag = "modular-updates-candidate" + +# GATHER +gather_prepopulate = "centos-packages.json" + +gather_method = { + "^(?!(AppStream|PowerTools)).*$":{ + "comps": "deps" + }, + "^(AppStream|PowerTools)$": "hybrid", +} + +# CREATEREPO +createrepo_deltas = False +createrepo_database = True +createrepo_c = True +createrepo_checksum = "sha256" +createrepo_use_xz = True +createrepo_num_threads = 8 +createrepo_num_workers = 4 +createrepo_extra_args = ['--distro=cpe:/o:centos:centos:8,CentOS 8', '--revision=8.0.1905'] + +# CHECKSUMS +media_checksums = ['sha256'] +media_checksum_one_file = True +create_jigdo = False + +createiso_skip = [ + ('^BaseOS$', { + '*': True, + 'src': True + }), + ('^AppStream$', { + '*': True, + 'src': True + }), + ('^PowerTools$', { + '*': True, + 'src': True + }), +] + image_build = { "^BaseOS$": [ { @@ -12,7 +78,10 @@ image_build = { "distro": "Fedora-20", "disk-size": "10", "arches": ["x86_64","ppc64le","aarch64"], - "repo": ["BaseOS", "AppStream"], + "repo": [ + 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart', + 'http://mirror.centos.org/centos/8.0.1905/AppStream/$arch/kickstart'], + "install_tree_from": 'http://mirror.centos.org/8.0.1905/BaseOS/$arch/kickstart', "failable": ["ppc64le","aarch64"], }, "factory-parameters": { @@ -31,7 +100,10 @@ image_build = { "distro": "Fedora-20", "disk-size": "10", "arches": ["x86_64","ppc64le","aarch64"], - "repo": ["BaseOS", "AppStream"], + "repo": [ + 'http://mirror.centos.org/centos/8.0.1905/BaseOS/$arch/kickstart', + 'http://mirror.centos.org/centos/8.0.1905/AppStream/$arch/kickstart'], + "install_tree_from": 'http://mirror.centos.org/8.0.1905/BaseOS/$arch/kickstart', "failable": ["ppc64le","aarch64"], }, "factory-parameters": {