f6e7f6901b
- Update disk_size to 5 from 3 (from 30e6896
)
- Add in Container minimal image build
- Fix references to f25 -> f26
- Fix references to f27 -> f26
Signed-off-by: Dusty Mabe <dusty@dustymabe.com>
268 lines
8.2 KiB
Plaintext
268 lines
8.2 KiB
Plaintext
# PRODUCT INFO
|
|
release_name = 'Fedora-Docker'
|
|
release_short = 'Fedora-Docker'
|
|
release_version = '26'
|
|
release_is_layered = False
|
|
# GENERAL SETTINGS
|
|
bootable = False
|
|
comps_file = 'comps-f26.xml' #{
|
|
# 'scm': 'git',
|
|
# 'repo': 'git://git.fedorahosted.org/git/comps.git',
|
|
# 'branch': None, # defaults to cvs/HEAD or git/master
|
|
# 'file': 'comps-f23.xml',
|
|
#}
|
|
variants_file='variants-fedora.xml'
|
|
sigkeys = ['FDB19C98', 'E372E838'] # None = unsigned
|
|
# limit tree architectures
|
|
# if undefined, all architectures from variants.xml will be included
|
|
tree_arches = ['x86_64', 'armhfp']
|
|
# limit tree variants
|
|
# if undefined, all variants from variants.xml will be included
|
|
tree_variants = ['Docker']
|
|
hashed_directories = True
|
|
# RUNROOT settings
|
|
runroot = True
|
|
#runroot_channel = 'fedora_compose'
|
|
runroot_channel = 'compose'
|
|
runroot_tag = 'f26-build'
|
|
# PKGSET
|
|
pkgset_source = 'koji' # koji, repos
|
|
pkgset_koji_tag = 'f26-updates'
|
|
pkgset_koji_inherit = True
|
|
filter_system_release_packages = False
|
|
# GATHER
|
|
gather_source = 'comps'
|
|
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 = 'sha256'
|
|
# CHECKSUMS
|
|
media_checksums = ['sha256']
|
|
media_checksum_one_file = True
|
|
media_checksum_base_filename = 'Fedora-%(variant)s-%(version)s-%(date)s.%(respin)s-%(arch)s'
|
|
#jigdo
|
|
create_jigdo = False
|
|
#extra_packages = [
|
|
# '/mnt/packages/foo*',
|
|
#]
|
|
# fomat: [(variant_uid_regex, {arch|*: [packages]})]
|
|
additional_packages = [
|
|
('.*', {
|
|
'*': [
|
|
'kernel.*',
|
|
'dracut.*',
|
|
'autocorr-.*',
|
|
'eclipse-nls-.*',
|
|
'hunspell-.*',
|
|
'hyphen-.*',
|
|
'calligra-l10n-.*',
|
|
'kde-l10n-.*',
|
|
'libreoffice-langpack-.*',
|
|
'man-pages-.*',
|
|
'mythes-.*',
|
|
],
|
|
}),
|
|
('^Everything$', {
|
|
'*': [
|
|
'*',
|
|
],
|
|
}),
|
|
('^Server$', {
|
|
'*': [
|
|
],
|
|
}),
|
|
('^Workstation$', {
|
|
'*': [
|
|
],
|
|
}),
|
|
('^Cloud$', {
|
|
'*': [
|
|
],
|
|
}),
|
|
]
|
|
multilib = [
|
|
('^Everything$', {
|
|
'x86_64': ['devel', 'runtime'],
|
|
's390x': ['devel', 'runtime']
|
|
})
|
|
]
|
|
filter_packages = [
|
|
('(Workstation|Server|Cloud)$', {
|
|
'*': [
|
|
'^kernel.*debug.*',
|
|
'^kernel-kdump.*',
|
|
'^kernel-tools.*',
|
|
'^syslog-ng.*',
|
|
'^astronomy-bookmarks',
|
|
'^generic.*',
|
|
'^GConf2-dbus.*',
|
|
'^bluez-gnome',
|
|
#Periods cause problems in paterns, so replace with *s
|
|
'^java-1.8.0-openjdk',
|
|
'^community-mysql.*',
|
|
'^jruby.*',
|
|
'^gimp-help-.*',
|
|
]
|
|
}),
|
|
]
|
|
# format: {arch|*: [packages]}
|
|
multilib_blacklist = {
|
|
'*': ['kernel*', 'kernel-PAE*', 'kernel*debug*',
|
|
'dmraid-devel', 'kdeutils-devel', 'mkinitrd-devel',
|
|
'java-1.5.0-gcj-devel', 'java-1.7.0-icedtea-devel',
|
|
'php-devel', 'java-1.6.0-openjdk-devel',
|
|
'java-1.7.0-openjdk-devel', 'java-1.8.0-openjdk-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'
|
|
],
|
|
}
|
|
createiso_skip = [
|
|
('^Workstation$', {
|
|
'*': True,
|
|
'src': True
|
|
}),
|
|
('^Server$', {
|
|
'src': True
|
|
}),
|
|
('^Cloud$', {
|
|
'*': True,
|
|
'src': True
|
|
}),
|
|
('^Everything$', {
|
|
'*': True,
|
|
'src': True
|
|
}),
|
|
]
|
|
# fomat: [(variant_uid_regex, {arch|*: [scm_dicts]})]
|
|
#extra_files = [
|
|
# ('^(Server|Workstation|Cloud)$', {
|
|
# '*': [
|
|
# {
|
|
# 'scm': 'rpm',
|
|
# 'repo': 'fedora-release-%(variant_id_lower)s',
|
|
# 'branch': None,
|
|
# 'file': [
|
|
# '/etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-release',
|
|
# ],
|
|
# 'target': '',
|
|
# },
|
|
# ],
|
|
# }),
|
|
#]
|
|
# Image name respecting Fedora's image naming policy
|
|
image_name_format = 'Fedora-%(variant)s-%(disc_type)s-%(arch)s-%(version)s-%(date)s.%(respin)s.iso'
|
|
# # Use the same format for volume id
|
|
image_volid_formats = [
|
|
'Fedora-%(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 = {
|
|
'Atomic': 'AH',
|
|
'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/'),
|
|
]
|
|
image_build = {
|
|
'^Docker$': [
|
|
{
|
|
'image-build': {
|
|
'format': [('docker', 'tar.xz')],
|
|
'name': 'Fedora-Docker-Base',
|
|
'target': 'f26',
|
|
'version': '26',
|
|
'release': None,
|
|
# correct SHA1 hash will be put into the URL below automatically
|
|
'ksurl': 'git+https://pagure.io/fedora-kickstarts.git?#origin/f26',
|
|
'kickstart': 'fedora-docker-base.ks',
|
|
'distro': 'Fedora-22',
|
|
'disk_size': 5,
|
|
'arches': ['x86_64', 'armhfp'],
|
|
'install_tree_from': 'http://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/',
|
|
'repo': [
|
|
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
|
|
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/',
|
|
],
|
|
'subvariant': 'Docker_Base'
|
|
},
|
|
'factory-parameters': {
|
|
'dockerversion': "1.10.1",
|
|
'docker_cmd': '[ "/bin/bash" ]',
|
|
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
|
|
'docker_labels': {
|
|
'Name': 'fedora',
|
|
'License': u'MIT',
|
|
'Vendor': 'Fedora Project',
|
|
'Version': '26',
|
|
},
|
|
},
|
|
},
|
|
{
|
|
'image-build': {
|
|
'format': [('docker', 'tar.xz')],
|
|
'name': 'Fedora-Container-Minimal-Base',
|
|
'kickstart': 'fedora-docker-base-minimal.ks',
|
|
'distro': 'Fedora-22',
|
|
'disk_size': 5,
|
|
'arches': ['x86_64', 'armhfp'],
|
|
'install_tree_from': 'Everything',
|
|
'repo': [
|
|
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/updates/26/$arch/',
|
|
'http://kojipkgs.fedoraproject.org/pub/fedora/linux/releases/26/Everything/$arch/os/',
|
|
],
|
|
'subvariant': 'Container_Minimal_Base',
|
|
},
|
|
'factory-parameters': {
|
|
'dockerversion': "1.10.1",
|
|
'docker_cmd': '[ "/bin/bash" ]',
|
|
'docker_env': '[ "DISTTAG=f26container", "FGC=f26" ]',
|
|
'docker_labels': {
|
|
'Name': 'fedora-minimal',
|
|
'License': u'MIT',
|
|
'Vendor': 'Fedora Project',
|
|
'Version': '26',
|
|
},
|
|
},
|
|
}
|
|
],
|
|
}
|
|
koji_profile = 'compose_koji'
|