Skip to content

Commit

Permalink
feat: Build akmods for kernel-fsync (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
EyeCantCU authored Nov 12, 2023
1 parent 129b198 commit 2c993d4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
6 changes: 5 additions & 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, surface]
kernel_flavor: [main, asus, fsync, surface]
cfile_suffix: [common, nvidia]
major_version: [37, 38, 39]
nvidia_version: [0, 470, 535]
Expand All @@ -33,6 +33,10 @@ jobs:
nvidia_version: 0
- kernel_flavor: asus
major_version: 37
- kernel_flavor: fsync
major_version: 37
- kernel_flavor: fsync
major_version: 38
- kernel_flavor: surface
major_version: 37
- kernel_flavor: surface
Expand Down
4 changes: 3 additions & 1 deletion Containerfile.common
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,15 @@ RUN if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
if grep -qv "asus" <<< "${KERNEL_FLAVOR}"; then \
/tmp/build-kmod-evdi.sh \
; fi && \
if grep -qv "fsync" <<< "${KERNEL_FLAVOR}"; then \
/tmp/build-kmod-steamdeck.sh \
; fi && \
/tmp/build-kmod-gasket.sh && \
/tmp/build-kmod-gcadapter_oc.sh && \
/tmp/build-kmod-nct6687d.sh && \
/tmp/build-kmod-openrazer.sh && \
/tmp/build-kmod-openrgb.sh && \
/tmp/build-kmod-ryzen-smu.sh && \
/tmp/build-kmod-steamdeck.sh && \
/tmp/build-kmod-v4l2loopback.sh && \
/tmp/build-kmod-winesync.sh && \
/tmp/build-kmod-wl.sh && \
Expand Down
14 changes: 14 additions & 0 deletions build-prep.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ if [[ "asus" == "${KERNEL_FLAVOR}" ]]; then
kernel-modules \
kernel-modules-core \
kernel-modules-extra
elif [[ "fsync" == "${KERNEL_FLAVOR}" ]]; then
echo "Installing kernel-fsync:"
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
elif [[ "surface" == "${KERNEL_FLAVOR}" ]]; then
echo "Installing Surface Kernel:"
# Add Linux Surface repo
Expand Down

0 comments on commit 2c993d4

Please sign in to comment.