Add: probing kernel postfix automatically for dkms
This commit is contained in:
parent
6af23967a5
commit
30216a9c7c
1 changed files with 3 additions and 2 deletions
|
@ -175,7 +175,8 @@ fi
|
|||
base_ver=$(get_kernel_version)
|
||||
base_ver=${base_ver%%[-+]*}
|
||||
# kernels="${base_ver}+ ${base_ver}-v7+ ${base_ver}-v7l+"
|
||||
kernels=$(uname -r)
|
||||
# select exact kernel postfix
|
||||
kernels=${base_ver}$(echo $uname_r | sed -re 's/^[0-9.]+(.*)/\1/g')
|
||||
|
||||
function install_module {
|
||||
local _i
|
||||
|
|
Loading…
Reference in a new issue