From 6eecb533b6cfde1e604460757dba98423e45a3c4 Mon Sep 17 00:00:00 2001 From: Dusty Mabe Date: Sat, 10 Mar 2018 12:43:10 -0500 Subject: [PATCH] rm Cloud variant; mv CloudImages Cloud We need to stop building repos and install media for the *Cloud* variant because the only consumers of those repos/install media is the cloud base images that could easily be built with the Everything repo/install media. This commit removes the cloud variant (as it was previously known) and then renames the CloudImages variant to 'Cloud'. Summary: - Cloud now becomes an empty variant (no repos, no install media) - CloudImages variant goes away - Cloud image builds use Everything repo/install media - Atomic image builds use Everything install tree Signed-off-by: Dusty Mabe --- fedora.conf | 31 ++++++++++--------------------- variants-fedora.xml | 40 +--------------------------------------- 2 files changed, 11 insertions(+), 60 deletions(-) diff --git a/fedora.conf b/fedora.conf index e6a90a1..ca6b41b 100644 --- a/fedora.conf +++ b/fedora.conf @@ -106,7 +106,7 @@ lorax_options = [ # fomat: [(variant_uid_regex, {arch|*: [packages]})] additional_packages = [ - ('^(Workstation|Server|Cloud|Everything)$', { + ('^(Workstation|Server|Everything)$', { '*': [ 'kernel*', 'dracut*', @@ -140,12 +140,6 @@ additional_packages = [ ], }), - ('^Cloud$', { - '*': [ - - ], - }), - ] multilib = [ @@ -155,7 +149,7 @@ multilib = [ ] filter_packages = [ - ('(Workstation|Server|Cloud)$', { + ('(Workstation|Server)$', { '*': [ 'kernel*debug*', 'kernel-kdump*', @@ -207,11 +201,6 @@ createiso_skip = [ 'src': True }), - ('^Cloud$', { - '*': True, - 'src': True - }), - ('^Everything$', { '*': True, 'src': True @@ -226,7 +215,7 @@ createiso_skip = [ # fomat: [(variant_uid_regex, {arch|*: [scm_dicts]})] #extra_files = [ -# ('^(Server|Workstation|Cloud)$', { +# ('^(Server|Workstation)$', { # '*': [ # { # 'scm': 'rpm', @@ -341,7 +330,7 @@ image_build = { }, } ], - '^CloudImages$': [ + '^Cloud$': [ { 'image-build': { 'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')], @@ -350,8 +339,8 @@ image_build = { 'distro': 'Fedora-22', 'disk_size': 4, 'arches': ['aarch64', 'ppc64', 'ppc64le', 's390x', 'x86_64'], - 'repo': 'Cloud', - 'install_tree_from': 'Cloud', + 'repo': 'Everything', + 'install_tree_from': 'Everything', 'subvariant': 'Cloud_Base', 'failable': ['ppc64', 'ppc64le', 's390x'], } @@ -364,8 +353,8 @@ image_build = { 'distro': 'Fedora-22', 'disk_size': 40, 'arches': ['x86_64'], - 'repo': 'Cloud', - 'install_tree_from': 'Cloud', + 'repo': 'Everything', + 'install_tree_from': 'Everything', 'subvariant': 'Cloud_Base', 'failable': ['*'], }, @@ -380,7 +369,7 @@ image_build = { 'distro': 'Fedora-22', 'disk_size': 6, 'arches': ['aarch64', 'ppc64le', 'x86_64'], - 'install_tree_from': 'Cloud', + 'install_tree_from': 'Everything', 'subvariant': 'AtomicHost', 'failable': ['*'], } @@ -393,7 +382,7 @@ image_build = { 'distro': 'Fedora-22', 'disk_size': 40, 'arches': ['x86_64'], - 'install_tree_from': 'Cloud', + 'install_tree_from': 'Everything', 'subvariant': 'AtomicHost', 'failable': ['*'], }, diff --git a/variants-fedora.xml b/variants-fedora.xml index 760a95f..afc83d9 100644 --- a/variants-fedora.xml +++ b/variants-fedora.xml @@ -8,10 +8,9 @@ ppc64le - + aarch64 - i386 ppc64 ppc64le s390x @@ -134,43 +133,6 @@ x86_64 - - - aarch64 - ppc64 - ppc64le - s390x - x86_64 - - - cloud-server - core - standard - headless-management - dogtag - directory-server - dns-server - freeipa-server - ftp-server - guest-agents - ha - load-balancer - mail-server - mysql - network-server - smb-server - sql-server - web-server - - anaconda-tools - platform-vmware - - ostree-support - - - cloud-server-environment - - armhfp