forked from FF-RGB/ansible
Added Option to Build Batman DKMS Modules from Upstream Code
This commit is contained in:
parent
b256820d20
commit
7d6ce37e54
2
roles/batman/defaults/main.yml
Normal file
2
roles/batman/defaults/main.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
batman-adv_version: 2017.3
|
||||||
|
batman-adv_tar_sha256_hash: 830edd297ff11b91623e9612172db3e2b2c1524e2f9b2ca1cb243e2e3f0ba4d4
|
10
roles/batman/templates/dkms.conf.j2
Normal file
10
roles/batman/templates/dkms.conf.j2
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
PACKAGE_NAME='batman-adv'
|
||||||
|
PACKAGE_VERSION="{{ batman-adv_version }}"
|
||||||
|
|
||||||
|
BUILT_MODULE_NAME[0]="batman-adv"
|
||||||
|
BUILT_MODULE_LOCATION[0]="build/net/batman-adv/"
|
||||||
|
DEST_MODULE_LOCATION[0]="/kernel/net/batman-adv/"
|
||||||
|
AUTOINSTALL=yes
|
||||||
|
|
||||||
|
MAKE[0]="make KERNELPATH=${kernel_source_dir} CONFIG_BATMAN_ADV_BATMAN_V=y"
|
||||||
|
CLEAN="make KERNELPATH=${kernel_source_dir} clean"
|
Loading…
Reference in New Issue
Block a user