diff options
author | Jannis Achstetter <kripton@kripserver.net> | 2022-06-29 22:09:33 +0200 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2022-08-13 04:36:34 +0800 |
commit | cfa4333f5a78f9b4462fcd84779b734f261bf3d3 (patch) | |
tree | 09b89ae72588f6ed8742622eb6c4f506e73d63e2 /dev-embedded/openocd | |
parent | sys-cluster/ceph: Update eclass usage in 15.2.17 (bug #851579) (diff) | |
download | gentoo-cfa4333f5a78f9b4462fcd84779b734f261bf3d3.tar.gz gentoo-cfa4333f5a78f9b4462fcd84779b734f261bf3d3.tar.bz2 gentoo-cfa4333f5a78f9b4462fcd84779b734f261bf3d3.zip |
dev-embedded/openocd: Add calls to udev_reload
Closes: https://bugs.gentoo.org/842093
Closes: https://github.com/gentoo/gentoo/pull/26154
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jannis Achstetter <kripton@kripserver.net>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-embedded/openocd')
-rw-r--r-- | dev-embedded/openocd/openocd-0.11.0.ebuild | 6 | ||||
-rw-r--r-- | dev-embedded/openocd/openocd-9999.ebuild | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-embedded/openocd/openocd-0.11.0.ebuild b/dev-embedded/openocd/openocd-0.11.0.ebuild index 1d898dd89d7c..a9c78e5c1ea0 100644 --- a/dev-embedded/openocd/openocd-0.11.0.ebuild +++ b/dev-embedded/openocd/openocd-0.11.0.ebuild @@ -95,5 +95,11 @@ src_install() { } pkg_postinst() { + udev_reload + elog "To access openocd devices as user you must be in the plugdev group" } + +pkg_postrm() { + udev_reload +} diff --git a/dev-embedded/openocd/openocd-9999.ebuild b/dev-embedded/openocd/openocd-9999.ebuild index 4212ec037aeb..569c77f75c26 100644 --- a/dev-embedded/openocd/openocd-9999.ebuild +++ b/dev-embedded/openocd/openocd-9999.ebuild @@ -96,5 +96,11 @@ src_install() { } pkg_postinst() { + udev_reload + elog "To access openocd devices as user you must be in the plugdev group" } + +pkg_postrm() { + udev_reload +} |