summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2021-03-18 10:41:52 +0100
committerLars Wendler <polynomial-c@gentoo.org>2021-03-18 10:41:52 +0100
commitdbfe85b698bb1cb92d8e29ef3aa43b7d0fa9806a (patch)
treeb01c45831b48e9d85d560cc54b616f7553fe4e19 /sys-block
parentdev-vcs/git: don't search outside of prefix for gettext on Darwin (diff)
downloadgentoo-dbfe85b698bb1cb92d8e29ef3aa43b7d0fa9806a.tar.gz
gentoo-dbfe85b698bb1cb92d8e29ef3aa43b7d0fa9806a.tar.bz2
gentoo-dbfe85b698bb1cb92d8e29ef3aa43b7d0fa9806a.zip
sys-block/open-iscsi: Revbump to install iscsi-init.service as well
Closes: https://bugs.gentoo.org/776568 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-block')
-rw-r--r--sys-block/open-iscsi/open-iscsi-2.1.4-r1.ebuild (renamed from sys-block/open-iscsi/open-iscsi-2.1.4.ebuild)4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-block/open-iscsi/open-iscsi-2.1.4.ebuild b/sys-block/open-iscsi/open-iscsi-2.1.4-r1.ebuild
index cfb0f79f4573..48c3a385ff33 100644
--- a/sys-block/open-iscsi/open-iscsi-2.1.4.ebuild
+++ b/sys-block/open-iscsi/open-iscsi-2.1.4-r1.ebuild
@@ -72,7 +72,7 @@ pkg_setup() {
src_prepare() {
sed -e 's:^\(iscsid.startup\)\s*=.*:\1 = /usr/sbin/iscsid:' \
-i etc/iscsid.conf || die
- sed -e 's@\(/sbin/\)@/usr\1@' \
+ sed -e '/[^usr]\/sbin/s@\(/sbin/\)@/usr\1@' \
-i etc/systemd/iscsi* || die
default
@@ -115,7 +115,7 @@ src_install() {
local unit
local units=(
- iscsi.service
+ iscsi{,-init}.service
iscsid.{service,socket}
iscsiuio.{service,socket}
)