From 295e5e69316dcbc79e34c1b189cbfe134db1aea8 Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Mon, 9 Dec 2024 08:39:38 -0500 Subject: [PATCH] fix: unpin coreos kernel (#42) * fix: unpine coreos kernel Unpin 6.11.3 for downstream images * fix: comment out instead * fix: whitespace --------- Co-authored-by: Benjamin Sherman --- .github/workflows/reusable-build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index bb09b86..91dd460 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -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.*$')