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
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue