app-emulation/xen-tools: backport QA fixes
authorTomas Mozes <hydrapolic@gmail.com>
Fri, 15 Feb 2019 09:41:19 +0000 (10:41 +0100)
committerYixun Lan <dlan@gentoo.org>
Sat, 16 Feb 2019 13:59:02 +0000 (21:59 +0800)
Closes: https://github.com/gentoo/gentoo/pull/11057

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
app-emulation/xen-tools/xen-tools-4.11.1.ebuild

index fe149384f1b906658f77955dc51ae228d7582dac..2b0aeec7f834378b547c2e79f89159e877c7b01e 100644 (file)
@@ -439,6 +439,11 @@ src_install() {
        # Remove files failing QA AFTER emake installs them, avoiding seeking absent files
        find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
                -o -name openbios-ppc -o -name palcode-clipper \) -delete || die
+
+       keepdir /var/lib/xen/dump
+       keepdir /var/lib/xen/xenpaging
+       keepdir /var/lib/xenstored
+       keepdir /var/log/xen
 }
 
 pkg_postinst() {
@@ -446,7 +451,7 @@ pkg_postinst() {
        elog "https://wiki.gentoo.org/wiki/Xen"
        elog "https://wiki.xen.org/wiki/Main_Page"
        elog ""
-       elog "Recommended to utilise the xencommons script to config sytem At boot"
+       elog "Recommended to utilise the xencommons script to config system at boot"
        elog "Add by use of rc-update on completion of the install"
 
        if ! use hvm; then