diff options
Diffstat (limited to 'pcr/qemu-riscv-git/qemu.install')
-rw-r--r-- | pcr/qemu-riscv-git/qemu.install | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pcr/qemu-riscv-git/qemu.install b/pcr/qemu-riscv-git/qemu.install new file mode 100644 index 000000000..9fe850d4e --- /dev/null +++ b/pcr/qemu-riscv-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 + : +} |