#3 start on configs for armhfp
Opened 5 years ago by pgreco. Modified 5 years ago
centos/ pgreco/pungi-centos centos-8.0.0.1905  into  centos-8.0.0.1905

file added
+136
@@ -0,0 +1,136 @@ 

+ from multilib import *

We should check if we need a multilib white/blacklist, I'd assume not.

+ from include-excludes import *

+ from images-armhfp import *

+ 

+ # PRODUCT INFO 

+ release_name = "CentOS Linux" 

We should name this using the "Altarch" naming

+ release_short = "CentOS"

+ release_version = "8"

+ release_is_layered = False

+ 

+ # GENERAL SETTINGS

+ bootable = True

+ comps_file = {

+         'scm': 'git',

+         'repo': 'https://git.centos.org/centos/comps.git',

+         'branch': 'master',

+         'file': 'comps-centos-8.0.0.1905.xml',

+ }

+ 

+ link_type = 'hardlink-or-copy'

+ 

+ module_defaults_dir = {

+         'scm': 'git',

+         'repo': 'https://git.centos.org/centos/centos-module-defaults.git',

+         'branch': 'c8.0',

+         'dir': '.',

+ }

+ 

+ multilib = []

+ 

+ variants_file = 'variants-armhfp.xml'

+ sigkeys = ['8483C65D']

@hughesjr, @arrfab: are we signing armhfp with this key?

+ hashed_directories = False

+ 

+ tree_arches = ['armv7hl']

+ 

+ # RUNROOT SETTINGS

+ runroot = True

+ runroot_channel = 'image'

+ runroot_tag = 'dist-c8-build'

+ runroot_method = 'koji'

+ 

+ # PKGSET

+ pkgset_source = "koji"

+ koji_profile = "mbox"

the koji_profile should be armhfp-mbox, we'll add this profile to the compose machine

+ 

+ # PKGSET - KOJI

+ pkgset_koji_tag = "dist-c8"

+ pkgset_koji_module_tag = "modular-updates-candidate"

+ 

+ filter_system_release_packages = False

+ 

+ # GATHER

+ gather_prepopulate = "centos-packages.json"

+ 

+ gather_method = {

+         "^(?!(AppStream|Devel)).*$":{

+                 "comps": "deps"

+         },

+         "^(AppStream|Devel)$": "hybrid",

+ }

+ 

+ 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"

+ 

+ # 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

+         }

+     })

+ ]

+ 

+ buildinstall_skip = [

+     ("^(AppStream|Devel)$", {

+        "*": True

+        }),

+ ]

+ 

+ image_name_format = {

+     "^BaseOS$": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}",

+     ".*": "{compose_id}-{variant}-{arch}-{disc_type}{disc_num}{suffix}",

+ }

+ 

+ # CREATEISO

+ create_optional_isos = False

+ 

+ createiso_skip = [

+     ('^(BaseOS|AppStream|Devel|)$', {

+         '*': True,

+         'src':True

+     }),

+ ]

+ 

+ extra_isos = {

+     "BaseOS": [{

+         "include_variants": ["AppStream"],

+         "filename": "{compose_id}-{arch}-{disc_type}{disc_num}{suffix}",

+         "skip_src": False,

+     }]

+ }

+ 

+ restricted_volid = True

+ 

+ # LOOKASIDE

+ variant_as_lookaside = [

+     ('AppStream', 'BaseOS'),

+     ('Devel', 'BaseOS'),

+     ('Devel', 'AppStream'),

+ ]

+ 

+ productimg = False

+ 

+ translate_paths = [

+ 	("/mnt/koji", "https://koji.armhfp-mbox.centos.org/pkgs"),

+ 	("/compose", "http://172.22.0.123/compose"),

+ ]

+ 

file added
+42
@@ -0,0 +1,42 @@ 

+ image_build = {

+     "^BaseOS$": [

+         { 

+             "image-build": {

+                 "format": [("qcow2", "qcow2")],

+                 "name": "CentOS-8-GenericCloud",

+                 "target": "image-centos-8",

+                 "version": "8.0.1905",

+                 "ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD",

+                 "kickstart": "CentOS-8-GenericCloud.ks",

+                 "ksversion": "F26",

+                 "distro": "Fedora-20",

+                 "disk-size": "10",

+                 "arches": ["armv7hl"],

+                 "repo": ["BaseOS", "AppStream"],

+                 "failable": [],

+             },

+             "factory-parameters": {

+                 "generate_icicle": False,

+             }

+         },

+         {

+             "image-build": {

+                 "format": [("docker", "tar.gz")],

+                 "name": "CentOS-8-Container",

+                 "target": "image-centos-8",

+                 "version": "8.0.1905",

+                 "ksurl": "git+https://git.centos.org/CentOS/kickstarts.git?#HEAD",

+                 "kickstart": "CentOS-8-Container.ks",

+                 "ksversion": "F26",

+                 "distro": "Fedora-20",

+                 "disk-size": "10",

+                 "arches": ["armv7hl"],

+                 "repo": ["BaseOS", "AppStream"],

+                 "failable": [],

+             },

+             "factory-parameters": {

+                 "generate_icicle": False,

+             }

+         }

+     ]

+ }

file added
+215
@@ -0,0 +1,215 @@ 

+ <?xml version="1.0" encoding="UTF-8"?>

+ <!DOCTYPE variants PUBLIC "-//Red Hat, Inc.//DTD Variants info//EN" "variants2012.dtd">

+ <variants>

+   <variant id="BaseOS" name="BaseOS" type="variant" has_optional="false">

+     <!-- List of architectures for BaseOS compose variant -->

+     <arches>

+       <arch>armv7hl</arch>

+     </arches>

+     <!-- List of comps groups that should be part of BaseOS compose variant -->

+     <groups>

+       <!-- Essential groups for Anaconda installation -->

+       <group default="true">guest-agents</group>

+       <group default="true">standard</group>

+       <group default="true">base</group>

+       <group default="true">core</group>

+       <!-- Other groups -->

+       <group default="true">binary-intentionally-in-rhel-8</group>

+       <group default="true">additional-devel</group>

+       <group default="false">anaconda-tools</group>

+       <group default="false">conflicts-baseos</group>

+       <group default="true">development</group>

+       <group default="true">server-product</group>

+       <group default="true">dial-up</group>

+       <group default="true">networkmanager-submodules</group>

+       <group default="true">file-server</group>

+       <group default="true">fonts</group>

+       <group default="true">gnome-desktop</group>

+       <group default="true">graphical-admin-tools</group>

+       <group default="true">hardware-monitoring</group>

+       <group default="true">hardware-support</group>

+       <group default="true">infiniband</group>

+       <group default="true">headless-management</group>

+       <group default="true">large-systems</group>

+       <group default="true">legacy-unix</group>

+       <group default="true">mail-server</group>

+       <group default="true">mainframe-access</group>

+       <group default="true">multimedia</group>

+       <group default="true">dns-server</group>

+       <group default="true">smb-server</group>

+       <group default="true">network-tools</group>

+       <group default="true">network-file-system-client</group>

+       <group default="true">network-server</group>

+       <group default="true">performance</group>

+       <group default="true">platform-devel</group>

+       <group default="true">python-web</group>

+       <group default="true">remote-system-management</group>

+       <group default="true">scientific</group>

+       <group default="true">security-tools</group>

+       <group default="true">system-tools</group>

+       <group default="true">workstation-product</group>

+     </groups>

+     <!-- List of environments from comps that should be part of BaseOS compose variant -->

+     <environments>

+       <environment display_order="3">minimal-environment</environment>

+       <environment display_order="99">custom-environment</environment>

+       <environment display_order="1">server-product-environment</environment>

+     </environments>

+   </variant>

+   <variant id="AppStream" name="AppStream" type="variant">

+     <!-- List of architectures for AppStream compose variant -->

+     <arches>

+       <arch>armv7hl</arch>

+     </arches>

+     <!-- List of comps groups that should be part of AppStream compose variant -->

+     <groups>

+       <group default="true">nonmodular-appstream</group>

+       <group default="true">standard</group>

+       <group default="false">anaconda-tools</group>

+       <group default="true">base</group>

+       <group default="false">conflicts-appstream</group>

+       <group default="true">core</group>

+       <group default="true">additional-devel</group>

+       <group default="true">base-x</group>

+       <group default="true">debugging</group>

+       <group default="true">development</group>

+       <group default="true">dotnet-core</group>

+       <group default="true">file-server</group>

+       <group default="true">ftp-server</group>

+       <group default="true">gnome-apps</group>

+       <group default="true">gnome-desktop</group>

+       <group default="true">guest-desktop-agents</group>

+       <group default="true">graphical-admin-tools</group>

+       <group default="true">graphics</group>

+       <group default="true">infiniband</group>

+       <group default="true">workstation-product</group>

+       <group default="true">multimedia</group>

+       <group default="true">mail-server</group>

+       <group default="true">mainframe-access</group>

+       <group default="true">network-server</group>

+       <group default="true">network-tools</group>

+       <group default="true">container-management</group>

+       <group default="true">smb-server</group>

+       <group default="true">dial-up</group>

+       <group default="true">fonts</group>

+       <group default="true">input-methods</group>

+       <group default="true">multimedia</group>

+       <group default="true">networkmanager-submodules</group>

+       <group default="true">network-file-system-client</group>

+       <group default="true">print-client</group>

+       <group default="true">desktop-debugging</group>

+       <group default="true">internet-browser</group>

+       <group default="true">gnome-desktop</group>

+       <group default="true">guest-agents</group>

+       <group default="true">guest-desktop-agents</group>

+       <group default="true">headless-management</group>

+       <group default="true">java-platform</group>

+       <group default="true">gnome-apps</group>

+       <group default="true">internet-applications</group>

+       <group default="true">office-suite</group>

+       <group default="true">performance</group>

+       <group default="true">platform-devel</group>

+       <group default="true">platform-kvm</group>

+       <group default="true">platform-microsoft</group>

+       <group default="true">platform-vmware</group>

+       <group default="true">scientific</group>

+       <group default="true">ostree-support</group>

+       <group default="true">security-tools</group>

+       <group default="true">smart-card</group>

+       <group default="true">system-tools</group>

+       <group default="true">texlive</group>

+       <group default="true">legacy-x</group>

+       <group default="true">backup-client</group>

+       <group default="true">remote-desktop-clients</group>

+       <group default="true">remote-system-management</group>

+       <group default="true">rpm-development-tools</group>

+       <group default="true">virtualization-client</group>

+       <group default="true">virtualization-hypervisor</group>

+       <group default="true">virtualization-platform</group>

+       <group default="true">virtualization-tools</group>

+       <group default="true">web-server</group>

+     </groups>

+     <!-- List of environments from comps that should be part of BaseOS compose variant -->

+     <environments>

+       <environment display_order="3">minimal-environment</environment>

+       <environment display_order="99">virtualization-host-environment</environment>

+       <environment display_order="99">custom-environment</environment>

+       <environment display_order="2">server-product-environment</environment>

+       <environment display_order="1">graphical-server-environment</environment>

+       <environment display_order="4">workstation-product-environment</environment>

+     </environments>

+     <!-- List of modules that should be part of AppStream compose variant -->

+     <modules>

+       <module>389-ds:1.4</module>

+       <module>ant:1.10</module>

+       <module>perl-App-cpanminus:1.7044</module>

+       <module>perl-DBD-MySQL:4.046</module>

+       <module>perl-DBD-Pg:3.7</module>

+       <module>perl-DBD-SQLite:1.58</module>

+       <module>perl-DBI:1.641</module>

+       <module>container-tools:1.0</module>

+       <module>container-tools:rhel8</module>

+       <module>freeradius:3.0</module>

+       <module>gimp:2.8</module>

+       <module>go-toolset:rhel8</module>

+       <module>httpd:2.4</module>

+       <module>idm:DL1</module>

+       <module>idm:client</module>

+       <module>inkscape:0.92.3</module>

+       <module>javapackages-runtime:201801</module>

+       <module>libselinux-python:2.8</module>

+       <module>llvm-toolset:rhel8</module>

+       <module>mailman:2.1</module>

+       <module>mariadb:10.3</module>

+       <module>maven:3.5</module>

+       <module>mercurial:4.8</module>

+       <module>mod_auth_openidc:2.3</module>

+       <module>mysql:8.0</module>

+       <module>nginx:1.14</module>

+       <module>nodejs:10</module>

+       <module>parfait:0.5</module>

+       <module>perl:5.24</module>

+       <module>perl:5.26</module>

+       <module>perl-FCGI:0.78</module>

+       <module>php:7.2</module>

+       <module>pki-core:10.6</module>

+       <module>pki-deps:10.6</module>

+       <module>postgresql:10</module>

+       <module>postgresql:9.6</module>

+       <module>python27:2.7</module>

+       <module>python36:3.6</module>

+       <module>redis:5</module>

+       <module>rhn-tools:1.0</module>

+       <module>ruby:2.5</module>

+       <module>rust-toolset:rhel8</module>

+       <module>satellite-5-client:1.0</module>

+       <module>scala:2.10</module>

+       <module>squid:4</module>

+       <module>subversion:1.10</module>

+       <module>swig:3.0</module>

+       <module>varnish:6</module>

+       <module>virt:rhel</module>

+       <module>perl-YAML:1.24</module>

+     </modules>

+ 

+   </variant>

+ 

+   <variant id="Devel" name="CentOS Devel" type="variant">

+     <!-- List of architectures for Devel compose variant -->

+     <arches>

+       <arch>armv7hl</arch>

+     </arches>

+     <groups>

+       <group default="true">centos-devel</group>

+     </groups>

+     <!-- List of modules that should be part of CRB compose variant -->

+     <modules>

+       <module>javapackages-tools:201801</module>

+       <!-- List AppStream modules for which we want -devel version. AppStream is

+       used as lookaside for CRB, so the module will not actually get into

+       CRB, but it's needed here for creating the -devel module.

+       -->

+     </modules>

+   </variant>

+ 

+ </variants>

no initial comment

rebased onto 99baff5

5 years ago

We should check if we need a multilib white/blacklist, I'd assume not.

We should name this using the "Altarch" naming

the koji_profile should be armhfp-mbox, we'll add this profile to the compose machine

@hughesjr, @arrfab: are we signing armhfp with this key?

@bstinson we should use the same key for altarch, yes .. there is now only one key, that will be used for 8 and next releases, and because it's now all consolidated wrt buildsystems and signing process too, there is no need anymore to have different set of keys .. noarch were already using the x86_64 keys so for armhfp that means only one key.
The only thing that would need to be done, but don't know how pungi does that, is to import the noarch from the other koji setup, already signed, to compose the armhfp tree with armhfp pkg from one koji and noarch from the other koji (or do we need to first koji import all the noarch into the koji.armhfp-mbox setup ?)

rebased onto 99baff5

5 years ago

rebased onto 99baff5

5 years ago