Revert "Reapply "chore: Force kernel 6.9.8 temporarily""

This commit is contained in:
Kyle Gospodnetich 2024-07-22 19:30:15 -07:00
parent 6da22c9648
commit dea05bfd5c
2 changed files with 45 additions and 20 deletions

View File

@ -1,32 +1,32 @@
name: Build Bazzite
on:
schedule:
- cron: '40 4 * * 2,5' # 4:40 utc tues thurs
- cron: "40 4 * * 2,5" # 4:40 utc tues thurs
pull_request:
branches:
- testing
- unstable
paths-ignore:
- '**.md'
- '**.txt'
- 'installer/**'
- 'repo_content/**'
- 'spec_files/**'
- 'post_install_files/**'
- 'press_kit/**'
- '.github/workflows/build_iso.yml'
- "**.md"
- "**.txt"
- "installer/**"
- "repo_content/**"
- "spec_files/**"
- "post_install_files/**"
- "press_kit/**"
- ".github/workflows/build_iso.yml"
push:
branches:
- testing
- unstable
paths-ignore:
- '**.md'
- '**.txt'
- 'repo_content/**'
- 'spec_files/**'
- 'post_install_files/**'
- 'press_kit/**'
- '.github/workflows/build_iso.yml'
- "**.md"
- "**.txt"
- "repo_content/**"
- "spec_files/**"
- "post_install_files/**"
- "press_kit/**"
- ".github/workflows/build_iso.yml"
merge_group:
workflow_dispatch:
env:
@ -57,7 +57,7 @@ jobs:
- fedora_version: 40
is_latest_version: true
is_stable_version: true
kernel_flavor: fsync # must match a kernel_flavor from akmods repo
kernel_flavor: fsync # must match a kernel_flavor from akmods repo
steps:
- name: Define env.IMAGE_FLAVOR
run: |
@ -261,6 +261,25 @@ jobs:
extra-args: |
--target=${{ matrix.base_name }}
- name: Check Secureboot
shell: bash
run: |
set -x
if [[ ! $(command -v sbverify) || ! $(command -v curl) || ! $(command -v openssl) ]]; then
sudo apt update
sudo apt install sbsigntool curl openssl
fi
podman run -d --rm --name ${{env.IMAGE_NAME}}-$(echo "${{ steps.generate-tags.outputs.alias_tags }}" | cut -d " " -f 1) "${{ env.IMAGE_NAME }}":$(echo "${{ steps.generate-tags.outputs.alias_tags }}" | cut -d " " -f 1) sleep 1000
podman cp ${{env.IMAGE_NAME}}-$(echo "${{ steps.generate-tags.outputs.alias_tags }}" | cut -d " " -f 1):/usr/lib/modules/${{ env.KERNEL_VERSION }}/vmlinuz .
podman rm -f ${{env.IMAGE_NAME}}-$(echo "${{ steps.generate-tags.outputs.alias_tags }}" | cut -d " " -f 1)
sbverify --list vmlinuz
curl --retry 3 -Lo kernel-sign.der https://github.com/ublue-os/kernel-cache/raw/main/certs/public_key.der
curl --retry 3 -Lo akmods.der https://github.com/ublue-os/kernel-cache/raw/main/certs/public_key_2.der
openssl x509 -in kernel-sign.der -out kernel-sign.crt
openssl x509 -in akmods.der -out akmods.crt
sbverify --cert kernel-sign.crt vmlinuz || exit 1
sbverify --cert akmods.crt vmlinuz || exit 1
# Workaround bug where capital letters in your GitHub username make it impossible to push to GHCR.
# https://github.com/macbre/push-to-ghcr/issues/12
- name: Lowercase Registry

View File

@ -10,9 +10,9 @@ ARG JUPITER_KERNEL_VERSION="${JUPITER_KERNEL_VERSION:-jupiter-20240605.1}"
ARG SHA_HEAD_SHORT="${SHA_HEAD_SHORT}"
ARG CODE_NAME="${CODE_NAME:-Holographic}"
FROM ghcr.io/ublue-os/akmods:${KERNEL_FLAVOR}-${FEDORA_MAJOR_VERSION}-20240716 AS akmods
FROM ghcr.io/ublue-os/akmods-extra:${KERNEL_FLAVOR}-${FEDORA_MAJOR_VERSION}-20240716 AS akmods-extra
FROM ghcr.io/ublue-os/fsync-kernel:${FEDORA_MAJOR_VERSION}-6.9.8 AS fsync
FROM ghcr.io/ublue-os/akmods:${KERNEL_FLAVOR}-${FEDORA_MAJOR_VERSION} AS akmods
FROM ghcr.io/ublue-os/akmods-extra:${KERNEL_FLAVOR}-${FEDORA_MAJOR_VERSION} AS akmods-extra
FROM ghcr.io/ublue-os/fsync-kernel:${FEDORA_MAJOR_VERSION} AS fsync
FROM ${BASE_IMAGE}:${FEDORA_MAJOR_VERSION} AS bazzite
@ -436,6 +436,12 @@ RUN --mount=type=cache,dst=/var/cache/rpm-ostree \
latencyflex-vulkan-layer \
vkBasalt.x86_64 \
vkBasalt.i686 \
obs-vkcapture.x86_64 \
libobs_vkcapture.x86_64 \
libobs_glcapture.x86_64 \
obs-vkcapture.i686 \
libobs_vkcapture.i686 \
libobs_glcapture.i686 \
mangohud.x86_64 \
mangohud.i686 && \
sed -i 's@\[Desktop Entry\]@\[Desktop Entry\]\nNoDisplay=true@g' /usr/share/applications/winetricks.desktop && \