diff options
-rw-r--r-- | app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild | 11 | ||||
-rw-r--r-- | app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild | 11 |
2 files changed, 20 insertions, 2 deletions
diff --git a/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild b/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild index 5a59713f2a67..02e927c472da 100644 --- a/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild +++ b/app-emulation/open-vm-tools/open-vm-tools-11.3.5_p18557794.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools linux-info pam systemd +inherit autotools linux-info pam systemd udev DESCRIPTION="Tools for VMware guests" HOMEPAGE="https://github.com/vmware/open-vm-tools" @@ -104,6 +104,7 @@ src_configure() { $(use_enable vgauth) $(use_with dnet) $(use_with icu) + --with-udev-rules-dir="$(get_udevdir)/rules.d" ) # Avoid a bug in configure.ac use ssl || myeconfargs+=( --without-ssl ) @@ -138,3 +139,11 @@ src_install() { dobin scripts/common/vmware-xdg-detect-de fi } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild b/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild index 81f1a30045a4..29730afa69b4 100644 --- a/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild +++ b/app-emulation/open-vm-tools/open-vm-tools-12.0.5_p19716617.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools linux-info pam systemd +inherit autotools linux-info pam systemd udev DESCRIPTION="Tools for VMware guests" HOMEPAGE="https://github.com/vmware/open-vm-tools" @@ -104,6 +104,7 @@ src_configure() { $(use_enable vgauth) $(use_with dnet) $(use_with icu) + --with-udev-rules-dir="$(get_udevdir)/rules.d" ) # Avoid a bug in configure.ac use ssl || myeconfargs+=( --without-ssl ) @@ -138,3 +139,11 @@ src_install() { dobin scripts/common/vmware-xdg-detect-de fi } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} |