diff options
author | Matthias Maier <tamiko@gentoo.org> | 2017-01-22 10:14:10 -0600 |
---|---|---|
committer | Matthias Maier <tamiko@gentoo.org> | 2017-01-22 10:28:26 -0600 |
commit | dc2a7fec11cf5c934bd2a6fe656bd930a11c9abb (patch) | |
tree | e663a45fe810d9095def95df8fb0b7653a90426a /app-emulation/libvirt/libvirt-9999.ebuild | |
parent | app-emulation/libvirt: Do not create qemu user if USE=-qemu, bug #601678 (diff) | |
download | gentoo-dc2a7fec11cf5c934bd2a6fe656bd930a11c9abb.tar.gz gentoo-dc2a7fec11cf5c934bd2a6fe656bd930a11c9abb.tar.bz2 gentoo-dc2a7fec11cf5c934bd2a6fe656bd930a11c9abb.zip |
app-emulation/libvirt: add a libvirt group, bug #597772
Add a libvirt group for convenience and update readme
Package-Manager: Portage-2.3.0, Repoman-2.3.1
Diffstat (limited to 'app-emulation/libvirt/libvirt-9999.ebuild')
-rw-r--r-- | app-emulation/libvirt/libvirt-9999.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild index 81795e4a7f6b..1fcac6e2f214 100644 --- a/app-emulation/libvirt/libvirt-9999.ebuild +++ b/app-emulation/libvirt/libvirt-9999.ebuild @@ -135,6 +135,8 @@ pkg_setup() { enewuser qemu 77 -1 -1 "qemu,kvm" fi + use policykit && enewgroup libvirt + # Check kernel configuration: CONFIG_CHECK="" use fuse && CONFIG_CHECK+=" @@ -356,7 +358,7 @@ src_install() { newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd || die newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests || die - DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r1") + DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2") DISABLE_AUTOFORMATTING=true readme.gentoo_create_doc } @@ -376,7 +378,8 @@ pkg_postinst() { use libvirtd || return 0 # From here, only libvirtd-related instructions, be warned! - DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r1") + DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2") DISABLE_AUTOFORMATTING=true + FORCE_PRINT_ELOG=1 # remove for next version bump readme.gentoo_print_elog } |