Gentoo Archives: gentoo-commits

From: Matthias Maier <tamiko@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/libvirt/
Date: Mon, 10 Feb 2020 16:04:29
Message-Id: 1581350628.05da722fe8ad1c924d188b5099bc1f189c406fb4.tamiko@gentoo
1 commit: 05da722fe8ad1c924d188b5099bc1f189c406fb4
2 Author: Michal Privoznik <mprivozn <AT> redhat <DOT> com>
3 AuthorDate: Mon Feb 10 12:50:20 2020 +0000
4 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 10 16:03:48 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05da722f
7
8 app-emulation/libvirt-9999: Provide modern runtime directory
9
10 Because of autoconf-2.69 and its defaults, the configure script
11 will default to /var/run instead of /run. This may trigger
12 warnings in some packages which expect libvirt to provide modern
13 paths (e.g. systemd and location of .socket files).
14
15 Bug: https://bugs.gentoo.org/708782
16 Closes: https://github.com/gentoo/gentoo/pull/14613
17 Signed-off-by: Michal Privoznik <mprivozn <AT> redhat.com>
18 Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>
19
20 app-emulation/libvirt/libvirt-9999.ebuild | 2 ++
21 1 file changed, 2 insertions(+)
22
23 diff --git a/app-emulation/libvirt/libvirt-9999.ebuild b/app-emulation/libvirt/libvirt-9999.ebuild
24 index 648922f96f2..c2205b44c10 100644
25 --- a/app-emulation/libvirt/libvirt-9999.ebuild
26 +++ b/app-emulation/libvirt/libvirt-9999.ebuild
27 @@ -280,6 +280,7 @@ my_src_configure() {
28 --disable-werror
29
30 --localstatedir=/var
31 + --with-runstatedir=/run
32 --enable-dependency-tracking
33 )
34
35 @@ -314,6 +315,7 @@ my_src_install() {
36 # libvirtd is able to create them on demand
37 rm -rf "${D}"/etc/sysconfig
38 rm -rf "${D}"/var
39 + rm -rf "${D}"/run
40
41 newbashcomp "${S}/tools/bash-completion/vsh" virsh
42 bashcomp_alias virsh virt-admin