From cf87160b262d3d7928f0063b4b37752490215892 Mon Sep 17 00:00:00 2001 From: mollusk Date: Thu, 1 Oct 2020 23:20:13 -0700 Subject: [PATCH] rtlwifi-setup.sh: add 5.8 patch --- rtlwifi-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rtlwifi-setup.sh b/rtlwifi-setup.sh index baef172..ae6fc04 100755 --- a/rtlwifi-setup.sh +++ b/rtlwifi-setup.sh @@ -27,9 +27,14 @@ _download(){ fi } +_apply_patch(){ + wget https://github.com/cilynx/rtl88x2bu/pull/58.patch + git apply 58.patch +} _install(){ cd ${tmpdir}/${pkgname} + _apply_patch VER=$(sed -n 's/\PACKAGE_VERSION="\(.*\)"/\1/p' dkms.conf) rsync -rvhP ./ /usr/src/rtl88x2bu-${VER} dkms add -m rtl88x2bu -v ${VER}