fix(pkg): build dkms kvm from 7.2.9 and pin to the exact release
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
post_install() {
|
||||
cat <<'MSG'
|
||||
cat <<MSG
|
||||
|
||||
vfio-native-kvm-dkms: DKMS builds the patched kvm, kvm-amd and kvm-intel
|
||||
for every installed 7.2.x kernel with headers, into updates/, which modprobe
|
||||
for every installed ${1%-*} kernel with headers, into updates/, which modprobe
|
||||
prefers over the in-tree modules. They are NOT loaded yet.
|
||||
|
||||
With every VM shut down:
|
||||
@@ -14,11 +14,11 @@ post_install() {
|
||||
cat /sys/module/kvm/srcversion /sys/module/kvm_amd/srcversion
|
||||
modinfo -F srcversion kvm kvm_amd
|
||||
|
||||
THE PIN: these are 7.2.3's KVM sources. DKMS refuses to build them for a
|
||||
kernel outside 7.2.x, the stock modules load silently, and three detections
|
||||
come back. A pacman hook warns when that happens.
|
||||
THE PIN: these are ${1%-*}'s KVM sources. DKMS refuses to build them for
|
||||
any other kernel release, the stock modules load silently, and three
|
||||
detections come back. A pacman hook warns when that happens.
|
||||
|
||||
MSG
|
||||
}
|
||||
post_upgrade() { post_install; }
|
||||
post_upgrade() { post_install "$1"; }
|
||||
post_remove() { echo " Stock KVM loads on the next boot, or reload the modules now."; }
|
||||
|
||||
Reference in New Issue
Block a user