Skip to content

Commit

Permalink
fix: switch latest images to use ungated upstream kernel (#1722)
Browse files Browse the repository at this point in the history
Co-authored-by: Jorge O. Castro <[email protected]>
Co-authored-by: Benjamin Sherman <[email protected]>
  • Loading branch information
3 people authored Oct 6, 2024
1 parent a642333 commit bab923c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,6 @@ jobs:
echo "AKMODS_FLAVOR=surface" >> $GITHUB_ENV
elif [[ "${{ matrix.fedora_version }}" =~ stable|gts ]]; then
echo "AKMODS_FLAVOR=coreos-stable" >> $GITHUB_ENV
elif [[ "${{ matrix.fedora_version }}" == "latest" ]]; then
echo "AKMODS_FLAVOR=fsync" >> $GITHUB_ENV
else
echo "AKMODS_FLAVOR=main" >> $GITHUB_ENV
fi
Expand Down
5 changes: 4 additions & 1 deletion build_files/cache_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
set -eoux pipefail

if [[ -n "${NVIDIA_TYPE:-}" ]]; then
rpm-ostree override replace --experimental \
rpm-ostree override remove \
kernel kernel-core kernel-modules kernel-modules-core kernel-modules-extra

rpm-ostree install \
/tmp/kernel-rpms/kernel-[0-9]*.rpm \
/tmp/kernel-rpms/kernel-core-*.rpm \
/tmp/kernel-rpms/kernel-modules-*.rpm
Expand Down

0 comments on commit bab923c

Please sign in to comment.