From 30216a9c7cd8287372a48a02032d19ccfd2d7b29 Mon Sep 17 00:00:00 2001 From: turmary Date: Sun, 27 Sep 2020 09:15:41 +0100 Subject: [PATCH] Add: probing kernel postfix automatically for dkms --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 04747a0..69e011d 100755 --- a/install.sh +++ b/install.sh @@ -174,8 +174,9 @@ fi # it's just been updated) base_ver=$(get_kernel_version) base_ver=${base_ver%%[-+]*} -#kernels="${base_ver}+ ${base_ver}-v7+ ${base_ver}-v7l+" -kernels=$(uname -r) +# kernels="${base_ver}+ ${base_ver}-v7+ ${base_ver}-v7l+" +# select exact kernel postfix +kernels=${base_ver}$(echo $uname_r | sed -re 's/^[0-9.]+(.*)/\1/g') function install_module { local _i