| |
@@ -1,207 +1,59 @@
|
| |
- # PRODUCT INFO
|
| |
- release_name = 'Fedora-ELN'
|
| |
- release_short = 'Fedora-ELN'
|
| |
- release_version = 'Rawhide'
|
| |
+ # This is the default Fedora ELN config template.
|
| |
+ #
|
| |
+ # DO NOT EDIT this configuration file directly.
|
| |
+ #
|
| |
+ # For any change which should be propagated also into CentOS and RHEL
|
| |
+ # compose, edit the particular configuration file in the "shared" directory.
|
| |
+ #
|
| |
+ # For any change which should happen only for Fedora ELN, edit the
|
| |
+ # "fedora/override.conf" configuration file.
|
| |
+
|
| |
+ from shared/multilib import *
|
| |
+ from shared/additional_and_filter_packages import *
|
| |
+ from shared/runroot import *
|
| |
+ from shared/pkgset import *
|
| |
+ from shared/gather import *
|
| |
+ from shared/createrepo import *
|
| |
+ from shared/buildinstall import *
|
| |
+ from shared/lookaside import *
|
| |
+ from fedora/variables import *
|
| |
|
| |
- # SKIP PHASES
|
| |
- # For now we only build RPM repositories.
|
| |
- skip_phases = [
|
| |
- "createiso",
|
| |
- # "buildinstall",
|
| |
- "live_media",
|
| |
- "live_images",
|
| |
- "ostree",
|
| |
- "osbs",
|
| |
- "extra_isos",
|
| |
- "image_build"
|
| |
- ]
|
| |
+ # PRODUCT INFO
|
| |
+ release_name = RELEASE_NAME
|
| |
+ release_short = RELEASE_SHORT
|
| |
+ release_version = RELEASE_VERSION
|
| |
+ release_is_layered = False
|
| |
|
| |
# GENERAL SETTINGS
|
| |
comps_file = {
|
| |
'scm': 'git',
|
| |
- 'repo': 'https://pagure.io/fedora-comps.git',
|
| |
- 'branch': 'master',
|
| |
- 'file': 'comps-rawhide.xml',
|
| |
- 'command': 'make comps-rawhide.xml'
|
| |
+ 'repo': COMPS_REPO,
|
| |
+ 'branch': COMPS_BRANCH,
|
| |
+ 'file': COMPS_FILE,
|
| |
+ 'command': COMPS_COMMAND
|
| |
}
|
| |
|
| |
module_defaults_dir = {
|
| |
'scm': 'git',
|
| |
- 'repo': 'https://pagure.io/releng/fedora-module-defaults.git',
|
| |
- 'branch': 'master',
|
| |
+ 'repo': MODULE_DEFAULTS_REPO,
|
| |
+ 'branch': MODULE_DEFAULTS_BRANCH,
|
| |
'dir': '.'
|
| |
}
|
| |
|
| |
- bootable = True
|
| |
- variants_file='variants-eln.xml'
|
| |
- sigkeys = ['9570FF31', 'D300E724']
|
| |
-
|
| |
- # limit tree architectures
|
| |
- # if undefined, all architectures from variants.xml will be included
|
| |
- tree_arches = ['aarch64', 'armhfp', 'ppc64le', 's390x', 'x86_64', 'i386']
|
| |
-
|
| |
- # limit tree variants
|
| |
- # if undefined, all variants from variants.xml will be included
|
| |
- #tree_variants = ['Server']
|
| |
-
|
| |
- hashed_directories = True
|
| |
-
|
| |
- # RUNROOT settings
|
| |
- runroot_method = 'koji'
|
| |
- runroot_channel = 'compose'
|
| |
- runroot_tag = 'eln-build'
|
| |
-
|
| |
- # PKGSET
|
| |
- pkgset_source = 'koji' # koji, repos
|
| |
-
|
| |
- # PKGSET - REPOS
|
| |
- # pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
|
| |
- # pkgset_repos = {}
|
| |
-
|
| |
- # PKGSET - KOJI
|
| |
- pkgset_koji_tag = 'eln'
|
| |
- pkgset_koji_inherit = False
|
| |
-
|
| |
- filter_system_release_packages = False
|
| |
-
|
| |
- # GATHER
|
| |
- gather_method = {
|
| |
- '^.*': { # For all variants
|
| |
- 'comps': 'deps', # resolve dependencies for packages from comps file
|
| |
- 'module': 'nodeps', # but not for packages from modules
|
| |
- }
|
| |
+ variants_file = {
|
| |
+ "scm": "VARIANTS_SCM",
|
| |
+ "repo": VARIANTS_REPO,
|
| |
+ "branch": VARIANTS_BRANCH,
|
| |
+ "file": VARIANTS_FILE,
|
| |
}
|
| |
- gather_backend = 'dnf'
|
| |
- gather_profiler = True
|
| |
- check_deps = False
|
| |
- greedy_method = 'build'
|
| |
-
|
| |
- gather_allow_reuse = True
|
| |
-
|
| |
- repoclosure_backend = 'dnf'
|
| |
-
|
| |
- # fomat: [(variant_uid_regex, {arch|*: [repos]})]
|
| |
- # gather_lookaside_repos = []
|
| |
-
|
| |
- # GATHER - JSON
|
| |
- # format: {variant_uid: {arch: package: [arch1, arch2, None (for any arch)]}}
|
| |
- #gather_source_mapping = '/path/to/mapping.json'
|
| |
-
|
| |
-
|
| |
- # CREATEREPO
|
| |
- createrepo_deltas = False
|
| |
- createrepo_database = True
|
| |
- createrepo_use_xz = True
|
| |
- #createrepo_extra_args = ['--zck', '--zck-dict-dir=/usr/share/fedora-repo-zdicts/rawhide']
|
| |
- createrepo_num_workers = 10
|
| |
|
| |
- # CHECKSUMS
|
| |
- media_checksums = ['sha256']
|
| |
- media_checksum_one_file = True
|
| |
- media_checksum_base_filename = '%(release_short)s-%(variant)s-%(version)s-%(arch)s-%(date)s%(type_suffix)s.%(respin)s'
|
| |
- #jigdo
|
| |
- create_jigdo = False
|
| |
+ # RUNROOT
|
| |
+ runroot_channel = RUNROOT_CHANNEL
|
| |
+ runroot_tag = RUNROOT_TAG
|
| |
|
| |
- # CREATEISO
|
| |
- iso_hfs_ppc64le_compatible = False
|
| |
-
|
| |
- # BUILDINSTALL
|
| |
- buildinstall_method = 'lorax'
|
| |
- buildinstall_skip = [
|
| |
- ('^Everything$', {
|
| |
- 'i386': True,
|
| |
- 'aarch64': True,
|
| |
- 'armhfp': True,
|
| |
- 'ppc64le': True,
|
| |
- 's390x': True
|
| |
- }),
|
| |
- ('^Modular$', {
|
| |
- '*': True
|
| |
- }),
|
| |
- ]
|
| |
-
|
| |
- # Enables macboot on x86_64 for all variants and disables upgrade image building
|
| |
- # everywhere.
|
| |
- # Use 3GB image size for all arches.
|
| |
- lorax_options = [
|
| |
- ('^.*$', {
|
| |
- 'x86_64': {
|
| |
- 'nomacboot': True
|
| |
- },
|
| |
- '*': {
|
| |
- 'noupgrade': True,
|
| |
- 'rootfs_size': 3
|
| |
- }
|
| |
- })
|
| |
- ]
|
| |
-
|
| |
- failable_deliverables = [
|
| |
- ('^.*$', {
|
| |
- # Buildinstall can fail on any variant and any arch
|
| |
- '*': ['buildinstall'],
|
| |
- })
|
| |
- ]
|
| |
-
|
| |
- # Add the rawhide repository for missing packages
|
| |
- lorax_extra_sources = [
|
| |
- ('^Everything$', {
|
| |
- '*': 'https://kojipkgs.fedoraproject.org/repos/f33-build/latest/$basearch/',
|
| |
- })
|
| |
- ]
|
| |
-
|
| |
- #extra_packages = [
|
| |
- # '/mnt/packages/foo*',
|
| |
- #]
|
| |
-
|
| |
-
|
| |
- # fomat: [(variant_uid_regex, {arch|*: [packages]})]
|
| |
- additional_packages = [
|
| |
- ('^Everything$', {
|
| |
- '*': [
|
| |
- '*',
|
| |
- ],
|
| |
- }),
|
| |
- ]
|
| |
-
|
| |
- multilib = [
|
| |
- ('^Everything$', {
|
| |
- 'x86_64': ['devel', 'runtime'],
|
| |
- })
|
| |
- ]
|
| |
-
|
| |
-
|
| |
- # The openh264 packages are https://fedoraproject.org/wiki/Non-distributable-rpms.
|
| |
- # Filter everything for Modular until we have some modules. Pungi currently cannot
|
| |
- # create "empty" variant it seems.
|
| |
- filter_packages = [
|
| |
- ("^.*$", {"*": ["glibc32", "libgcc32", "*openh264*"]}),
|
| |
- ("^Modular$", {"*": ["*"]}),
|
| |
- ]
|
| |
-
|
| |
-
|
| |
- # format: {arch|*: [packages]}
|
| |
- multilib_blacklist = {
|
| |
- '*': ['kernel', 'kernel-PAE*', 'kernel*debug*',
|
| |
- 'dmraid-devel', 'kdeutils-devel', 'mkinitrd-devel',
|
| |
- 'php-devel', 'java-*', 'bash-devel',
|
| |
- 'httpd-devel', 'tomcat-native', 'php*', 'httpd',
|
| |
- 'krb5-server', 'krb5-server-ldap', 'mod_*', 'ghc-*'
|
| |
- ],
|
| |
- }
|
| |
-
|
| |
-
|
| |
- # format: {arch|*: [packages]}
|
| |
- multilib_whitelist = {
|
| |
- '*': ['libgnat', 'wine', 'lmms-vst', 'nspluginwrapper',
|
| |
- 'libflashsupport', 'valgrind', 'perl-libs', 'redhat-lsb',
|
| |
- 'yaboot', 'syslinux-extlinux-nonlinux', 'syslinux-nonlinux',
|
| |
- 'syslinux-tftpboot', 'nosync', '*-static', 'apitrace-libs',
|
| |
- 'fakeroot-libs', 'postgresql-odbc', 'mysql-connector-odbc',
|
| |
- 'fakechroot-libs','mesa-vdpau-drivers', 'p11-kit-trust',
|
| |
- 'mariadb-connector-odbc', 'compiler-rt',
|
| |
- 'nvidia-query-resource-opengl-lib',
|
| |
- 'ibus-libs', 'ibus-gtk2', 'ibus-gtk3',
|
| |
- 'glib-networking'
|
| |
- ],
|
| |
- }
|
| |
+ # PKGSET
|
| |
+ pkgset_koji_tag = PKGSET_KOJI_TAG
|
| |
+ pkgset_koji_module_tag = PKGSET_KOJI_MODULE_TAG
|
| |
|
| |
+ # Allow overriding any option defined here if needed.
|
| |
+ from fedora/override import *
|
| |