From 935dc3e3226e85b880edf47a156988d3a0c249ee Mon Sep 17 00:00:00 2001 From: mia26MAjFm Date: Sat, 4 Jul 2026 12:27:59 -0400 Subject: [PATCH] build-kernel: run --distro fedora after --distro all so .rpm ships (#23) * build-kernel: release .rpm alongside .deb + .pkg.tar.zst Now that ps5-linux-image's --distro all also produces an .rpm (paired image PR), pick it up in the artifact upload, checksum list and release files: block. Also add rpm as an explicit format choice so someone can dispatch an rpm-only kernel build. The sha256sum pipeline gets a 2>/dev/null so it doesn't complain when an older ps5-linux-image checkout is used that only writes deb + pkg.tar.zst. * test: run on ubuntu-latest, point at paired ps5-linux-image branch, skip release on fork * build-kernel: run --distro fedora after --distro all so .rpm ships --------- Co-authored-by: Your Name --- .github/workflows/build-kernel.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build-kernel.yml b/.github/workflows/build-kernel.yml index 0fc0cb2..8277665 100644 --- a/.github/workflows/build-kernel.yml +++ b/.github/workflows/build-kernel.yml @@ -43,6 +43,15 @@ jobs: bash image/build_image.sh --kernel-only \ --distro "$FORMAT" \ --patches-ref "$PATCHES_REF" + # build_image.sh's --distro all skips the rpm packager. Run the rpm + # branch explicitly so the release ships .rpm alongside .deb/.pkg.tar.zst. + # ccache holds the kernel objects — this second call only re-runs + # the rpm packaging step. + if [ "$FORMAT" = "all" ]; then + bash image/build_image.sh --kernel-only \ + --distro fedora \ + --patches-ref "$PATCHES_REF" + fi - name: Read kernel and patches version id: version