1 |
commit: 437ef2f8ef6acf820989ad44902d1838c679729d |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 24 02:24:42 2018 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 24 02:25:34 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=437ef2f8 |
7 |
|
8 |
app-emulation/libvirt: address QA messages |
9 |
|
10 |
* use printf instead of echo -n |
11 |
* remove dyanmically created directories |
12 |
|
13 |
Closes: https://bugs.gentoo.org/651296 |
14 |
Package-Manager: Portage-2.3.24, Repoman-2.3.6 |
15 |
|
16 |
app-emulation/libvirt/files/libvirt-guests.init-r2 | 2 +- |
17 |
.../libvirt/{libvirt-4.1.0-r2.ebuild => libvirt-4.1.0-r3.ebuild} | 4 +--- |
18 |
2 files changed, 2 insertions(+), 4 deletions(-) |
19 |
|
20 |
diff --git a/app-emulation/libvirt/files/libvirt-guests.init-r2 b/app-emulation/libvirt/files/libvirt-guests.init-r2 |
21 |
index 9db6d959fe7..84559189949 100644 |
22 |
--- a/app-emulation/libvirt/files/libvirt-guests.init-r2 |
23 |
+++ b/app-emulation/libvirt/files/libvirt-guests.init-r2 |
24 |
@@ -120,7 +120,7 @@ libvirtd_dom_stop() { |
25 |
if [ "${shutdown_type}" = "shutdown" ]; then |
26 |
counter=$((${counter} - 1)) |
27 |
fi |
28 |
- echo -n "." |
29 |
+ printf "." |
30 |
done |
31 |
|
32 |
if [ "${shutdown_type}" = "shutdown" ]; then |
33 |
|
34 |
diff --git a/app-emulation/libvirt/libvirt-4.1.0-r2.ebuild b/app-emulation/libvirt/libvirt-4.1.0-r3.ebuild |
35 |
similarity index 99% |
36 |
rename from app-emulation/libvirt/libvirt-4.1.0-r2.ebuild |
37 |
rename to app-emulation/libvirt/libvirt-4.1.0-r3.ebuild |
38 |
index f5fdca4ddcd..2b72c57c848 100644 |
39 |
--- a/app-emulation/libvirt/libvirt-4.1.0-r2.ebuild |
40 |
+++ b/app-emulation/libvirt/libvirt-4.1.0-r3.ebuild |
41 |
@@ -338,9 +338,7 @@ src_install() { |
42 |
# Remove bogus, empty directories. They are either not used, or |
43 |
# libvirtd is able to create them on demand |
44 |
rm -rf "${D}"/etc/sysconfig |
45 |
- rm -rf "${D}"/var/cache |
46 |
- rm -rf "${D}"/var/run |
47 |
- rm -rf "${D}"/var/log |
48 |
+ rm -rf "${D}"/var |
49 |
|
50 |
use libvirtd || return 0 |
51 |
# From here, only libvirtd-related instructions, be warned! |