summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-12-17 18:59:13 -0500
committerMike Frysinger <vapier@gentoo.org>2015-12-17 19:00:05 -0500
commit8a3491de329b28c32c386326d06913758bea692a (patch)
tree0b1f565ca05cbfe1c167643d3304227240a72a98 /sys-block
parentsys-block/open-iscsi: build with LFS flags (diff)
downloadgentoo-8a3491de329b28c32c386326d06913758bea692a.tar.gz
gentoo-8a3491de329b28c32c386326d06913758bea692a.tar.bz2
gentoo-8a3491de329b28c32c386326d06913758bea692a.zip
sys-block/open-iscsi: use the udev eclass to install rules
Diffstat (limited to 'sys-block')
-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