summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-block/open-iscsi/open-iscsi-2.0.873.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild
index 34b33e3ee4d8..53bf0ef9fb62 100644
--- a/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.0.873.ebuild
@@ -19,7 +19,6 @@ IUSE="debug slp"
DEPEND="slp? ( net-libs/openslp )"
RDEPEND="${DEPEND}
- virtual/udev
sys-fs/lsscsi
sys-apps/util-linux"
@@ -79,13 +78,12 @@ src_install() {
insinto /etc/iscsi
newins "${FILESDIR}"/initiatorname.iscsi initiatorname.iscsi.example
+
# udev pieces
insinto /lib/udev/rules.d
doins "${FILESDIR}"/99-iscsi.rules
- insopts -m0755
- insinto /etc/udev/scripts
- doins "${FILESDIR}"/iscsidev.sh
- insopts -m0644
+ exeinto /etc/udev/scripts
+ doexe "${FILESDIR}"/iscsidev.sh
newconfd "${FILESDIR}"/iscsid-conf.d iscsid
newinitd "${FILESDIR}"/iscsid-init.d iscsid