From b16a97942fe3ee203c2109448370c23c80c451e8 Mon Sep 17 00:00:00 2001 From: m2 <69128853+m2Giles@users.noreply.github.com> Date: Thu, 18 Apr 2024 21:19:37 -0400 Subject: [PATCH 1/2] Fix: restore v4l2loopback module --- build_files/base/install-akmods.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_files/base/install-akmods.sh b/build_files/base/install-akmods.sh index 43a68596405..310dfbe3376 100755 --- a/build_files/base/install-akmods.sh +++ b/build_files/base/install-akmods.sh @@ -15,7 +15,7 @@ if [[ "${FEDORA_MAJOR_VERSION}" -ge "39" ]]; then # rpm-ostree install \ # /tmp/akmods-rpms/kmods/*v4l2loopback*.rpm # fi - if [[ "${FEDORA_MAJOR_VERSION}" == "40" ]] && grep -Eqv "(surface|asus)" <<< "${AKMODS_FLAVOR}"; then + if grep -Eqv "(surface|asus)" <<< "${AKMODS_FLAVOR}"; then rpm-ostree install \ /tmp/akmods-rpms/kmods/*v4l2loopback*.rpm fi @@ -24,4 +24,4 @@ if grep -qv "asus" <<< "${AKMODS_FLAVOR}"; then rpm-ostree install \ /tmp/akmods-rpms/kmods/*evdi*.rpm fi -sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo \ No newline at end of file +sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo From c49ff1ac08eb8ec37fff00185493f3541adc7a02 Mon Sep 17 00:00:00 2001 From: m2 <69128853+m2Giles@users.noreply.github.com> Date: Thu, 18 Apr 2024 21:27:46 -0400 Subject: [PATCH 2/2] fix: restore v4l2loopback for Asus and surface kernels --- build_files/base/install-akmods.sh | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/build_files/base/install-akmods.sh b/build_files/base/install-akmods.sh index 310dfbe3376..597ee702e0a 100755 --- a/build_files/base/install-akmods.sh +++ b/build_files/base/install-akmods.sh @@ -9,16 +9,8 @@ if [[ "${FEDORA_MAJOR_VERSION}" -ge "39" ]]; then /tmp/akmods-rpms/kmods/*xpadneo*.rpm \ /tmp/akmods-rpms/kmods/*xone*.rpm \ /tmp/akmods-rpms/kmods/*openrazer*.rpm \ - /tmp/akmods-rpms/kmods/*wl*.rpm - # Temporarily disable v4l2loopback until RPMFusion rebuilds module. - # if grep -Eqv "(surface|asus)" <<< "${AKMODS_FLAVOR}"; then - # rpm-ostree install \ - # /tmp/akmods-rpms/kmods/*v4l2loopback*.rpm - # fi - if grep -Eqv "(surface|asus)" <<< "${AKMODS_FLAVOR}"; then - rpm-ostree install \ - /tmp/akmods-rpms/kmods/*v4l2loopback*.rpm - fi + /tmp/akmods-rpms/kmods/*wl*.rpm \ + /tmp/akmods-rpms/kmods/*v4l2loopback*.rpm fi if grep -qv "asus" <<< "${AKMODS_FLAVOR}"; then rpm-ostree install \