From b7b6deedf0827d1960af778cff0798811a3dd729 Mon Sep 17 00:00:00 2001 From: Filip Wieladek Date: Mon, 13 May 2013 06:26:29 +0200 Subject: added dkms.conf for automatic rebuilding of kernel module after a new kernel is found --- src/kernel/dkms.conf | 8 ++++++++ src/kernel/test.sh | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 src/kernel/dkms.conf delete mode 100755 src/kernel/test.sh diff --git a/src/kernel/dkms.conf b/src/kernel/dkms.conf new file mode 100644 index 0000000..af0d1b3 --- /dev/null +++ b/src/kernel/dkms.conf @@ -0,0 +1,8 @@ +BUILT_MODULE_NAME=hid-lg-g710-plus +PACKAGE_NAME=hid-lg-g710-plus +PACKAGE_VERSION=0.1 +MAKE="make" +CLEAN="make clean" +DEST_MODULE_LOCATION="/updates" +REMAKE_INITRD=yes +AUTOINSTALL="yes" diff --git a/src/kernel/test.sh b/src/kernel/test.sh deleted file mode 100755 index 242b47c..0000000 --- a/src/kernel/test.sh +++ /dev/null @@ -1 +0,0 @@ -sudo modprobe -r hid_lg_g710_plus && sudo modprobe -r hid_generic && make && sudo make install && sudo depmod -a && sudo modprobe hid-lg-g710-plus && sudo modprobe hid-generic -- cgit v1.2.3