summaryrefslogtreecommitdiff
path: root/libre/qemu-linaro/qemu.install
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-09 01:02:04 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-10-14 09:55:53 -0300
commita513c98f3adae3dcd3a9dda3ca883714e6807553 (patch)
tree060ac111db96debc3d51173e34af747be510558d /libre/qemu-linaro/qemu.install
parentb9de19ba52d54a7e608656254bb43c2441707853 (diff)
downloadabslibre-a513c98f3adae3dcd3a9dda3ca883714e6807553.tar.gz
abslibre-a513c98f3adae3dcd3a9dda3ca883714e6807553.tar.bz2
abslibre-a513c98f3adae3dcd3a9dda3ca883714e6807553.zip
add qemu-linaro to [libre]
Diffstat (limited to 'libre/qemu-linaro/qemu.install')
-rw-r--r--libre/qemu-linaro/qemu.install11
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/qemu-linaro/qemu.install b/libre/qemu-linaro/qemu.install
new file mode 100644
index 000000000..91546c3ee
--- /dev/null
+++ b/libre/qemu-linaro/qemu.install
@@ -0,0 +1,11 @@
+# Arg 1: the new package version
+post_install() {
+ # create kvm group
+ systemd-sysusers qemu.conf
+
+ # 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
+ :
+}