Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Add new c9s-rt variant
Browse files Browse the repository at this point in the history
I think having an image with RT enabled out of the box just makes
sense.
  • Loading branch information
cgwalters committed Mar 4, 2023
1 parent 62f71b1 commit 68afb07
Show file tree
Hide file tree
Showing 8 changed files with 45 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["fedora", "c9s"]
os: ["fedora", "c9s", "c9s-rt"]
container:
# Yes, we're using this as a *builder* image.
image: quay.io/fedora/fedora-coreos:stable
Expand Down
20 changes: 20 additions & 0 deletions c9s-base.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
releasever: stream9

repos:
- baseos
- appstream
- coreos-continuous-c9s
- bootc-c9s

metadata:
name: c9s-oscore
summary: CentOS 9 OSCore

repo-packages:
- repo: bootc-c9s
packages:
- bootc

include:
- oscore/manifest.yaml

3 changes: 3 additions & 0 deletions c9s-rt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
include:
- c9s-base.yaml
- oscore/kernel-rt.yaml
21 changes: 3 additions & 18 deletions c9s.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
releasever: stream9

repos:
- baseos
- appstream
- coreos-continuous-c9s
- bootc-c9s

metadata:
name: c9s-oscore
summary: CentOS 9 OSCore

repo-packages:
- repo: bootc-c9s
packages:
- bootc

include:
- oscore/manifest.yaml
- c9s-base.yaml
- oscore/kernel.yaml

1 change: 1 addition & 0 deletions fedora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ metadata:

include:
- oscore/manifest.yaml
- oscore/kernel.yaml

repo-packages:
- repo: bootc-fedora
Expand Down
2 changes: 1 addition & 1 deletion oscore/bootc.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# A relatively minimal base, but we also do include linux-firmware so
# we can be directly booted on metal.
packages:
- kernel systemd
- systemd
# linux-firmware now a recommends so let's explicitly include it
# https://gitlab.com/cki-project/kernel-ark/-/commit/32271d0cd9bd52d386eb35497c4876a8f041f70b
# https://src.fedoraproject.org/rpms/kernel/c/f55c3e9ed8605ff28cb9a922efbab1055947e213?branch=rawhide
Expand Down
10 changes: 10 additions & 0 deletions oscore/kernel-rt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- rt
- nfv

# Enable the "realtime" AKA soft-realtime AKA latency-optimized kernel.
packages:
- kernel-rt-core kernel-rt-modules kernel-rt-modules-extra kernel-rt-kvm

exclude-packages:
- kernel-rt-debug-core
6 changes: 6 additions & 0 deletions oscore/kernel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Enable the Linux kernel; see also kernel-rt.
packages:
- kernel

exclude-packages:
- kernel-debug

0 comments on commit 68afb07

Please sign in to comment.