summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2023-02-15 21:22:30 -0500
committerRick Farina <zerochaos@gentoo.org>2023-02-15 21:59:16 -0500
commit6a982e0c8a9ae7f7f9665202da5aea41a7ed4ee2 (patch)
tree7e37ece8a157d6a2f7b1f266540f38fca71dc6e2 /net-wireless/bladerf
parentnet-wireless/bladerf: sync live (diff)
downloadgentoo-6a982e0c8a9ae7f7f9665202da5aea41a7ed4ee2.tar.gz
gentoo-6a982e0c8a9ae7f7f9665202da5aea41a7ed4ee2.tar.bz2
gentoo-6a982e0c8a9ae7f7f9665202da5aea41a7ed4ee2.zip
net-wireless/bladerf: call udev_reload
Fixes: https://bugs.gentoo.org/849449 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless/bladerf')
-rw-r--r--net-wireless/bladerf/bladerf-2021.03.ebuild9
-rw-r--r--net-wireless/bladerf/bladerf-9999.ebuild7
2 files changed, 15 insertions, 1 deletions
diff --git a/net-wireless/bladerf/bladerf-2021.03.ebuild b/net-wireless/bladerf/bladerf-2021.03.ebuild
index d2060e9155f5..d5a00516a8d6 100644
--- a/net-wireless/bladerf/bladerf-2021.03.ebuild
+++ b/net-wireless/bladerf/bladerf-2021.03.ebuild
@@ -29,7 +29,7 @@ else
S="${WORKDIR}/${MY_PN}-${MY_PV}"
SRC_URI="https://github.com/Nuand/${MY_PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz \
https://github.com/analogdevicesinc/no-OS/archive/0bba46e6f6f75785a65d425ece37d0a04daf6157.tar.gz -> analogdevices-no-OS-0bba46.tar.gz"
- KEYWORDS="amd64 ~arm ~riscv x86"
+ KEYWORDS="~amd64 ~arm ~riscv ~x86"
fi
CDEPEND=">=dev-libs/libusb-1.0.16
@@ -59,3 +59,10 @@ src_configure() {
)
cmake_src_configure
}
+
+pkg_postinst() {
+ udev_reload
+}
+pkg_postrm() {
+ udev_reload
+}
diff --git a/net-wireless/bladerf/bladerf-9999.ebuild b/net-wireless/bladerf/bladerf-9999.ebuild
index 727904461985..d5a00516a8d6 100644
--- a/net-wireless/bladerf/bladerf-9999.ebuild
+++ b/net-wireless/bladerf/bladerf-9999.ebuild
@@ -59,3 +59,10 @@ src_configure() {
)
cmake_src_configure
}
+
+pkg_postinst() {
+ udev_reload
+}
+pkg_postrm() {
+ udev_reload
+}