Skip to content

Commit

Permalink
fix: restore v4l2loopback module (ublue-os#1157)
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Apr 19, 2024
1 parent 139ec59 commit 342a76f
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions build_files/base/install-akmods.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,11 @@ 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 [[ "${FEDORA_MAJOR_VERSION}" == "40" ]] && 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 \
/tmp/akmods-rpms/kmods/*evdi*.rpm
fi
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo
sed -i 's@enabled=1@enabled=0@g' /etc/yum.repos.d/negativo17-fedora-multimedia.repo

0 comments on commit 342a76f

Please sign in to comment.