Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add WL driver by default (Disabled by default) #350

Merged
merged 1 commit into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading