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 7343815800F for ; Wed, 1 Feb 2023 15:11:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 957D1E0CBC; Wed, 1 Feb 2023 15:11:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 72EBCE0CBC for ; Wed, 1 Feb 2023 15:11:06 +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 61410335DB8 for ; Wed, 1 Feb 2023 15:11:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E9F20771 for ; Wed, 1 Feb 2023 15:11:02 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1675264259.05bbec84cc85a2ef5e761b104440b83ac5d32046.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/vhba/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/vhba/vhba-20211218.ebuild X-VCS-Directories: sys-fs/vhba/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 05bbec84cc85a2ef5e761b104440b83ac5d32046 X-VCS-Branch: master Date: Wed, 1 Feb 2023 15:11:02 +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: 8e3b7928-9dea-4adb-b2b8-69387f5da7de X-Archives-Hash: 0a93a10b367c4db10936c9cf68f2257a commit: 05bbec84cc85a2ef5e761b104440b83ac5d32046 Author: Michał Górny gentoo org> AuthorDate: Wed Feb 1 15:10:01 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Feb 1 15:10:59 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05bbec84 sys-fs/vhba: Call udev_reload Closes: https://bugs.gentoo.org/852275 Signed-off-by: Michał Górny gentoo.org> sys-fs/vhba/vhba-20211218.ebuild | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/sys-fs/vhba/vhba-20211218.ebuild b/sys-fs/vhba/vhba-20211218.ebuild index 3261cbfecf35..6b51dc2b402e 100644 --- a/sys-fs/vhba/vhba-20211218.ebuild +++ b/sys-fs/vhba/vhba-20211218.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -14,11 +14,14 @@ S=${WORKDIR}/${MY_P} LICENSE="GPL-2+" SLOT="0" KEYWORDS="amd64 x86" -IUSE="" -RDEPEND="virtual/udev" -DEPEND="${RDEPEND} - virtual/pkgconfig" +RDEPEND=" + virtual/udev +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" MODULE_NAMES="vhba(block:${S})" BUILD_TARGETS=modules @@ -33,7 +36,6 @@ pkg_setup() { src_prepare() { # Avoid -Werror problems sed -i -e '/ccflags/s/-Werror/-Wall/' Makefile || die "sed failed" - eapply_user } @@ -48,3 +50,11 @@ src_install() { KERNEL=="vhba_ctl", SUBSYSTEM=="misc", TAG+="uaccess" EOF } + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +}