From 66682d19f5dca96822bf45bd7b718a36d834288d Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 18 Aug 2024 19:48:11 -0700 Subject: [PATCH 1/4] chore: Temporarily fix SDL2 dependency issue --- Containerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Containerfile b/Containerfile index a12bc929..16f42892 100644 --- a/Containerfile +++ b/Containerfile @@ -159,6 +159,9 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ --from repo=updates \ libv4l \ || true && \ + rpm-ostree install \ + https://kojipkgs.fedoraproject.org//packages/SDL2/2.30.3/1.fc40/i686/SDL2-2.30.3-1.fc40.i686.rpm \ + || true && \ rpm-ostree override remove \ glibc32 \ || true && \ From fa833ce72f24f1fdb133c1b881d2a082b6cfbd96 Mon Sep 17 00:00:00 2001 From: Antheas Kapenekakis Date: Mon, 19 Aug 2024 04:49:45 +0200 Subject: [PATCH 2/4] chore(rechunk): always use stable tag (#1515) --- .github/workflows/build.yml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5672ba93..27b9d844 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -233,6 +233,22 @@ jobs: sudo podman image rm ${{ env.IMAGE_REGISTRY }}/akmods:${{ matrix.kernel_flavor}}-${{ matrix.fedora_version }} sudo podman image rm ${{ env.IMAGE_REGISTRY }}/akmods-nvidia:${{ matrix.kernel_flavor}}-${{ matrix.fedora_version }} + # Generate the previous image reference used by the Rechunker + - name: Generate previous reference + id: generate-prev-ref + shell: bash + run: | + if [ "${{ github.event.inputs.fresh-rechunk }}" == "true" ]; then + IMAGEREF="" + else + IMAGEREF="${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:stable" + fi + + echo "ref=${IMAGEREF}" >> $GITHUB_OUTPUT + + echo "Generated the following:" + cat $GITHUB_OUTPUT + # Reprocess raw-img using rechunker which will delete it - name: Run Rechunker id: rechunk @@ -240,7 +256,7 @@ jobs: with: rechunk: 'ghcr.io/hhd-dev/rechunk:v0.8.3' ref: 'raw-img' - prev-ref: ${{ github.event.inputs.fresh-rechunk == 'true' && '' || "${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:stable" }} + prev-ref: '${{ steps.generate-prev-ref.outputs.ref }}' version: '${{ steps.generate-version.outputs.tag }}' labels: | io.artifacthub.package.logo-url=https://raw.githubusercontent.com/ublue-os/bazzite/main/repo_content/logo.png From e9c6316d3a5f1dae568168bd8985a8fdf097a421 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 18 Aug 2024 20:06:33 -0700 Subject: [PATCH 3/4] chore: Move to Steam section --- Containerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Containerfile b/Containerfile index 16f42892..7bcafc64 100644 --- a/Containerfile +++ b/Containerfile @@ -159,9 +159,6 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ --from repo=updates \ libv4l \ || true && \ - rpm-ostree install \ - https://kojipkgs.fedoraproject.org//packages/SDL2/2.30.3/1.fc40/i686/SDL2-2.30.3-1.fc40.i686.rpm \ - || true && \ rpm-ostree override remove \ glibc32 \ || true && \ @@ -441,7 +438,8 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \ libatomic.i686 \ pipewire-alsa.i686 \ gobject-introspection \ - clinfo && \ + clinfo \ + https://kojipkgs.fedoraproject.org//packages/SDL2/2.30.3/1.fc40/i686/SDL2-2.30.3-1.fc40.i686.rpm && \ sed -i '0,/enabled=1/s//enabled=0/' /etc/yum.repos.d/fedora-updates.repo && \ rpm-ostree install \ mesa-vulkan-drivers.i686 \ From 9633da08f550a6ec734087e9973f88a6be3ead41 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 18 Aug 2024 20:27:25 -0700 Subject: [PATCH 4/4] chore(ci): Fix registry name --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 27b9d844..feb4a99f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -241,7 +241,7 @@ jobs: if [ "${{ github.event.inputs.fresh-rechunk }}" == "true" ]; then IMAGEREF="" else - IMAGEREF="${{ steps.registry_case.outputs.lowercase }}/${{ env.IMAGE_NAME }}:stable" + IMAGEREF="${{ env.IMAGE_REGISTRY }}/${{ env.IMAGE_NAME }}:stable" fi echo "ref=${IMAGEREF}" >> $GITHUB_OUTPUT