From 3bb92566c0d1181f24e42b1e410d85d67c81dfc8 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Dec 16 2019 17:00:20 +0000 Subject: start on configs for armhfp --- diff --git a/c8-armhfp.conf b/c8-armhfp.conf new file mode 100644 index 0000000..1cae025 --- /dev/null +++ b/c8-armhfp.conf @@ -0,0 +1,136 @@ +from multilib import * +from include-excludes import * +from images-armhfp import * + +# PRODUCT INFO +release_name = "CentOS Linux" +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'] +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" + +# 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"), +] + diff --git a/images-armhfp.conf b/images-armhfp.conf new file mode 100644 index 0000000..b030674 --- /dev/null +++ b/images-armhfp.conf @@ -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, + } + } + ] +} diff --git a/variants-armhfp.xml b/variants-armhfp.xml new file mode 100644 index 0000000..003f5aa --- /dev/null +++ b/variants-armhfp.xml @@ -0,0 +1,215 @@ + + + + + + + armv7hl + + + + + guest-agents + standard + base + core + + binary-intentionally-in-rhel-8 + additional-devel + anaconda-tools + conflicts-baseos + development + server-product + dial-up + networkmanager-submodules + file-server + fonts + gnome-desktop + graphical-admin-tools + hardware-monitoring + hardware-support + infiniband + headless-management + large-systems + legacy-unix + mail-server + mainframe-access + multimedia + dns-server + smb-server + network-tools + network-file-system-client + network-server + performance + platform-devel + python-web + remote-system-management + scientific + security-tools + system-tools + workstation-product + + + + minimal-environment + custom-environment + server-product-environment + + + + + + armv7hl + + + + nonmodular-appstream + standard + anaconda-tools + base + conflicts-appstream + core + additional-devel + base-x + debugging + development + dotnet-core + file-server + ftp-server + gnome-apps + gnome-desktop + guest-desktop-agents + graphical-admin-tools + graphics + infiniband + workstation-product + multimedia + mail-server + mainframe-access + network-server + network-tools + container-management + smb-server + dial-up + fonts + input-methods + multimedia + networkmanager-submodules + network-file-system-client + print-client + desktop-debugging + internet-browser + gnome-desktop + guest-agents + guest-desktop-agents + headless-management + java-platform + gnome-apps + internet-applications + office-suite + performance + platform-devel + platform-kvm + platform-microsoft + platform-vmware + scientific + ostree-support + security-tools + smart-card + system-tools + texlive + legacy-x + backup-client + remote-desktop-clients + remote-system-management + rpm-development-tools + virtualization-client + virtualization-hypervisor + virtualization-platform + virtualization-tools + web-server + + + + minimal-environment + virtualization-host-environment + custom-environment + server-product-environment + graphical-server-environment + workstation-product-environment + + + + 389-ds:1.4 + ant:1.10 + perl-App-cpanminus:1.7044 + perl-DBD-MySQL:4.046 + perl-DBD-Pg:3.7 + perl-DBD-SQLite:1.58 + perl-DBI:1.641 + container-tools:1.0 + container-tools:rhel8 + freeradius:3.0 + gimp:2.8 + go-toolset:rhel8 + httpd:2.4 + idm:DL1 + idm:client + inkscape:0.92.3 + javapackages-runtime:201801 + libselinux-python:2.8 + llvm-toolset:rhel8 + mailman:2.1 + mariadb:10.3 + maven:3.5 + mercurial:4.8 + mod_auth_openidc:2.3 + mysql:8.0 + nginx:1.14 + nodejs:10 + parfait:0.5 + perl:5.24 + perl:5.26 + perl-FCGI:0.78 + php:7.2 + pki-core:10.6 + pki-deps:10.6 + postgresql:10 + postgresql:9.6 + python27:2.7 + python36:3.6 + redis:5 + rhn-tools:1.0 + ruby:2.5 + rust-toolset:rhel8 + satellite-5-client:1.0 + scala:2.10 + squid:4 + subversion:1.10 + swig:3.0 + varnish:6 + virt:rhel + perl-YAML:1.24 + + + + + + + + armv7hl + + + centos-devel + + + + javapackages-tools:201801 + + + + +