pungi-fedora/fedora.conf
Dennis Gilmore 695d8c387d update the image building to match new syntax
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-01-11 09:47:23 -06:00

289 lines
6.5 KiB
Plaintext

# PRODUCT INFO
release_name = "Fedora"
release_short = "Fedora"
release_version = "24"
release_is_layered = False
# GENERAL SETTINGS
bootable = True
comps_file = "comps-f24.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 = ["81B46521", "030D5AED", None] # None = unsigned
# limit tree architectures
# if undefined, all architectures from variants.xml will be included
tree_arches = ['i386', 'x86_64', 'armhfp']
# limit tree variants
# if undefined, all variants from variants.xml will be included
#tree_variants = ["Server"]
multilib_arches = []
multilib_methods = ["devel",] # devel (recommended), all, base, file, kernel, none, runtime (recommended)
hashed_directories = True
# RUNROOT settings
runroot = True
#runroot_channel = "fedora_compose"
runroot_channel = "compose"
runroot_tag = "f24-build"
# PKGSET
pkgset_source = "koji" # koji, repos
# PKGSET - REPOS
# pkgset_repos format: {arch: [repo1_url, repo2_url, ...]}
# pkgset_repos = {}
# PKGSET - KOJI
pkgset_koji_path_prefix = "/mnt/koji/"
pkgset_koji_url = "http://koji.fedoraproject.org/kojihub"
pkgset_koji_tag = "f24"
pkgset_koji_inherit = 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"
link_files = "hardlink-or-copy"
notification_script = "/usr/bin/pungi-fedmsg-notification"
# CREATEREPO
createrepo_c = True
createrepo_checksum = "sha256"
# CHECKSUMS
media_checksums = ["sha256"]
media_checksum_one_file = True
media_checksum_base_filename = "%(release_short)s-%(variant)s-%(version)s-%(date)s%(type_suffix)s.%(respin)s"
#jigdo
create_jigdo = False
# 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
}
})
]
#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$', {
'*': [
],
}),
]
filter_packages = [
('^.*', {
'*': [
'^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 = {
"*": [
],
}
# format: {arch|*: [packages]}
multilib_whitelist = {
}
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 = "%(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-%(date)s%(type_suffix)s.%(respin)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 = {
'MATE_Compiz': 'MATE',
'Security': 'Sec',
'Electronic_Lab': 'Elec',
'Robotics': 'Robo',
'Scientific_KDE': 'SciK',
'Design_suite': 'Dsgn',
'Games': 'Game',
'Jam_KDE': 'Jam',
'Workstation': 'WS',
'Server': 'S',
'Cloud': 'C',
'Alpha': 'A',
'Beta': 'B',
'TC': 'T',
}
translate_paths = [
("/mnt/koji/compose/", "http://kojipkgs.fedoraproject.org/compose/"),
]
image_build = [
'^Cloud$': [
{
'format': [('docker', 'tar.xz')]
'name': 'Fedora-Docker-Base',
'target': 'f24',
'version': 'Rawhide',
# correct SHA1 hash will be put into the URL below automatically
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'kickstart': "fedora-docker-base.ks",
'distro': 'Fedora-20',
'diisk_size': 3,
'arches': ['x86_64', 'i386']
},
{
'format': [('qcow2','qcow2'), ('raw-xz','raw.xz')]
'name': 'Fedora-Cloud-Base',
'target': 'f24',
'version': 'Rawhide',
'ksurl': 'git://git.fedorahosted.org/git/spin-kickstarts.git?#HEAD',
'kickstart': "fedora-cloud-base.ks",
'distro': 'Fedora-20',
'disk_size': 3,
'arches': ['x86_64', 'i386']
}
],
]
# fomat: [(variant_uid_regex, {arch|*: scm_dict})]
#live_images = [
# ('^Workstation$', {
# "x86_64": "fedora-live-workstation.ks",
# }),
#]
release_id_allow_missing = True
koji_profile = "koji"