mirror of
https://github.com/ps5-linux/ps5-linux-patches.git
synced 2026-07-15 21:42:27 +00:00
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 <you@example.com>
This commit is contained in:
9
.github/workflows/build-kernel.yml
vendored
9
.github/workflows/build-kernel.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user