Skip to content

Commit

Permalink
feat: enable coreos-stable on F41 (#39)
Browse files Browse the repository at this point in the history
* feat: enable coreos-stable on F41

* pin a working coreos-stable kernel

* Update reusable-build.yml

---------

Co-authored-by: Benjamin Sherman <[email protected]>
  • Loading branch information
m2Giles and bsherman authored Nov 12, 2024
1 parent 92bab35 commit 89d9c6c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
exclude:
- fedora_version: 39
kernel_flavor: asus
- fedora_version: 39
kernel_flavor: coreos-stable
- fedora_version: 39
kernel_flavor: coreos-testing
- fedora_version: 39
Expand All @@ -58,8 +60,6 @@ jobs:
kernel_flavor: bazzite
- fedora_version: 40
kernel_flavor: bazzite
- fedora_version: 41
kernel_flavor: coreos-stable
- fedora_version: 40
kernel_flavor: coreos-testing
- fedora_version: 41
Expand Down Expand Up @@ -97,6 +97,10 @@ jobs:
coreos_kernel () {
coreos_version=${1}
image_linux=$(skopeo inspect docker://quay.io/fedora/fedora-coreos:${coreos_version} | jq -r '.Labels["ostree.linux"]')
# Gross Pin... But workaround coreos-stable being on a broken kernel...
if [[ "${{ matrix.kernel_flavor }}" == "coreos-stable" ]]; then
image_linux="6.11.3-300.fc41.x86_64"
fi
major_minor_patch=$(echo $image_linux | grep -oP '^\d+\.\d+\.\d+')
kernel_rel_part=$(echo $image_linux | grep -oP '^\d+\.\d+\.\d+\-\K([123][0]{2})')
arch=$(echo $image_linux | grep -oP 'fc\d+\.\K.*$')
Expand Down

0 comments on commit 89d9c6c

Please sign in to comment.