Read-only pull mirror of github.com/coreos/fedora-coreos-config. Aurora's build fetches coreos-sulogin-force-generator from here.
Find a file
Dusty Mabe 2882900055 drop fedora-bootc submodule
We're now completely moved over to building via container [1], which
means that we are no longer using the git submodule for manifest
definitions for bootc but rather the manifests delivered with the
build container. Thus we are always "deriving: true" and we can delete
any config that was for the "deriving: false" condition.

[1] https://github.com/coreos/fedora-coreos-tracker/issues/1969
2025-12-12 10:13:55 -05:00
.github/workflows drop fedora-bootc submodule 2025-12-12 10:13:55 -05:00
.tekton lockfiles: bump to latest 2025-12-12 12:33:26 +00:00
ci ci/overrides.py: update rpms lockfile when pinning 2025-12-04 14:27:13 +01:00
live live: update readme with more accurate comment 2024-12-13 17:54:37 -05:00
manifests drop fedora-bootc submodule 2025-12-12 10:13:55 -05:00
overlay.d overlay.d: drop the 25azure-udev-rules overlay 2025-12-05 11:06:38 -05:00
tests tests/upgrade: fix typo in rebase command 2025-12-09 12:25:24 -05:00
.cci.jenkinsfile .cci.jenkinsfile: drop downloading ostree for previous build 2025-10-03 16:34:37 -04:00
.containerignore .containerignore: add bootc-base-imagectl, rpm-ostree 2025-11-07 08:08:38 -05:00
.gitleaks.toml tests/kola: add test for custom SSH host key with mode 640 2023-03-09 15:59:46 -05:00
.gitmodules drop fedora-bootc submodule 2025-12-12 10:13:55 -05:00
build-args.conf lockfiles: bump to latest 2025-12-04 18:18:10 +00:00
build-rootfs build-rootfs: handle syntax warning 2025-11-26 08:07:34 -05:00
buildroot-prep buildroot-prep: stop pinning rpm-ostree no f43+ 2025-09-19 16:35:59 -04:00
Containerfile Containerfile: add generic com.coreos.stream label 2025-11-14 10:17:44 +01:00
COPYING Initial commit 2018-08-20 20:18:53 -04:00
fedora-archive.repo tree: move repo files to use GPG keys in /etc/pki/rpm-gpg 2025-08-06 22:51:19 -04:00
fedora-candidate-compose.repo tree: move repo files to use GPG keys in /etc/pki/rpm-gpg 2025-08-06 22:51:19 -04:00
fedora-coreos-continuous.repo buildroot-prep: various enhancements 2025-08-28 17:35:49 -04:00
fedora-coreos-pool.repo fedora-coreos-pool.repo: make repo name consistent 2025-08-27 19:11:44 -04:00
fedora-next.repo tree: move repo files to use GPG keys in /etc/pki/rpm-gpg 2025-08-06 22:51:19 -04:00
fedora-rawhide.repo Remove the fedora-rawhide-nodebug-kernel repo from fedora-rawhide.repo 2023-03-23 14:03:21 -04:00
fedora-riscv-koji.repo manifest: add and use fedora-riscv-koji repo 2025-08-06 10:43:34 -04:00
fedora-riscv-staging.repo fedora-riscv.repo: update to point to Fedora's riscv koji 2025-08-06 10:43:34 -04:00
fedora-riscv.repo fedora-riscv.repo: update to point to Fedora's riscv koji 2025-08-06 10:43:34 -04:00
fedora.repo tree: move repo files to use GPG keys in /etc/pki/rpm-gpg 2025-08-06 22:51:19 -04:00
image-base.yaml image-base: use -Efragments for erofs creation 2025-11-12 22:02:16 -05:00
image-default.yaml image-base,image-default: drop references to deploy-via-container 2025-07-30 02:12:44 -04:00
image.yaml Move to Fedora Linux 39 2023-11-07 22:43:00 -05:00
kola-denylist.yaml denylist: drop denial for coreos.unique.boot.failure 2025-11-17 16:40:30 -05:00
LICENSE Initial commit 2018-08-20 20:18:53 -04:00
manifest-lock.aarch64.json lockfiles: bump to latest 2025-12-12 12:33:26 +00:00
manifest-lock.overrides.yaml lockfiles: drop graduated overrides 🎓 2025-11-10 15:22:10 -05:00
manifest-lock.ppc64le.json lockfiles: bump to latest 2025-12-12 12:33:26 +00:00
manifest-lock.s390x.json lockfiles: bump to latest 2025-12-12 12:33:26 +00:00
manifest-lock.x86_64.json lockfiles: bump to latest 2025-12-12 12:33:26 +00:00
manifest.yaml Move to Fedora 43 2025-10-28 21:29:04 -04:00
platforms.yaml platforms: add console support for Oracle Cloud Infrastructure 2025-06-26 16:37:21 -04:00
README.md kola: Update kola tests to use new YAML format for kola options 2022-12-17 02:31:58 +05:30
renovate.json konflux/renovate: disable lockfile maintenance 2025-09-30 09:28:49 +02:00
rpms.lock.yaml lockfiles: bump to latest 2025-12-12 12:33:26 +00:00
versionary versionary: pull Y from the arch-matching lockfile 2025-11-13 10:10:03 +01:00

Fedora CoreOS Config

next-devel status

Base manifest configuration for Fedora CoreOS.

Use https://github.com/coreos/coreos-assembler to build it.

Discussions in https://discussion.fedoraproject.org/c/server/coreos. Bug tracking and feature requests at https://github.com/coreos/fedora-coreos-tracker.

About this repo

There is one branch for each stream. The default branch is testing-devel, on which all development happens. See the design and tooling docs for more information about streams.

All file changes in testing-devel are propagated to other branches (to next-devel, branched, and rawhide through config-bot, and to testing and eventually stable through usual promotion), with the following exceptions:

  • manifest.yaml: contains the stream's name, yum repos used during composes, and the releasever.
  • lockfiles (manifest-lock.* files): on testing-devel and next-devel, lockfiles are pushed by the bump-lockfile job. Production streams receive them as part of usual promotion. Overrides (manifest-lock.overrides.*) are managed independently with the help of some GitHub Actions (see sections below).

Layout

We intend for Fedora CoreOS to be used directly for a wide variety of use cases. However, we also want to support "custom" derivatives such as Fedora Silverblue, etc. Hence the configuration in this repository is split up into reusable "layers" and components on the rpm-ostree side.

To derive from this repository, the recommendation is to add it as a git submodule. Then create your own manifest.yaml which does include: fedora-coreos-config/ignition-and-ostree.yaml for example. You will also want to create an overlay.d and symlink in components in this repository's overlay.d.

Overriding packages

By default, all packages for FCOS come from the stable Fedora repos. However, it is sometimes necessary to either hold back some packages, or pull in fixes ahead of Bodhi. To add such overrides, one needs to add the packages to manifest-lock.overrides.yaml (there are also arch-specific variants of these files for the rare occasions the override should only apply to a specific arch). There is a tool to help with this, and for simple cases, an automated workflow that runs the tool and submits a PR.

Note that comments are not preserved in these files. The lockfile supports arbitrary keys under the metadata key to carry information. Some keys are semantically meaningful to humans or other tools.

Fast-tracking

Example:

packages:
  selinux-policy:
    evra: 34.10-1.fc34.noarch
    metadata:
      type: fast-track
      bodhi: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f014ca8326
      reason: https://github.com/coreos/fedora-coreos-tracker/issues/850
  selinux-policy-targeted:
    evra: 34.10-1.fc34.noarch
    metadata:
      type: fast-track
      # you don't have to repeat the other keys for related packages

Whenever possible, it is important that the package be submitted as an update to Bodhi so that we don't have to carry the override for a long time.

Fast-tracked packages will automatically be removed by the remove-graduated-overrides GitHub Action in this repo once they reach the stable Fedora repos (or newer versions). They are detected by the type: fast-track key.

Pinning

Example:

packages:
  dracut:
      evr: 053-5.fc34
      metadata:
        type: pin
        reason: https://github.com/coreos/fedora-coreos-tracker/issues/842
  dracut-network:
      evr: 053-5.fc34
      metadata:
        type: pin
        reason: https://github.com/coreos/fedora-coreos-tracker/issues/842

All pinned packages must have a reason key containing more information about why the pin is necessary.

Once an override PR is merged, coreos-koji-tagger will automatically tag overridden packages into the pool.

Adding packages to the OS

Since testing-devel is directly promoted to testing, it must always be in a known state. The way we enforce this is by requiring all packages to have a corresponding entry in the lockfile.

Therefore, to add new packages to the OS, one must also add the corresponding entries in the lockfiles:

  • for packages which should follow Bodhi updates, place them in manifest-lock.$basearch.json
  • for packages which should remain pinned, place them in manifest-lock.overrides.$basearch.yaml

There will be better tooling to come to enable this, though one easy way to do this is for now:

  • add packages to the correct YAML manifest
  • run cosa fetch --update-lockfile (this will only update the lockfile for the current architecture, most likely x86_64)
  • copy the new lines to the lockfiles for other architectures (i.e. aarch64)
  • commit only the new package entries (skip the timestamped changes to avoid merge conflicts with the lockfile updates made by the bot)

Moving to a new major version (N) of Fedora

Create a rebase checklist in fedora-coreos-tracker.

CoreOS CI

Pull requests submitted to this repo are tested by CoreOS CI. You can see the pipeline executed in .cci.jenkinsfile. For more information, including interacting with CI, see the CoreOS CI documentation.

Tests layout

Tests should follow the following format:

#!/bin/bash
## kola:
##   exclusive: false
##   platforms: aws gcp
##   # See all options in https://coreos.github.io/coreos-assembler/kola/external-tests/#kolajson
#
# Short summary of what the test does, why we need it, etc.
#
# Recommended: Link to corresponding issue or PR
#
# Explain the reasons behind all the kola options:
# - distros: fcos
#   - This test only runs on FCOS due to ...
# - platforms: qemu
#   - This test should ...
# - etc.

set -euxo pipefail

. $KOLA_EXT_DATA/commonlib.sh

foo_bar() <-- Other function definitions

if ...    <-- Actual test code
          <-- Errors must be raised with `fatal()`
          <-- Does not need to end with a call to `ok()`