summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild
index 72a208171dbf..76111ca1ec77 100644
--- a/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit versionator linux-info eutils flag-o-matic toolchain-funcs
+inherit versionator linux-info eutils flag-o-matic toolchain-funcs udev
MY_P="${PN}-$(replace_version_separator 2 "-")"
@@ -84,8 +84,7 @@ src_install() {
newins "${FILESDIR}"/initiatorname.iscsi initiatorname.iscsi.example
# udev pieces
- insinto /lib/udev/rules.d
- doins "${FILESDIR}"/99-iscsi.rules
+ udev_dorules "${FILESDIR}"/99-iscsi.rules
exeinto /etc/udev/scripts
doexe "${FILESDIR}"/iscsidev.sh