From 47887739e7422f29334e4b7e632814c82e3a4df4 Mon Sep 17 00:00:00 2001 From: Andreas Grapentin Date: Tue, 6 Feb 2018 20:23:42 +0100 Subject: pcr/qemu-riscv-git: added --- pcr/qemu-riscv-git/qemu.install | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pcr/qemu-riscv-git/qemu.install (limited to 'pcr/qemu-riscv-git/qemu.install') 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 + : +} -- cgit v1.2.3