Skip to content

Commit

Permalink
feat: Add WL driver by default (Disabled by default) (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo authored Sep 22, 2023
1 parent 913a9e5 commit f1a0e1c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ COPY main-packages.json /tmp/main-packages.json
COPY --from=ghcr.io/ublue-os/config:latest /rpms /tmp/rpms
COPY --from=ghcr.io/ublue-os/akmods:${FEDORA_MAJOR_VERSION} /rpms /tmp/akmods-rpms

COPY system_files /

RUN /tmp/main-install.sh
RUN /tmp/main-post-install.sh

Expand Down
3 changes: 2 additions & 1 deletion main-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ if grep -qv "39" <<< $FEDORA_MAJOR_VERSION; then
/tmp/akmods-rpms/kmods/*xpad-noone*.rpm \
/tmp/akmods-rpms/kmods/*xone*.rpm \
/tmp/akmods-rpms/kmods/*openrazer*.rpm \
/tmp/akmods-rpms/kmods/*v4l2loopback*.rpm
/tmp/akmods-rpms/kmods/*v4l2loopback*.rpm \
/tmp/akmods-rpms/kmods/*wl*.rpm
fi

for REPO in $(rpm -ql ublue-os-akmods-addons|grep ^"/etc"|grep repo$); do
Expand Down
2 changes: 2 additions & 0 deletions system_files/usr/etc/modprobe.d/broadcom-wl-blacklist.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# This file intentionally left empty to prevent wl package from disabling drivers needed for other hardware by default.
# If you wish to use wl, delete this file and /etc/modprobe.d/default-disable-broadcom-wl.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Prevents wl package from loading along side drivers it conflicts with.
# If you wish to use wl, delete this file and /etc/modprobe.d/broadcom-wl-blacklist.conf
wl

0 comments on commit f1a0e1c

Please sign in to comment.