rtl88x2bu REALTEK RTL88x2B USB Linux Driver

This commit is contained in:
Rmys
2023-03-15 21:56:15 +03:00
parent a922ad3cce
commit fa429f777f
7 changed files with 322 additions and 40 deletions
+27
View File
@@ -0,0 +1,27 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import get
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import kerneltools
KDIR = kerneltools.getKernelVersion()
KVER ="5.15.102"
def build():
autotools.make("KVER=%s" % KVER )
def install():
pisitools.insinto("/lib/modules/%s/kernel/drivers/net/wireless" % KDIR, "*.ko")
pisitools.insinto("/etc/modprobe.d", "88x2bu.conf")
shelltools.chmod(get.installDIR() + "/etc/modprobe.d/88x2bu.conf")
shelltools.chmod(get.installDIR() + "/lib/modules/%s/kernel/drivers/net/wireless/*.ko" % KDIR )
pisitools.dodoc("README*", "LICENSE")