summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-10-26 21:07:12 +0100
committerMichał Górny <mgorny@gentoo.org>2015-10-26 21:07:12 +0100
commit0fac4b1744a85ddc9674d2ff1a2422fc838164de (patch)
tree42d6409c1ae8e922632140aaed8d90acc059de9f /sys-block
parentsys-auth/oath-toolkit: Disable automake portability warnings, bug #545702 (diff)
parentsys-block/open-iscsi: Use doexe instead of juggling with permissions (diff)
downloadgentoo-0fac4b1744a85ddc9674d2ff1a2422fc838164de.tar.gz
gentoo-0fac4b1744a85ddc9674d2ff1a2422fc838164de.tar.bz2
gentoo-0fac4b1744a85ddc9674d2ff1a2422fc838164de.zip
sys-block/open-iscsi: Merge unnecessary udev dep removal
Pull-Request: https://github.com/gentoo/gentoo/pull/209
Diffstat (limited to 'sys-block')
-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