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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 286B5158091 for ; Thu, 16 Jun 2022 18:48:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1B855E079E; Thu, 16 Jun 2022 18:48:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 EB94DE079E for ; Thu, 16 Jun 2022 18:48:47 +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 AC8D4341FA5 for ; Thu, 16 Jun 2022 18:48:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BCE06D3 for ; Thu, 16 Jun 2022 18:48:44 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1655405304.2f57f14515301d0d510ee03c44dd296e55e21c24.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/zfs/zfs-2.0.7.ebuild sys-fs/zfs/zfs-2.1.4.ebuild sys-fs/zfs/zfs-9999.ebuild X-VCS-Directories: sys-fs/zfs/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 2f57f14515301d0d510ee03c44dd296e55e21c24 X-VCS-Branch: master Date: Thu, 16 Jun 2022 18:48:44 +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: c846536b-7762-4465-bd5a-7ad575fbc4a7 X-Archives-Hash: 307d6702f81e9826c0dd0f6c110174b7 commit: 2f57f14515301d0d510ee03c44dd296e55e21c24 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Jun 16 18:42:27 2022 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Jun 16 18:48:24 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f57f145 sys-fs/zfs: call udev_reload Closes: https://bugs.gentoo.org/852278 Signed-off-by: Georgy Yakovlev gentoo.org> sys-fs/zfs/zfs-2.0.7.ebuild | 4 ++++ sys-fs/zfs/zfs-2.1.4.ebuild | 4 ++++ sys-fs/zfs/zfs-9999.ebuild | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/sys-fs/zfs/zfs-2.0.7.ebuild b/sys-fs/zfs/zfs-2.0.7.ebuild index e4ff7efbdefa..2a638aee9616 100644 --- a/sys-fs/zfs/zfs-2.0.7.ebuild +++ b/sys-fs/zfs/zfs-2.0.7.ebuild @@ -256,6 +256,8 @@ src_install() { } pkg_postinst() { + udev_reload + # we always need userspace utils in sync with zfs-kmod # so force initrd update for userspace as well, to avoid # situation when zfs-kmod trigger initrd rebuild before @@ -296,6 +298,8 @@ pkg_postinst() { } pkg_postrm() { + udev_reload + if ! use kernel-builtin && [[ ${PV} == "9999" ]]; then remove_moduledb fi diff --git a/sys-fs/zfs/zfs-2.1.4.ebuild b/sys-fs/zfs/zfs-2.1.4.ebuild index 7d1292a10c0a..465412d2cee6 100644 --- a/sys-fs/zfs/zfs-2.1.4.ebuild +++ b/sys-fs/zfs/zfs-2.1.4.ebuild @@ -252,6 +252,8 @@ src_install() { } pkg_postinst() { + udev_reload + # we always need userspace utils in sync with zfs-kmod # so force initrd update for userspace as well, to avoid # situation when zfs-kmod trigger initrd rebuild before @@ -294,6 +296,8 @@ pkg_postinst() { } pkg_postrm() { + udev_reload + if ! use kernel-builtin && [[ ${PV} == "9999" ]]; then remove_moduledb fi diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild index cd2bdc26966b..f1c3853425c4 100644 --- a/sys-fs/zfs/zfs-9999.ebuild +++ b/sys-fs/zfs/zfs-9999.ebuild @@ -251,6 +251,8 @@ src_install() { } pkg_postinst() { + udev_reload + # we always need userspace utils in sync with zfs-kmod # so force initrd update for userspace as well, to avoid # situation when zfs-kmod trigger initrd rebuild before @@ -293,6 +295,8 @@ pkg_postinst() { } pkg_postrm() { + udev_reload + if ! use kernel-builtin && [[ ${PV} == "9999" ]]; then remove_moduledb fi