Skip to content

Commit

Permalink
chore: disable v4l2loopback on surface and F38 surface
Browse files Browse the repository at this point in the history
Surface kernel only supports latest.

For some reason v4l2loopback still failing to build on surface's kernel.
  • Loading branch information
bsherman committed Mar 28, 2024
1 parent 32cb361 commit 8b975e8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
fedora_version: 38
- kernel_flavor: asus
fedora_version: 38
- kernel_flavor: surface
fedora_version: 38
- kernel_flavor: surface
nvidia_version: 470
- fedora_version: 40
Expand Down
2 changes: 1 addition & 1 deletion build-kmod-gasket.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')
RELEASE="$(rpm -E '%fedora')"

if [[ "${KERNEL}" =~ "6.8" ]]; then
echo "SKIPPED BUILD of rtl8814au: compile failure on kernel 6.8 as of 2024-03-17"
echo "SKIPPED BUILD of gasket: compile failure on kernel 6.8 as of 2024-03-17"
exit 0
fi

Expand Down
5 changes: 5 additions & 0 deletions build-kmod-v4l2loopback.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ ARCH="$(rpm -E '%_arch')"
KERNEL="$(rpm -q "${KERNEL_NAME}" --queryformat '%{VERSION}-%{RELEASE}.%{ARCH}')"
RELEASE="$(rpm -E '%fedora')"

if [[ "${KERNEL_FLAVOR}" =~ "surface" ]]; then
echo "SKIPPED BUILD of v4l2loopback: compile failure on surface kernel as of 2024-03-27"
exit 0
fi

### BUILD v4l2loopbak (succeed or fail-fast with debug output)
rpm-ostree install \
akmod-v4l2loopback-*.fc${RELEASE}.${ARCH}
Expand Down

0 comments on commit 8b975e8

Please sign in to comment.