From ffdf802fb7f89b64e88f13e2e97921f35be5c5f1 Mon Sep 17 00:00:00 2001 From: "Ritesh Harjani (IBM)" Date: Mon, 17 Nov 2025 13:47:33 +0530 Subject: [PATCH] powerpc/ci: Fix boot issues with corenet32_smp_defconfig for e500mc We only have fedora-40 image specified for kernel build for corenet32_smp_defconfig. So let's remove the old-image korg-8.1.0 from the boot matrix. Let's also add conditional checks to see if old-image is actually available for doing download artifact & boot steps. Signed-off-by: Ritesh Harjani (IBM) --- .github/workflows/powerpc-kernel+qemu.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/powerpc-kernel+qemu.yml b/.github/workflows/powerpc-kernel+qemu.yml index 43bc8bb911963..216f6d2c62e34 100644 --- a/.github/workflows/powerpc-kernel+qemu.yml +++ b/.github/workflows/powerpc-kernel+qemu.yml @@ -159,7 +159,6 @@ jobs: machine: e500mc packages: qemu-system-ppc openbios-ppc rootfs: ppc-rootfs.cpio.gz - old-image: korg-8.1.0 new-image: fedora-40 - defconfig: g5_defconfig @@ -211,10 +210,12 @@ jobs: - uses: actions/download-artifact@v4 with: name: ${{ matrix.defconfig }}-${{ matrix.old-image }} + if: matrix.old-image != '' - name: Run qemu-${{ matrix.machine }} with ${{ matrix.old-image }} build kernel run: ./scripts/boot/qemu-${{ matrix.machine }} + if: matrix.old-image != '' - name: Run qemu-${{ matrix.machine_2 }} with ${{ matrix.old-image }} build kernel run: ./scripts/boot/qemu-${{ matrix.machine_2 }} - if: matrix.machine_2 != '' + if: matrix.machine_2 != '' && matrix.old-image != ''