summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-08-19 07:33:41 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-08-19 07:33:41 +0200
commitd802c67464f27d5254cd5919a80f6efd44f532c3 (patch)
tree9f4aa09119b2fb74b0b5a0a44aa7d33ed1a941b6 /net-libs/libiio
parentdev-python/hatch-fancy-pypi-readme: Keyword 22.3.0 ppc64, #865739 (diff)
downloadgentoo-d802c67464f27d5254cd5919a80f6efd44f532c3.tar.gz
gentoo-d802c67464f27d5254cd5919a80f6efd44f532c3.tar.bz2
gentoo-d802c67464f27d5254cd5919a80f6efd44f532c3.zip
net-libs/libiio: call udev_reload
Closes: https://bugs.gentoo.org/848924 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'net-libs/libiio')
-rw-r--r--net-libs/libiio/libiio-0.21.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/net-libs/libiio/libiio-0.21.ebuild b/net-libs/libiio/libiio-0.21.ebuild
index 9e0145ed05ba..8c0f8320c620 100644
--- a/net-libs/libiio/libiio-0.21.ebuild
+++ b/net-libs/libiio/libiio-0.21.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-inherit cmake
+inherit cmake udev
DESCRIPTION="Library for interfacing with IIO devices"
HOMEPAGE="https://github.com/analogdevicesinc/libiio"
@@ -24,3 +24,11 @@ RDEPEND="dev-libs/libxml2:=
aio? ( dev-libs/libaio )
zeroconf? ( net-dns/avahi )"
DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ udev_reload
+}
+
+pkg_postrm() {
+ udev_reload
+}