Skip to content

Commit

Permalink
fix: unpin coreos kernel (#42)
Browse files Browse the repository at this point in the history
* fix: unpine coreos kernel

Unpin 6.11.3 for downstream images

* fix: comment out instead

* fix: whitespace

---------

Co-authored-by: Benjamin Sherman <[email protected]>
  • Loading branch information
castrojo and bsherman authored Dec 9, 2024
1 parent 9638ec7 commit 295e5e6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,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
# Pin a kernel here, gross workaround TODO: Make this cleaner
# 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 295e5e6

Please sign in to comment.