summaryrefslogtreecommitdiff
path: root/pcr/qemu-git/qemu.install
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/qemu-git/qemu.install')
-rw-r--r--pcr/qemu-git/qemu.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/pcr/qemu-git/qemu.install b/pcr/qemu-git/qemu.install
new file mode 100644
index 000000000..9fe850d4e
--- /dev/null
+++ b/pcr/qemu-git/qemu.install
@@ -0,0 +1,8 @@
+# Arg 1: the new package version
+post_install() {
+ # trigger events on modules files when already loaded
+ for _f in /sys/devices/virtual/misc/{kvm,vhost-net}; do
+ [[ -e "$_f" ]] && udevadm trigger "$_f"
+ done
+ :
+}