From d63466fca66fe982518e343c8cbb67c7892f8dd0 Mon Sep 17 00:00:00 2001 From: Benjamin Sherman Date: Wed, 27 Mar 2024 23:51:24 -0500 Subject: [PATCH] chore: disable v4l2loopback on surface and F38 surface (#155) --- .github/workflows/reusable-build.yml | 2 ++ build-kmod-gasket.sh | 2 +- build-kmod-v4l2loopback.sh | 5 +++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-build.yml b/.github/workflows/reusable-build.yml index 27e113c2..585e27f5 100644 --- a/.github/workflows/reusable-build.yml +++ b/.github/workflows/reusable-build.yml @@ -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 diff --git a/build-kmod-gasket.sh b/build-kmod-gasket.sh index 9b339788..087ef124 100755 --- a/build-kmod-gasket.sh +++ b/build-kmod-gasket.sh @@ -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 diff --git a/build-kmod-v4l2loopback.sh b/build-kmod-v4l2loopback.sh index 3120f73a..3d683954 100755 --- a/build-kmod-v4l2loopback.sh +++ b/build-kmod-v4l2loopback.sh @@ -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}