Skip to content

Commit 2c993d4

Browse files
authored
feat: Build akmods for kernel-fsync (#90)
1 parent 129b198 commit 2c993d4

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
kernel_flavor: [main, asus, surface]
23+
kernel_flavor: [main, asus, fsync, surface]
2424
cfile_suffix: [common, nvidia]
2525
major_version: [37, 38, 39]
2626
nvidia_version: [0, 470, 535]
@@ -33,6 +33,10 @@ jobs:
3333
nvidia_version: 0
3434
- kernel_flavor: asus
3535
major_version: 37
36+
- kernel_flavor: fsync
37+
major_version: 37
38+
- kernel_flavor: fsync
39+
major_version: 38
3640
- kernel_flavor: surface
3741
major_version: 37
3842
- kernel_flavor: surface

Containerfile.common

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ RUN if grep -qv "surface" <<< "${KERNEL_FLAVOR}"; then \
3838
if grep -qv "asus" <<< "${KERNEL_FLAVOR}"; then \
3939
/tmp/build-kmod-evdi.sh \
4040
; fi && \
41+
if grep -qv "fsync" <<< "${KERNEL_FLAVOR}"; then \
42+
/tmp/build-kmod-steamdeck.sh \
43+
; fi && \
4144
/tmp/build-kmod-gasket.sh && \
4245
/tmp/build-kmod-gcadapter_oc.sh && \
4346
/tmp/build-kmod-nct6687d.sh && \
4447
/tmp/build-kmod-openrazer.sh && \
4548
/tmp/build-kmod-openrgb.sh && \
4649
/tmp/build-kmod-ryzen-smu.sh && \
47-
/tmp/build-kmod-steamdeck.sh && \
4850
/tmp/build-kmod-v4l2loopback.sh && \
4951
/tmp/build-kmod-winesync.sh && \
5052
/tmp/build-kmod-wl.sh && \

build-prep.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ if [[ "asus" == "${KERNEL_FLAVOR}" ]]; then
4444
kernel-modules \
4545
kernel-modules-core \
4646
kernel-modules-extra
47+
elif [[ "fsync" == "${KERNEL_FLAVOR}" ]]; then
48+
echo "Installing kernel-fsync:"
49+
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
50+
rpm-ostree cliwrap install-to-root /
51+
rpm-ostree override replace \
52+
--experimental \
53+
--from repo=copr:copr.fedorainfracloud.org:sentry:kernel-fsync \
54+
kernel \
55+
kernel-core \
56+
kernel-devel \
57+
kernel-devel-matched \
58+
kernel-modules \
59+
kernel-modules-core \
60+
kernel-modules-extra
4761
elif [[ "surface" == "${KERNEL_FLAVOR}" ]]; then
4862
echo "Installing Surface Kernel:"
4963
# Add Linux Surface repo

0 commit comments

Comments
 (0)