diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index c92c073ff1c..e13eee90dc5 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -116,7 +116,6 @@ jobs: elif [[ "${{ matrix.image_flavor }}" == "main" && \ "${{ matrix.fedora_version }}" != "beta" ]]; then echo "image_flavor=${{ matrix.image_flavor }}" >> $GITHUB_ENV - echo "nvidia_type=main" >> $GITHUB_ENV else echo "image_flavor=${{ matrix.image_flavor }}" >> $GITHUB_ENV fi diff --git a/build_files/cache_kernel.sh b/build_files/cache_kernel.sh index ce0f8c924a4..79fda7bf47f 100755 --- a/build_files/cache_kernel.sh +++ b/build_files/cache_kernel.sh @@ -2,14 +2,12 @@ set -eoux pipefail -if [[ -n "${NVIDIA_TYPE:-}" ]]; then - for pkg in kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra - do - rpm --erase $pkg --nodeps - done +for pkg in kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra +do + rpm --erase $pkg --nodeps +done - rpm-ostree install \ - /tmp/kernel-rpms/kernel-[0-9]*.rpm \ - /tmp/kernel-rpms/kernel-core-*.rpm \ - /tmp/kernel-rpms/kernel-modules-*.rpm -fi +rpm-ostree install \ + /tmp/kernel-rpms/kernel-[0-9]*.rpm \ + /tmp/kernel-rpms/kernel-core-*.rpm \ + /tmp/kernel-rpms/kernel-modules-*.rpm diff --git a/build_files/install-akmods.sh b/build_files/install-akmods.sh index 75d14bc0dec..cc00f773937 100755 --- a/build_files/install-akmods.sh +++ b/build_files/install-akmods.sh @@ -2,11 +2,6 @@ set -ouex pipefail -# if [[ -n "${NVIDIA_TYPE:-}" ]]; then -# curl -L -o /etc/yum.repos.d/fedora-coreos-pool.repo \ -# https://raw.githubusercontent.com/coreos/fedora-coreos-config/testing-devel/fedora-coreos-pool.repo -# fi - # Nvidia for gts/stable - nvidia if [[ "${NVIDIA_TYPE}" == "nvidia" ]]; then curl -Lo /tmp/nvidia-install.sh https://raw.githubusercontent.com/ublue-os/hwe/main/nvidia-install.sh && \