release_name = "UniontechOS" release_short = "UniontechOS" release_version = '20' cd_name = "UOS_Server_Enterprise_C" iso_version = "B6.01" ##image_name_format = '%(release_short)s-%(version)s-%(arch)s-%(iso_version)s.iso' #image_name_format = '%(release_short)s-%(version)s-%(arch)s.iso' image_volid_formats = [ '%(release_short)s' ] release_is_layered = False ##release_discinfo_description = "disc_numbers"] = ["ALL"] disc_numbers = "ALL" bootable = True comps_file = "comps-BaseOS.x86_64.xml" ##comps_file = "/root/mips-build/all.xml" ##comps_file = "/root/mips-build/comps-AppStream.x86_64.xml" ##bootable = False ###comps_file = { ### 'scm': 'git', ### 'repo': 'https://pagure.io/fedora-comps.git', ### 'branch': 'master', ### 'file': 'comps-rawhide.xml', ### # Merge translations by running make. This command will generate the file. ### 'command': 'make comps-rawhide.xml' ###} ###module_defaults_dir = { ### 'scm': 'git', ### 'repo': 'https://pagure.io/releng/fedora-module-defaults.git', ### 'branch': 'master', ### 'dir': '.' ###} failable_deliverables = [ ('^.*$', { # Buildinstall can fail on any variant and any arch '*': ['buildinstall'], 'src': ['buildinstall'], # # Nothing on i386 blocks the compose 'i386': ['buildinstall', 'iso', 'live'], }) ] comps_filter_environments = False variants_file='variants-Base.xml' ###sigkeys = ['12C944D0'] ###sigkeys = "e903fc09f9a33f82" # limit tree architectures # if undefined, all architectures from variants.xml will be included ##tree_arches = ['x86_64', 'aarch64', 'mips64el'] tree_arches = ['x86_64'] tree_variants = ["BaseOS"] ##tree_variants = ["Server","App"] ##repoclosure_strictness = [ ## # Make repoclosure failures fatal for compose on all variants … ## ('^.*$', {'*': 'fatal'}), ## # … except for Everything where it should not run at all. ## ('^Everything$', {'*': 'off'}) ##] # Put packages into subdirectories hashed by their initial letter. hashed_directories = True # There is a special profile for use with compose. It makes Pungi # authenticate automatically as rel-eng user. koji_profile = 'koji' # RUNROOT settings ##runroot_method = 'koji' ##runroot_method = 'openssh' ##runroot_ssh_hostnames = { ## 'aarch64': "cj-runroot-aarch64" ## 'mips64el': "cj-runroot-mips64el" ## #'x86_64': "cj-runroot-x86_64" ## 'x86_64': "localhost" ##} runroot_method = 'local' runroot = True ##runroot = False runroot_channel = 'compose' runroot_tag = 'cj8p-build' ##kojiuser= 'kojiadmin' ##kojipaswd= 'adminkoji' # PKGSET ##pkgset_source = 'koji' ##pkgset_koji_tag = 'cj8p' ##pkgset_koji_inherit = False pkgset_source = 'repos' pkgset_repos = { #'x86_64' : ["http://10.100.10.4/kojifiles/repos/cj8p-build/latest/x86_64/"], 'x86_64' : ["http://10.100.10.20/Mash/cj8-uelc/x86_64/os/"] 'aarch64' : ["http://10.100.10.20/Mash/cj8-uelc/aarch64/os/"] 'mips64el' : ["http://10.100.10.20/Mash/cj8-uelc/mips64el/os/"] ##'x86_64' : ["file:///root/cj8poct22/cj8p/x86_64/os"] } 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 } } gather_backend = 'dnf' gather_profiler = True check_deps = True require_all_comps_packages = True greedy_method = 'build' ##greedy_method = 'all' repoclosure_backend = 'dnf' # 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_extra_args = ['--zck', '--zck-dict-dir=/usr/share/fedora-repo-zdicts/%s' % pkgset_koji_tag] 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' media_checksum_base_filename = '%(release_short)s-%(version)s-%(arch)s-%(date)s%(type_suffix)s.%(respin)s' ###extra_files = [ ### ('^.*$', { ### '*': [ ### # GPG keys ### { ### "scm": "rpm", ### "repo": "fedora-repos", ### "branch": None, ### "file": [ ### "/etc/pki/rpm-gpg/RPM-GPG-KEY-22-fedora", ### ], ### "target": "", ### }, ### # GPL ### { ### "scm": "git", ### "repo": "https://pagure.io/pungi-fedora", ### "branch": None, ### "file": [ ### "GPL", ### ], ### "target": "", ### }, ### ], ### }), ###] ###] extra_files = [ ('^.*$', { 'x86_64': [ # App { "scm": "file", "dir": "/JC/cj8/latest-UOS-App/compose/AppStream/x86_64/os", ##"target": "", }, #productinfo { "scm": "rpm", "repo": "uos-release", "branch": None, "file": [ "/etc/.productinfo", ], "target": "", }, ], 'aarch64': [ # App { "scm": "file", "dir": "cj8/latest-UOS-App/compose/AppStream/aarch64/os" }, #productinfo { "scm": "rpm", "repo": "uos-release", "branch": None, "file": [ "/etc/.productinfo", ], "target": "", }, ], 'mips64el': [ # App { "scm": "file", ##"dir": "/JC/cj8/latest-UOS_app-V8/compose/AppStream/x86_64/os" "dir": "cj8/latest-UOS-App/compose/AppStream/mips64el/os" ##"file": "/root/CJ8-JC_config/.productinfo" ##"target": "", }, #productinfo { "scm": "rpm", "repo": "uos-release", "branch": None, "file": [ "/etc/.productinfo", ], "target": "", }, ], }), ] # CREATEISO iso_hfs_ppc64le_compatible = False create_jigdo = False # BUILDINSTALL buildinstall_method = 'lorax' buildinstall_skip = [ # No installer for Modular variant ('^Modular$', {'*': True}), # No 32 bit installer for Everything. ('^Everything$', {'i386': True}), ('^App$', {'*': True}), ] # Enables macboot on x86_64 for all variants and disables upgrade image building # everywhere. lorax_options = [ ('^.*$', { 'x86_64': { ##'nomacboot': False 'nomacboot': True }, # 'ppc64le': { # Use 3GB image size for ppc64le. # 'rootfs_size': 3 # }, '*': { 'noupgrade': True } }) ] additional_packages = [ ('^(BaseOS|Everything)$', { '*': [ # Add all architectures of dracut package. 'dracut.*', # All all packages matching this pattern 'autocorr-*', ##'grub2-*', ##'python3-blivet', ], 'mips64el': [ # Add all architectures of dracut package. 'metacity*', 'libvorbis*', 'grub2-*', 'efibootmgr*', 'gstreamer1-plugins-base*', ], }), ('^Everything$', { # Everything should include all packages from the tag. This only # applies to the native arch. Multilib will still be pulled in # according to multilib rules. '*': ['*'], }), ] filter_packages = [ ("^.*$", {"*": ["glibc32", "libgcc32"]}), ('(BaseOS)$', { '*': [ 'kernel*debug*', 'kernel-kdump*', 'uos-release*', ] 'x86_64': [ 'zsh*', ] 'aarch64': [ 'intel-cmt-cat*', ] 'mips64el': [ 'intel-cmt-cat*', ###'libtirpc-devel*', ###'rusers*', ###'rusers-server*', ###'numactl*', ###'numactl-devel*', ###'numactl-libs*', ] }), ] multilib = [ ('^Everything$', { 'x86_64': ['devel', 'runtime'], }) ] # These packages should never be multilib on any arch. multilib_blacklist = { '*': [ 'kernel', 'kernel-PAE*', 'kernel*debug*', 'java-*', 'php*', 'mod_*', 'ghc-*' ], } # These should be multilib even if they don't match the rules defined above. multilib_whitelist = { '*': ['wine', '*-static'], } createiso_skip = [ # Keep binary ISOs for Server, but not source ones. ('^BaseOS$', {'src': True}), # Remove all other ISOs. ('^Everything$', {'*': True, 'src': True}), ('^Modular$', {'*': True, 'src': True}), ('^App$', {'*': 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' #] # Used by Pungi to replace 'Cloud' with 'C' (etc.) in ISO volume IDs. # There is a hard 32-character limit on ISO volume IDs, so we use # these to try and produce short enough but legible IDs. Note this is # duplicated in Koji for live images, as livemedia-creator does not # allow Pungi to tell it what volume ID to use. Note: # https://fedoraproject.org/wiki/User:Adamwill/Draft_fedora_image_naming_policy volume_id_substitutions = { 'Beta': 'B', 'Rawhide': 'rawh', 'Silverblue': 'SB', 'Cinnamon': 'Cinn', 'Cloud': 'C', 'Design_suite': 'Dsgn', 'Electronic_Lab': 'Elec', 'Everything': 'E', 'Scientific_KDE': 'SciK', 'Security': 'Sec', 'Server': 'S', 'Workstation': 'WS', } disc_types = { 'boot': 'netinst', ## 'live': 'Live', #### 'dvd' : 'DVD' } ##translate_paths = [ ## ('/mnt/koji/compose/', 'https://kojipkgs.fedoraproject.org/compose/'), ##] # These will be inherited by live_media, live_images and image_build ##global_ksurl = 'git+https://pagure.io/fedora-kickstarts.git?#HEAD' ##global_ksurl = '/root/mips-build/base.ks' ##global_release = '!RELEASE_FROM_LABEL_DATE_TYPE_RESPIN' ##global_version = 'Rawhide' ### live_images ignores this in favor of live_target ##global_target = 'cj8p' ###image_build = { ### '^Container$': [ ### { ### 'image-build': { ### 'format': [('docker', 'tar.xz')], ### 'name': 'Fedora-Container-Base', ### 'kickstart': 'fedora-container-base.ks', ### 'distro': 'Fedora-22', ### 'disk_size': 5, ### ###'arches': ['armhfp', 'aarch64', 'ppc64le', 's390x', 'x86_64'], ### 'arches': ['aarch64', 'mips64el', 'x86_64'], ### 'repo': 'Everything', ### 'install_tree_from': 'Everything', ### 'subvariant': 'Container_Base', ### 'failable': ['*'], ### }, ### 'factory-parameters': { ### 'dockerversion': "1.10.1", ### 'docker_cmd': '[ "/bin/bash" ]', ### 'docker_env': '[ "DISTTAG=f32container", "FGC=f32", "container=oci" ]', ### 'docker_label': '{ "name": "fedora", "license": "MIT", "vendor": "Fedora Project", "version": "32"}', ### }, ### }, ### ], ###} ###live_media = { ### '^Workstation$': [ ### { ### 'name': 'Fedora-Workstation-Live', ### 'kickstart': 'fedora-live-workstation.ks', ### # Variants.xml also contains aarch64 and armhfp, but there ### # should be no live media for those arches. ### ##'arches': ['x86_64', 'ppc64le'], ### 'arches': ['x86_64', 'aarch64'], ### 'failable': ['ppc64le'], ### # Take packages and install tree from Everything repo. ### 'repo': 'Everything', ### 'install_tree_from': 'Everything', ### } ### ], ## '^Spins': [ ## # There are multiple media for Spins variant. They use subvariant ## # field so that they can be identified in the metadata. ## { ## 'name': 'Fedora-KDE-Live', ## 'kickstart': 'fedora-live-kde.ks', ## 'arches': ['x86_64'], ## 'repo': 'Everything', ## 'install_tree_from': 'Everything', ## 'subvariant': 'KDE' ## ## }, ## { ## 'name': 'Fedora-Xfce-Live', ## 'kickstart': 'fedora-live-xfce.ks', ## 'arches': ['x86_64'], ## 'failable': ['*'], ## 'repo': 'Everything', ## 'install_tree_from': 'Everything', ## 'subvariant': 'Xfce' ## }, ## ], #} failable_deliverables = [ # Installer and ISOs for server failing do not abort the compose. ('^BaseOS$', { '*': ['buildinstall', 'iso'], }), ('^.*$', { # Buildinstall is not blocking 'src': ['buildinstall'], # Nothing on i386, ppc64le blocks the compose 'i386': ['buildinstall', 'iso'], ##'ppc64le': ['buildinstall', 'iso'], ##'s390x': ['buildinstall', 'iso'], }) ] ##live_target = 'cj8p' ##live_images_no_rename = True ##live_images = [ ## ('^Workstation$', { ## 'armhfp': { ## 'kickstart': 'fedora-arm-workstation.ks', ## 'name': 'Fedora-Workstation-armhfp', ## # Again workstation takes packages from Everything. ## 'repo': 'Everything', ## 'type': 'appliance', ## 'failable': True, ## } ## }), ## ('^Server$', { ## # But Server has its own repo. ## 'armhfp': { ## 'kickstart': 'fedora-arm-server.ks', ## 'name': 'Fedora-Server-armhfp', ## 'type': 'appliance', ## 'failable': True, ## } ## }), ##] ###ostree = { ### "^Silverblue$": { ### "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", ### # To get config, clone master branch from this repo and take ### # treefile from there. ### "treefile": "fedora-silverblue.yaml", ### "config_url": "https://pagure.io/workstation-ostree-config.git", ### "config_branch": "master", ### # Consume packages from Everything ### "repo": "Everything", ### # Don't create a reference in the ostree repo (signing automation does that). ### "tag_ref": False, ### # Don't use change detection in ostree. ### "force_new_commit": True, ### # This is the location for the repo where new commit will be ### # created. Note that this is outside of the compose dir. ### "ostree_repo": "/mnt/koji/compose/ostree/repo/", ### "ostree_ref": "fedora/rawhide/${basearch}/silverblue", ### "arches": ["x86_64", "ppc64le", "aarch64"], ### "failable": ['*'], ### } ###} ### ###ostree_installer = [ ### ("^Silverblue$", { ### "x86_64": { ### "repo": "Everything", ### "release": None, ### "rootfs_size": "8", ### # Take templates from this repository. ### 'template_repo': 'https://pagure.io/fedora-lorax-templates.git', ### 'template_branch': 'master', ### # Use following templates. ### "add_template": ["ostree-based-installer/lorax-configure-repo.tmpl", ### "ostree-based-installer/lorax-embed-repo.tmpl", ### "ostree-based-installer/lorax-embed-flatpaks.tmpl"], ### # And add these variables for the templates. ### "add_template_var": [ ### "ostree_install_repo=https://kojipkgs.fedoraproject.org/compose/ostree/repo/", ### "ostree_update_repo=https://ostree.fedoraproject.org", ### "ostree_osname=fedora", ### "ostree_oskey=fedora-32-primary", ### "ostree_contenturl=mirrorlist=https://ostree.fedoraproject.org/mirrorlist", ### "ostree_install_ref=fedora/rawhide/x86_64/silverblue", ### "ostree_update_ref=fedora/rawhide/x86_64/silverblue", ### "flatpak_remote_name=fedora", ### "flatpak_remote_url=oci+https://registry.fedoraproject.org", ### "flatpak_remote_refs=runtime/org.fedoraproject.Platform/x86_64/f30 app/org.gnome.Baobab/x86_64/stable", ### ], ### 'failable': ['*'], ### }, ### }) ###] ### ###extra_isos = { ### 'Server': [{ ### # Will generate foo-DP-1.0-20180510.t.43-Server-x86_64-dvd1.iso ### 'filename': 'app', ### ##'volid': 'foo-{arch}', ### 'volid': 'app', ### ### 'extra_files': [{ ### ### 'scm': 'git', ### ### 'repo': 'https://pagure.io/pungi.git', ### ### 'file': 'setup.py' ### ### }], ### 'include_variants': [ ### 'App' ### ### ### ] ### 'skip_src': True ### }] ###}