From 43f1d680b7ea01d584def207eeafecebe873f6cb Mon Sep 17 00:00:00 2001 From: Caio Quirino da Silva Date: Thu, 26 Sep 2019 20:52:03 +0200 Subject: [PATCH 1/2] Create dkms.conf In order to facilitate our life when we build or use a new kernel version, I am just creating this dkms.config file, so we can use the autobuild and have it enabled automatically :) --- dkms.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dkms.conf diff --git a/dkms.conf b/dkms.conf new file mode 100644 index 0000000..ab1745c --- /dev/null +++ b/dkms.conf @@ -0,0 +1,8 @@ +PACKAGE_NAME=bce +PACKAGE_VERSION=0.1 +CLEAN="make clean" +MAKE="make" +BUILT_MODULE_NAME[0]="bce" +DEST_MODULE_LOCATION[0]="/updates" +AUTOINSTALL="yes" +REMAKE_INITRD="yes" From e76d51ac92bebb0315ef1c517ea6471c7883d346 Mon Sep 17 00:00:00 2001 From: Caio Quirino da Silva Date: Thu, 26 Sep 2019 20:54:14 +0200 Subject: [PATCH 2/2] Create install.sh --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..a8f5e9e --- /dev/null +++ b/install.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cp -rf $PWD /usr/src/bce-0.1 +dkms install bce/0.1 +echo "Kernel module bce/0.1 installed!"