summaryrefslogtreecommitdiff
path: root/pcr/qemu-riscv-git/qemu.install
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-06 20:23:42 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-06 20:23:42 +0100
commit47887739e7422f29334e4b7e632814c82e3a4df4 (patch)
tree41fc9dc15624093740bf3043a8954c6269bc5c47 /pcr/qemu-riscv-git/qemu.install
parent23a7b320c8cf48d5c77a9f912453c2ef595dfe5f (diff)
downloadabslibre-47887739e7422f29334e4b7e632814c82e3a4df4.tar.gz
abslibre-47887739e7422f29334e4b7e632814c82e3a4df4.tar.bz2
abslibre-47887739e7422f29334e4b7e632814c82e3a4df4.zip
pcr/qemu-riscv-git: added
Diffstat (limited to 'pcr/qemu-riscv-git/qemu.install')
-rw-r--r--pcr/qemu-riscv-git/qemu.install8
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
+ :
+}