From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1DA0315802F for ; Wed, 29 Mar 2023 14:03:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 344AC2BC005; Wed, 29 Mar 2023 14:03:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A3662BC005 for ; Wed, 29 Mar 2023 14:03:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7B0C34069F for ; Wed, 29 Mar 2023 14:03:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 258539C9 for ; Wed, 29 Mar 2023 14:03:17 +0000 (UTC) From: "Michael Egger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Egger" Message-ID: <1680098511.c7a07a5a91b21e72e7781d32ff0fac7012490378.MichaelEgger@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-p2p/trezord-go/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild net-p2p/trezord-go/trezord-go-2.0.32.ebuild X-VCS-Directories: net-p2p/trezord-go/ X-VCS-Committer: MichaelEgger X-VCS-Committer-Name: Michael Egger X-VCS-Revision: c7a07a5a91b21e72e7781d32ff0fac7012490378 X-VCS-Branch: dev Date: Wed, 29 Mar 2023 14:03:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5190d9a3-cb4e-44f4-953c-68dc75e4292e X-Archives-Hash: ea791cf390623bf5cbd3677222816c19 commit: c7a07a5a91b21e72e7781d32ff0fac7012490378 Author: Michael Egger protonmail com> AuthorDate: Wed Mar 29 14:01:51 2023 +0000 Commit: Michael Egger tsn at> CommitDate: Wed Mar 29 14:01:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7a07a5a net-p2p/trezord-go: call udev_reload in pkg_postinst and pkg_postrm Closes: https://bugs.gentoo.org/843002 Signed-off-by: Michael Egger protonmail.com> .../{trezord-go-2.0.32.ebuild => trezord-go-2.0.32-r1.ebuild} | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net-p2p/trezord-go/trezord-go-2.0.32.ebuild b/net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild similarity index 94% rename from net-p2p/trezord-go/trezord-go-2.0.32.ebuild rename to net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild index ef67cdbb0..59e351172 100644 --- a/net-p2p/trezord-go/trezord-go-2.0.32.ebuild +++ b/net-p2p/trezord-go/trezord-go-2.0.32-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit go-module systemd udev @@ -63,3 +63,11 @@ src_install() { use systemd && systemd_dounit release/linux/trezord.service use udev && udev_dorules release/linux/trezor.rules } + +pkg_postinst() { + use udev && udev_reload +} + +pkg_postrm() { + use udev && udev_reload +}