Skip to content

Commit

Permalink
sys-block/open-iscsi: use the udev eclass to install rules
Browse files Browse the repository at this point in the history
  • Loading branch information
vapier committed Dec 18, 2015
1 parent 121f3d2 commit 8a3491d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sys-block/open-iscsi/open-iscsi-2.0.873-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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 "-")"

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 8a3491d

Please sign in to comment.