2017-04-06 10:48:35 +00:00
|
|
|
# PRODUCT INFO
|
|
|
|
release_name = 'Fedora-Modular'
|
|
|
|
release_short = 'Fedora-Modular'
|
|
|
|
release_version = 'Rawhide'
|
|
|
|
release_is_layered = False
|
|
|
|
|
|
|
|
# GENERAL SETTINGS
|
|
|
|
bootable = True
|
|
|
|
|
|
|
|
variants_file='variants-modular.xml'
|
|
|
|
#sigkeys = ['FDB19C98', 'E372E838'] # None = unsigned
|
|
|
|
# We are using unsigned here temporarily for rawhide until we setup
|
|
|
|
# auto-signing.
|
|
|
|
sigkeys = [None]
|
|
|
|
|
|
|
|
hashed_directories = True
|
|
|
|
|
|
|
|
# RUNROOT settings
|
|
|
|
runroot = True
|
|
|
|
runroot_channel = 'compose'
|
|
|
|
runroot_tag = 'f27-build'
|
|
|
|
|
|
|
|
# PDC settings
|
|
|
|
pdc_url = 'http://pdc.fedoraproject.org/rest_api/v1'
|
|
|
|
pdc_insecure = True
|
|
|
|
pdc_develop = True
|
|
|
|
|
|
|
|
# PKGSET
|
|
|
|
pkgset_source = 'koji' # koji, repos
|
|
|
|
|
|
|
|
# PKGSET - KOJI
|
|
|
|
pkgset_koji_tag = 'f27'
|
|
|
|
pkgset_koji_inherit = False
|
|
|
|
|
|
|
|
filter_system_release_packages = False
|
|
|
|
|
|
|
|
# GATHER
|
|
|
|
gather_source = 'module'
|
|
|
|
gather_method = 'deps'
|
|
|
|
check_deps = False
|
|
|
|
greedy_method = 'build'
|
|
|
|
|
|
|
|
# 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_c = True
|
|
|
|
createrepo_checksum = 'sha512'
|
|
|
|
createrepo_deltas = True
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# We do not have anaconda module yet, so skip buildinstall for now and also
|
|
|
|
# all the phases which need buildinstall.
|
|
|
|
skip_phases= ["buildinstall", "live_media", "live_images", "ostree"]
|
|
|
|
|
|
|
|
# BUILDINSTALL
|
|
|
|
buildinstall_method = 'lorax'
|
|
|
|
|
|
|
|
# Enables macboot on x86_64 for all variants and disables upgrade image building
|
|
|
|
# # everywhere.
|
|
|
|
lorax_options = [
|
|
|
|
('^.*$', {
|
|
|
|
'x86_64': {
|
|
|
|
'nomacboot': False
|
|
|
|
}
|
|
|
|
'*': {
|
|
|
|
'noupgrade': True
|
|
|
|
}
|
|
|
|
})
|
|
|
|
]
|
|
|
|
|
|
|
|
# fomat: [(variant_uid_regex, {arch|*: [packages]})]
|
|
|
|
additional_packages = [
|
|
|
|
|
|
|
|
]
|
|
|
|
|
|
|
|
filter_packages = [
|
2017-04-12 17:44:53 +00:00
|
|
|
# TODO - autogenerate this from the modulemd someday.
|
2017-04-06 10:48:35 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
createiso_skip = [
|
|
|
|
('^base-runtime$', {
|
|
|
|
'*': True,
|
|
|
|
'src': True
|
|
|
|
}),
|
|
|
|
('^Server$', {
|
|
|
|
'*': True,
|
|
|
|
'src': True
|
|
|
|
}),
|
|
|
|
]
|
|
|
|
|
|
|
|
# Image name respecting Fedora's image naming policy
|
|
|
|
image_name_format = '%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s-%(date)s%(type_suffix)s.%(respin)s.iso'
|
|
|
|
# # Use the same format for volume id
|
|
|
|
image_volid_formats = [
|
|
|
|
'%(release_short)s-%(variant)s-%(disc_type)s-%(arch)s-%(version)s'
|
|
|
|
]
|
|
|
|
# No special handling for layered products, use same format as for regular images
|
|
|
|
image_volid_layered_product_formats = []
|
|
|
|
# Replace 'Cloud' with 'C' in volume id etc.
|
|
|
|
volume_id_substitutions = {
|
|
|
|
'Rawhide': 'rawh',
|
|
|
|
'Images': 'img',
|
|
|
|
'MATE_Compiz': 'MATE',
|
|
|
|
'Security': 'Sec',
|
|
|
|
'Electronic_Lab': 'Elec',
|
|
|
|
'Robotics': 'Robo',
|
|
|
|
'Scientific_KDE': 'SciK',
|
|
|
|
'Astronomy_KDE': 'AstK',
|
|
|
|
'Design_suite': 'Dsgn',
|
|
|
|
'Games': 'Game',
|
|
|
|
'Jam_KDE': 'Jam',
|
|
|
|
'Workstation': 'WS',
|
|
|
|
'Everything': 'E',
|
|
|
|
'Server': 'S',
|
|
|
|
'Cloud': 'C',
|
|
|
|
'Alpha': 'A',
|
|
|
|
'Beta': 'B',
|
|
|
|
'TC': 'T',
|
|
|
|
}
|
|
|
|
|
|
|
|
disc_types = {
|
|
|
|
'boot': 'netinst',
|
|
|
|
'live': 'Live',
|
|
|
|
}
|
|
|
|
|
|
|
|
translate_paths = [
|
|
|
|
('/mnt/koji/compose/', 'http://kojipkgs.fedoraproject.org/compose/'),
|
|
|
|
]
|
|
|
|
|
|
|
|
failable_deliverables = [
|
|
|
|
('^.*$', {
|
|
|
|
# Buildinstall can fail on any variant and any arch
|
|
|
|
'*': ['buildinstall', 'iso', 'image-build', 'live-media', 'live', 'ostree', 'ostree-installer'],
|
|
|
|
'src': ['buildinstall'],
|
|
|
|
# Nothing on i386 blocks the compose
|
|
|
|
'i386': ['buildinstall', 'iso', 'live'],
|
|
|
|
})
|
|
|
|
]
|
|
|
|
|
|
|
|
koji_profile = 'compose_koji'
|