summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-31 19:20:59 +0000
committerSam James <sam@gentoo.org>2021-10-31 19:20:59 +0000
commite248001f442fee25f45aa164c0da1cd41b41e882 (patch)
tree8686f1a0a7994586ab17f2241c3f4e5958fca18c /app-emulation
parentsys-libs/glibc: mention collision-protect issue (diff)
downloadgentoo-e248001f442fee25f45aa164c0da1cd41b41e882.tar.gz
gentoo-e248001f442fee25f45aa164c0da1cd41b41e882.tar.bz2
gentoo-e248001f442fee25f45aa164c0da1cd41b41e882.zip
app-emulation/libguestfs: note that guestfs-tools is now needed for tools
Always show the message rather than conditionally. Bug: https://bugs.gentoo.org/789354 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/libguestfs/libguestfs-1.46.0-r2.ebuild (renamed from app-emulation/libguestfs/libguestfs-1.46.0-r1.ebuild)14
1 files changed, 1 insertions, 13 deletions
diff --git a/app-emulation/libguestfs/libguestfs-1.46.0-r1.ebuild b/app-emulation/libguestfs/libguestfs-1.46.0-r2.ebuild
index 657c5c210588..fafb279fa648 100644
--- a/app-emulation/libguestfs/libguestfs-1.46.0-r1.ebuild
+++ b/app-emulation/libguestfs/libguestfs-1.46.0-r2.ebuild
@@ -195,16 +195,6 @@ src_install() {
fi
}
-pkg_preinst() {
- local libguestfs_depstring="<app-emulation/libguestfs-1.46.0-r1"
-
- # Did we have a version of libguestfs before the split into guestfs-tools?
- # (libguestfs used to install the tools too)
- if has_version "${libguestfs_depstring}[ocaml]" || has_version "${libguestfs_depstring}[perl]" ; then
- HAD_LIBGUESTFS_WITH_TOOLS=1
- fi
-}
-
pkg_postinst() {
einfo "Please ensure you are in the 'kvm' group for decent performance!"
@@ -212,7 +202,5 @@ pkg_postinst() {
einfo "virt-p2v NOT installed"
fi
- if [[ ${HAD_LIBGUESTFS_WITH_TOOLS} -eq 1 ]] ; then
- ewarn "libguestfs' tools are now packaged as app-emulation/guestfs-tools from 1.46.0 onwards!"
- fi
+ einfo "Note that common tools like virt-resize are now part of app-emulation/guestfs-tools"
}