# Check that kernel-source exists
_check_kernel_dir "$1" || {
case "$running_distribution" in
Debian* | Ubuntu* )
die 1 $"Your kernel headers for kernel $1 cannot be found." \
$"Please install the linux-headers-$1 package," \
$"or use the --kernelsourcedir option to tell DKMS where it's located"
;;
* )
die 1 echo $"Your kernel headers for kernel $1 cannot be found at" \
$"/lib/modules/$1/build or /lib/modules/$1/source."
$"You can use the --kernelsourcedir option to tell DKMS where it's located."
;;
esac
}
实际报错和进行kernel校验的模块是dkms
他在安装了module(kmod-kvdo)的情况下 会对安装的kernel目录是否存在build source目录进行校验
是dkms对自身模块编译前的校验机制
所以仍然认为是非问题