diff --git a/kernel/drivers/module-bbswitch/actions.py b/kernel/drivers/module-bbswitch/actions.py
index e82fdced..b9004eb6 100644
--- a/kernel/drivers/module-bbswitch/actions.py
+++ b/kernel/drivers/module-bbswitch/actions.py
@@ -13,10 +13,11 @@ KDIR = kerneltools.getKernelVersion()
def build():
autotools.make("KDIR=/lib/modules/%s/build" % KDIR)
- #autotools.make()
def install():
- #autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.insinto("/lib/modules/%s/misc" % KDIR, "bbswitch.ko")
+ pisitools.dosed("dkms/dkms.conf", "#MODULE_VERSION#", get.srcVERSION())
+ for f in "Makefile bbswitch.c dkms/dkms.conf".split():
+ pisitools.insinto("/usr/src/bbswitch-%s" % get.srcVERSION(), f)
pisitools.dodoc("NEWS", "README*")
diff --git a/kernel/drivers/module-bbswitch/pspec.xml b/kernel/drivers/module-bbswitch/pspec.xml
index a85636de..0d06d6e4 100644
--- a/kernel/drivers/module-bbswitch/pspec.xml
+++ b/kernel/drivers/module-bbswitch/pspec.xml
@@ -23,9 +23,19 @@
module-bbswitch
kernel
+ bbswitch-common
- /lib/modules
+ /lib/modules
+
+
+ bbswitch-dkms
+
+
+
+
+ bbswitch-common
+
/etc
/usr/share/doc
@@ -35,8 +45,29 @@
+
+ bbswitch-dkms
+
+ bbswitch-common
+ dkms
+
+
+ /usr/src/bbswitch*
+
+
+ module-bbswitch
+
+
+
-
+
+ 2020-01-09
+ 0.8
+ Add dkms support
+ Marcin Bojara
+ marcin.bojara@gmail.com
+
+
2019-12-27
0.8
Rebuild.