commit:     7f9a51764f45836dd4532ff899684c9a92390a91
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 18:46:10 2022 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 18:46:16 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9a5176

sys-block/open-iscsi: fix pkg_postinst

Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sys-block/open-iscsi/open-iscsi-2.1.7.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild 
b/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild
index 08efea3d8711..552d373862e7 100644
--- a/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools linux-info flag-o-matic toolchain-funcs systemd
+inherit autotools linux-info flag-o-matic toolchain-funcs systemd udev
 
 DESCRIPTION="A performant, transport independent, multi-platform 
implementation of RFC3720"
 HOMEPAGE="https://www.open-iscsi.com/";
@@ -140,4 +140,6 @@ pkg_postinst() {
                  echo "InitiatorName=$(${ROOT}/usr/sbin/iscsi-iname)"
                } >> "${EROOT}${in}.tmp" && mv -f "${EROOT}${in}.tmp" 
"${EROOT}${in}"
        fi
+
+       udev_reload
 }

Reply via email to