Skip to content

Commit 960c1fd

Browse files
riteshharjanimpe
authored andcommitted
powerpc/ci: Fix boot issues with corenet32_smp_defconfig for e500mc
We only have fedora image specified for kernel build for corenet32_smp_defconfig. So remove the old-image korg-8.1.0 from the boot matrix. Also add conditional checks to see if old-image is actually available for doing download artifact & boot steps. Signed-off-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
1 parent 39d57ad commit 960c1fd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/powerpc-kernel+qemu.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ jobs:
159159
machine: e500mc
160160
packages: qemu-system-ppc openbios-ppc
161161
rootfs: ppc-rootfs.cpio.gz
162-
old-image: korg-8.1.0
163162
new-image: fedora-42
164163

165164
- defconfig: g5_defconfig
@@ -211,10 +210,12 @@ jobs:
211210
- uses: actions/download-artifact@v4
212211
with:
213212
name: ${{ matrix.defconfig }}-${{ matrix.old-image }}
213+
if: matrix.old-image != ''
214214

215215
- name: Run qemu-${{ matrix.machine }} with ${{ matrix.old-image }} build kernel
216216
run: ./scripts/boot/qemu-${{ matrix.machine }}
217+
if: matrix.old-image != ''
217218

218219
- name: Run qemu-${{ matrix.machine_2 }} with ${{ matrix.old-image }} build kernel
219220
run: ./scripts/boot/qemu-${{ matrix.machine_2 }}
220-
if: matrix.machine_2 != ''
221+
if: matrix.machine_2 != '' && matrix.old-image != ''

0 commit comments

Comments
 (0)