1 |
commit: 7f9a51764f45836dd4532ff899684c9a92390a91 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 2 18:46:10 2022 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 2 18:46:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9a5176 |
7 |
|
8 |
sys-block/open-iscsi: fix pkg_postinst |
9 |
|
10 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
11 |
|
12 |
sys-block/open-iscsi/open-iscsi-2.1.7.ebuild | 4 +++- |
13 |
1 file changed, 3 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild b/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild |
16 |
index 08efea3d8711..552d373862e7 100644 |
17 |
--- a/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild |
18 |
+++ b/sys-block/open-iscsi/open-iscsi-2.1.7.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-inherit autotools linux-info flag-o-matic toolchain-funcs systemd |
24 |
+inherit autotools linux-info flag-o-matic toolchain-funcs systemd udev |
25 |
|
26 |
DESCRIPTION="A performant, transport independent, multi-platform implementation of RFC3720" |
27 |
HOMEPAGE="https://www.open-iscsi.com/" |
28 |
@@ -140,4 +140,6 @@ pkg_postinst() { |
29 |
echo "InitiatorName=$(${ROOT}/usr/sbin/iscsi-iname)" |
30 |
} >> "${EROOT}${in}.tmp" && mv -f "${EROOT}${in}.tmp" "${EROOT}${in}" |
31 |
fi |
32 |
+ |
33 |
+ udev_reload |
34 |
} |