mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 10:37:22 -08:00
app-emulation/open-vm-tools: ask to remove old x11-drivers/xf86-video-vmware driver
After upgrading to Mesa 25.2 and up, the old vmware video driver could still be installed in the system, and it won't allow to use the modesetting video driver. Signed-off-by: Cristian Othón Martínez Vera <cfuga@cfuga.mx> Part-of: https://github.com/gentoo/gentoo/pull/44920 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -159,6 +159,10 @@ src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then
|
||||
elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
@@ -160,6 +160,10 @@ src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then
|
||||
elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
@@ -157,6 +157,10 @@ src_install() {
|
||||
|
||||
pkg_postinst() {
|
||||
udev_reload
|
||||
|
||||
if has_version ">=media-libs/mesa-25.2" && has_version "x11-drivers/xf86-video-vmare"; then
|
||||
elog "You need to remove x11-drivers/xf86-video-vmware to use the modesetting video driver."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
|
||||
Reference in New Issue
Block a user