summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/qemu/qemu-2.1.2-r1.ebuild')
-rw-r--r--app-emulation/qemu/qemu-2.1.2-r1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/app-emulation/qemu/qemu-2.1.2-r1.ebuild b/app-emulation/qemu/qemu-2.1.2-r1.ebuild
index 69a7d587afc3..b532ee7233e7 100644
--- a/app-emulation/qemu/qemu-2.1.2-r1.ebuild
+++ b/app-emulation/qemu/qemu-2.1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.1.2-r1.ebuild,v 1.4 2014/11/08 18:09:33 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu/qemu-2.1.2-r1.ebuild,v 1.5 2014/12/11 14:17:09 mgorny Exp $
EAPI=5
@@ -577,6 +577,10 @@ pkg_postinst() {
fi
fi
+ if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
+ udev_reload
+ fi
+
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
if use virtfs && [ -n "${softmmu_targets}" ]; then
local virtfs_caps="cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_setgid,cap_mknod,cap_setuid"