Skip to content

Commit

Permalink
fix: Add version gating for the fsync kernel to avoid regressions and…
Browse files Browse the repository at this point in the history
… allow further testing (#141)
  • Loading branch information
KyleGospo authored Mar 12, 2024
1 parent 4a3ab2f commit 25fc297
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
strategy:
fail-fast: false
matrix:
kernel_flavor: [main, asus, fsync, surface]
kernel_flavor: [main, asus, 6.7.9-204.fsync, surface]
cfile_suffix: [common, nvidia]
major_version: [38, 39]
nvidia_version: [0, 470, 550]
Expand Down
18 changes: 9 additions & 9 deletions build-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,20 @@ if [[ "asus" == "${KERNEL_FLAVOR}" ]]; then
kernel-modules \
kernel-modules-core \
kernel-modules-extra
elif [[ "fsync" == "${KERNEL_FLAVOR}" ]]; then
echo "Installing kernel-fsync:"
elif [[ "${KERNEL_FLAVOR}" =~ "fsync" ]]; then
echo "Installing kernel-fsync-${KERNEL_FLAVOR}:"
wget https://copr.fedorainfracloud.org/coprs/sentry/kernel-fsync/repo/fedora-$(rpm -E %fedora)/sentry-kernel-fsync-fedora-$(rpm -E %fedora).repo -O /etc/yum.repos.d/_copr_sentry-kernel-fsync.repo
rpm-ostree cliwrap install-to-root /
rpm-ostree override replace \
--experimental \
--from repo=copr:copr.fedorainfracloud.org:sentry:kernel-fsync \
kernel \
kernel-core \
kernel-devel \
kernel-devel-matched \
kernel-modules \
kernel-modules-core \
kernel-modules-extra
kernel-"${KERNEL_FLAVOR}".fc"${RELEASE}".x86_64 \
kernel-core-"${KERNEL_FLAVOR}".fc"${RELEASE}".x86_64 \
kernel-devel-"${KERNEL_FLAVOR}".fc"${RELEASE}".x86_64 \
kernel-devel-matched-"${KERNEL_FLAVOR}".fc"${RELEASE}".x86_64 \
kernel-modules-"${KERNEL_FLAVOR}".fc"${RELEASE}".x86_64 \
kernel-modules-core-"${KERNEL_FLAVOR}".fc"${RELEASE}".x86_64 \
kernel-modules-extra-"${KERNEL_FLAVOR}".fc"${RELEASE}".x86_64
elif [[ "surface" == "${KERNEL_FLAVOR}" ]]; then
echo "Installing Surface Kernel:"
# Add Linux Surface repo
Expand Down

0 comments on commit 25fc297

Please sign in to comment.