fix(pkg): build dkms kvm from 7.2.9 and pin to the exact release
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
PACKAGE_NAME="vfio-native-kvm"
|
||||
PACKAGE_VERSION="@PKGVER@"
|
||||
# 7.2.3's KVM sources build against 7.2.x headers only; refuse anything else
|
||||
# loudly instead of producing a module that will not load.
|
||||
BUILD_EXCLUSIVE_KERNEL="^7\.2\."
|
||||
# The KVM sources are this exact kernel release's. Stable updates move KVM
|
||||
# declarations between the headers and arch/x86/kvm, so any other release
|
||||
# either fails to build or silently builds stale KVM code; refuse it.
|
||||
BUILD_EXCLUSIVE_KERNEL="^${PACKAGE_VERSION//./\\.}-"
|
||||
MAKE[0]="make -C /usr/lib/modules/${kernelver}/build M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build/arch/x86/kvm modules"
|
||||
BUILT_MODULE_NAME[0]="kvm"
|
||||
BUILT_MODULE_LOCATION[0]="arch/x86/kvm"
|
||||
|
||||
Reference in New Issue
Block a user