public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-embedded/openocd/
Date: Fri, 12 Aug 2022 20:36:52 +0000 (UTC)	[thread overview]
Message-ID: <1660336594.cfa4333f5a78f9b4462fcd84779b734f261bf3d3.dlan@gentoo> (raw)

commit:     cfa4333f5a78f9b4462fcd84779b734f261bf3d3
Author:     Jannis Achstetter <kripton <AT> kripserver <DOT> net>
AuthorDate: Wed Jun 29 20:09:33 2022 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri Aug 12 20:36:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfa4333f

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 <AT> kripserver.net>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-embedded/openocd/openocd-0.11.0.ebuild | 6 ++++++
 dev-embedded/openocd/openocd-9999.ebuild   | 6 ++++++
 2 files changed, 12 insertions(+)

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
+}


             reply	other threads:[~2022-08-12 20:36 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-12 20:36 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-02-17  2:12 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/openocd/ Yixun Lan
2023-11-14 11:14 Yixun Lan
2023-11-14 11:14 Yixun Lan
2023-06-08 11:23 Viorel Munteanu
2023-04-22 13:14 Viorel Munteanu
2023-04-22 13:02 Sam James
2023-04-22 11:34 Sam James
2023-01-20 11:49 Yixun Lan
2023-01-04  0:38 Yixun Lan
2023-01-04  0:38 Yixun Lan
2022-12-19  1:09 Yixun Lan
2022-04-23 19:44 Sven Wegener
2021-10-27  6:37 Agostino Sarubbo
2021-10-27  6:35 Agostino Sarubbo
2021-03-10  6:08 Yixun Lan
2021-03-10  6:08 Yixun Lan
2021-02-13 10:14 David Seifert
2021-02-12 15:10 Sam James
2021-02-11  9:31 Sam James
2021-02-11  7:54 Sam James
2020-12-28 14:16 David Seifert
2020-12-28 14:16 David Seifert
2020-01-15 21:03 Göktürk Yüksek
2019-09-13 12:58 Michał Górny
2019-08-31 12:16 Sergei Trofimovich
2019-02-18  9:08 Sergei Trofimovich
2019-02-18  9:08 Sergei Trofimovich
2018-05-30 11:31 Jason Zaman
2018-05-29 12:40 Thomas Deutschmann
2017-12-25 19:17 David Seifert
2017-01-24 21:54 Richard Farina
2017-01-24 20:27 Richard Farina
2017-01-24 16:53 Richard Farina
2016-10-30 20:05 Sven Wegener
2016-01-10 11:17 Sven Wegener
2016-01-10  9:31 Sven Wegener
2016-01-10  9:31 Sven Wegener
2016-01-10  9:31 Sven Wegener
2016-01-10  9:31 Sven Wegener

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1660336594.cfa4333f5a78f9b4462fcd84779b734f261bf3d3.dlan@gentoo \
    --to=dlan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox